Questions about how to run a program or other operating system function when a given combination of keys is pressed.

learn more… | top users | synonyms (1)

2
votes
0answers
1k views

How to write dconf overrides for site-custom keybindings?

I want to add custom keybindings using dconf. Previously, I had do the same job using gconf and succeeded. However, there are some problems using dconf. (I'm working on a Debian package, so ...
2
votes
3answers
692 views

tcsh shortcut to move the cursor back to previous space

I'm looking for a keyboard shortcut in tcsh to move the cursor back to the previous blank: not ESC+B which takes me back one word (for instance, in a path argument, to the previous path component) - I ...
1
vote
0answers
414 views

Turning off gnome's Function key mapping

I recently upgraded to Fedora 18 with gnome. My function keys started to do things like open the cd player (F12) and turn the volume up (F11) and down (F10). I'd like to just pass those though to the ...
1
vote
1answer
161 views

xmodmap causes incorrect keyboard shortcuts

I used xmodmap to switch the Caps Lock and Ctrl keys on my Thinkpad X120e. The keys are swapped but this has caused keyboard shortcuts in several applications to stop working correctly. In Libre ...
6
votes
3answers
460 views

How to save current command on zsh? [duplicate]

I am typing a command, I remember I have to check something, if I press Ctrl+U the command disappears and I can type something else, but then the command I was typing is not in the history. Is there ...
5
votes
2answers
112 views

Keyboard combination to insert non keyboard characters

on windows one could with Alt+235 print ë into (any) textfield. I tried the same on linux and it seems to be not working. Depending on the application the result is different, but never the wanted ...
0
votes
1answer
337 views

How to map terminal shortcut from CTRL-M to another combination

I read in another post that you can type CtrlJ or CtrlM instead of the Return key in the terminal, which is great. But what I want to be able to do, is change that to another combination, for example: ...
1
vote
1answer
152 views

What program or feature is overriding my “Unity style” keyboard shortcuts in DockbarX?

I have DockbarX installed with the option "Use Unity style shortcuts (Super+number)" enabled. Recently I am unable to activate the 2nd application with Super+Shift+2 (I'm on azerty). When I use that ...
18
votes
3answers
9k views

Ctrl-s hang terminal emulator?

I came across a sentence in vimdoc: Note: CTRL-S does not work on all terminals and might block further input, use CTRL-Q to get going again. and this key indeed hangs my vim. I was ...
0
votes
1answer
55 views

Need to reset the Keyboard shortcuts defined

I bound some keys by mistake, and they don't work any more, such as HOME, END, UP, DOWN, LEFT, RIGHT. Is there a way to reset all the bound keys to their original state? I know this might be ...
1
vote
1answer
237 views

How to set up keyboard shortuts with custom modifiers (like Mod3) in Cinnamon?

I'm trying to migrate from Mate into Cinnamon. In Mate, it was possible to assign custom modifiers to Switch to workspace on the left of the current workspace. In Cinnamon keyboard configuration ...
2
votes
1answer
551 views

Multimedia keys (Fn+[F1..F12]) don't work anymore after upgrade

I'm experiencing a strange issue with the multimedia keys on Archlinux with XFCE 4. I used to change the sound level with FnF11/F12 keys but after a reboot, I'm not able to use it anymore. Moreover, ...
1
vote
2answers
363 views

Shortcuts in Xfce are not working anymore

After few weeks of using Xfce I suddenly ran into following problem - my keyboard shortcuts are not working when I am using two monitors (actually one monitor and notebook itself). When I unplug ...
1
vote
2answers
412 views

Mapping intr to del key

I am in the process of migrating a legacy 4GL application from SCO OpenServer 5.0.7 to CentOS (Red Hat) Linux 5.9. There are a number of screens that prompt the user to press "DEL to ABORT" but is ...
0
votes
1answer
76 views

Sawfish and fvwm bindings not working when logging in with a display manager

On one machine running Debian squeeze, when I log in with a display manager (I tried xdm, gdm or kdm), none of my Sawfish key or mouse bindings have any effect. If I log in in text mode then run ...
1
vote
2answers
658 views

XFCE4 Open PanelMenu via shortcut

I want open the XFCE4-Menu via a keyboard shortcut. I tried to map the command xfce4-popup-menu, but got the error: Failed to execute child process xfce4-popup-menu Then I tried ...
0
votes
1answer
171 views

Is it possible to bind a shell script to a key press [duplicate]

I used xev to find the key code for fn-f5 and came up with a little script to toggle the bluetooth on or off. My question is whether it's possible to bind fn-f5 (keycode 246) to my shell script ...
6
votes
3answers
5k views

Switch between tabs in gnome-terminal with keyboard?

Once I've created a new tab in gnome-terminal with Ctrl+Shift+t, how can I switch back and forth between the tabs using the keyboard? For example, in Google Chrome the keyboard shortcut is Ctrl+Tab ...
4
votes
2answers
94 views

Where does the yanked text on commadline get stored?

When you delete characters on the command line using readline commands (e.g. Ctrl-U, you can paste using Ctrl-y, but where does it get stored? It does not seem to use X11 clipboard at all.
3
votes
1answer
128 views

Bind to execute command with last argument of previous command

I want to create a bind that executes g++ !$ in the same way that the shell would interpret it if I just typed it. I tried: bind '"\ee": "g++ !$"', but it doesn't execute command (just "pastes" it) ...
4
votes
1answer
3k views

Delete key doesn't work on command line

*Note: I asked this same question on SuperUser, but didn't get any response. I now realize this is a more appropriate forum for this particular question. In a ksh shell, the Delete key doesn't work ...
4
votes
1answer
341 views

Map Super+[Left|Right] to Home/End

How do I map key "Super" so, when combined with Left/Right, it produces keycode Home/End? My current setxkbmap: setxkbmap \ -model pc105 \ -layout 'us(dvorak-intl),us(alt-intl)' \ -option \ ...
1
vote
1answer
868 views

debian/XFCE Virtualbox Guest on a Mac: how to use home and end keys?

So I have a Mac, and rather than boot debian/XFCE directly and have to configure hardware drivers I'm using VirtualBox. This means that my multitouch trackpad works well, and I can jump in and out of ...
7
votes
1answer
6k views

How to close any window in Awesome WM?

The shortcut to close individual applications completely depends on the application developer. Some examples: Ctrl-q for Firefox Meta-F4 for Chromium Ctrl-Shift-q for GNOME Shell To close ...
7
votes
2answers
481 views

Program to show keystrokes (shortcuts) on display

I'm going to make a presentation about a software product and it has some key shortcuts, that I want to show. Is there a program, which displays the keyboard-shortcuts, that I have used?
5
votes
2answers
195 views

How to consistently start Vim's command line to make a mapping work in any mode?

I try to normalize access to Vim's command line mode from any other mode in order to simplify my actual mappings. For example to make the <f6> key work from anywhere I define the following ...
6
votes
1answer
290 views

How to change Vim's command type mode programmatically?

Is there a simple way to switch from one command type mode to another without loosing the current command line? In my ~/.vimrc file I remap the <space> and <c-space> character, coming ...
17
votes
5answers
9k views

How to scroll in a terminal using keyboard?

How can I scroll in bash using only the keyboard? If it's not possible in bash, are there any other shells that support this?
3
votes
1answer
825 views

Control-q-? key binding in Awesome WM

I wish to configure my Awesome Window Manager so that the keyboard shortcuts begin with ctrlq. ctrlq-x, ctrlq-y, ctrlq-z, and so on... I've attempted to modify the /etc/xdg/awesome/rc.lua config ...
1
vote
1answer
773 views

CentOS: Avoid that ALT-F4 switches to console

At least every Linux system that I worked with used the convention to switch to the non-graphical consoles by Ctrl-Alt-F1, Ctrl-Alt-F2 and so on. Recently, I installed CentOS 6.3 on a machine. The ...
0
votes
0answers
3k views

I can't open the terminal in Cinnamon

I have Linux Mint 13 with Cinnamon installed, but I can't open a terminal using right click nor using CtlrAltt this is just an issue with Cinnamon, why is that happening? Update I tried to solve the ...
1
vote
0answers
3k views

Shortcut to minimize all windows?

In Windows systems, I use the keyboard shortcut Start-D (show desktop) a lot. I'm using Linux Mint, and I wonder: Can I create a keyboard shortcut that will do the same? edit after the comment from ...
1
vote
0answers
543 views

Remapping gnome-terminal shortcut keys [closed]

According to the Gnome-Termianl Usage, I found that ctrl+shift+up/down can scroll up/down a line in the terminal. Now, I want to re-map the shortcut key, just like: alt+j/k to scroll up/down a line, ...
3
votes
1answer
393 views

Have Sun keyboard moon key (116) not shut down my computer

On my Sun keyboard, the top-rightmost key (with a moon image, right above the keypad) shuts down my computer. I'd like it not to, as I hit it by mistake now and then. In /etc/default/keyboard, I only ...
2
votes
3answers
1k views

Ctrl + left/right arrow keys issue

After the last system update the ctrl + left/right arrow command on zsh terminal doesn't do anything. Also ctrl+ u has something wrong because usually that command erase from the cursor to the ...
1
vote
1answer
260 views

Reassigning Ctrl + Arrow keys in Vim [duplicate]

Possible Duplicate: How to fix Ctrl + arrows in Vim? Through the several tutorials and tips and tricks site about Vim, I think I happened to read that one can reassign a combination of keys ...
2
votes
1answer
61 views

Is it possible to bind '2M' to a single key in w3m?

Pressing M in w3m launches the 1st external browser, 2M the second. While it is easy to bind the built-in command EXTERN to another key, is it possible to bind the second to another key?
2
votes
2answers
776 views

Tmux Terminfo problem with Zsh key bindings

Zsh in Emacs edit mode comes with the default key binding ALT + Backspace to delete a word on the right side of the cursor and ALT + D to delete a word on the left side. I would like to add the latter ...
8
votes
4answers
5k views

Reload of tmux config not unbinding keys (bind-key is cumulative)

I've been experimenting with different tmux keybinding settings and I've noticed the following: If I reload my tmux config (from within tmux) the keybindings I once had loaded will remain loaded. The ...
3
votes
3answers
196 views

Replacement shortcuts for `screen` [closed]

Screen uses the shortcut CtrlA to activate. I find that this interferes with the Bash command for jumping to the start of the line, and the VIM command for incrementing an integer. Certainly I could ...
1
vote
2answers
624 views

Linux guest VM on mac host - Keyboard

I use a Mac as a development box, but am slowly transitioning to Linux. So I am spending the majority of my time in the Linux guest VM while working. But I still spend a fair amount of time in Mac ...
0
votes
1answer
129 views

Can Bash Emacs shortcuts be enabled over SSH?

I find Bash keyboard shortcuts such as Ctrl-a (jump to start of line), Ctrl-k (cut text following caret), Ctrl-n/Ctrl-p (next/previous line in command history) immeasurably useful in day-to-day CLI ...
1
vote
1answer
588 views

Linux Mint 13 Xfce - Use Super_L in multiple shortcuts

I'm using the XfApplet for integrating the mintMenu into my Mint Xfce installation. As shortcut I defined Super_L which works fine. Additionally I want to define a shortcut <Super_L>r to execute ...
1
vote
1answer
379 views

Fedora 17 doesn't detect some key-presses

About 1 week ago, I installed MATE desktop (Gnome2 fork) because I wanted to use XMonad in gnome. So I am pretty sure this problem has something to do with MATE. My keyboard is just a basic HP ...
2
votes
2answers
171 views

Bind MetaL in icewm

Anybody managed to bind the Windows key in IceWM ? It seems I can't bind it to anything since I disabled the "treat as Ctrl+Alt" option. # Treat Super/Win modifier as Ctrl+Alt # ModSuperIsCtrlAlt=1 ...
1
vote
1answer
171 views

Binding additional keyboard shortcuts in bash

I like typical GUI shortcuts: Ctrl-Backspace Ctrl-Del And other typical shortcuts. Are there any ready .bashrc with all this shortcuts available?
2
votes
0answers
244 views

Can't use Control key while setting shortcut keys for compiz

I might got a problem along with my Xorg config, all control keys are now shown as <Primary>, what is that? I just mapped Capslock to Left Control, and I can't set the shortcut key to Control + ...
4
votes
2answers
2k views

How do I resize the active window to 50% with wmctrl?

I would like to resize the window to the left half of the screen. A solution to achieve that would be to use wmctrl and keybind the right command to a keyboard shortcut. But the manpage only shows ...
1
vote
1answer
190 views

map “Ñ” to “:” in vim

I want map the key Ñ (Shift+ñ) to : in the normal mode of vim. I've searched vim configs with Ntilde but I've found nothing. Any idea?.
7
votes
2answers
3k views

Byobu with tmux, how to use F-Keys

I'm accessing a linux box with Byobu enabled (with tmux) and I don't seem to be able to use some F-Keys without being binded to Byobu. For example using F6 to sort on htop. I followed this advice, but ...