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 (2)

1
vote
1answer
69 views

How to map extended buttons on mouse?

I am trying to follow this guide to using a Logitech G600. I have (using a windows computer) mapped each key combo on the mouse to something on a normal keyboard. I have set up some rules in ...
1
vote
0answers
52 views

Make a key act as a modifier when combined with another key

I want to achieve the following effect: [ Key1 pressed & held, then Key2 pressed & released, then Key1 released ] acts as [ Ctrl + Key2 ] but Key1 pressed and released act as Key1 So, for ...
1
vote
0answers
61 views

Escape the influence of flash elements in webpage using keyboard

When watching a flash video in a browser (a youtube video in iceweasel, for example) if I interact with the flash element with a mouse, click to play or pause or something, the flash element seems to ...
2
votes
0answers
169 views

Enable Alt+Ctrl+t to open a terminal in LXDE

How can I enable shortcut Alt + Ctrl + T to open terminal on Debian, LXDE? I found that this is possible to define in rc.xml file. In LXDE webpage I found message: How do I define LXDE settings ...
2
votes
0answers
60 views

Fedora 20 KDE: shortcut for airplane mode

is there a possiblity to have a Keyboard shortcut (e. g. fn + f10) for the airplane mode (Switch off all wifi Connections) under KDE (Fedora 20)?
2
votes
0answers
40 views

KeePassX Global Autotype corrupting keys when used with VMware

I'm running VMWare Workstation on Arch Linux with KeePassX set to use ALT + "A" as a global auto-type keybinding. Prior to running VMware, KeePassX works great. When VMware releases the keyboard from ...
1
vote
1answer
28 views

MC 4.8.13 uses Ctrl-Backspace for directory hotlist

I just built GNU Midnight Commander 4.8.13 from source and the directory hotlist is now invoked with CtrlBackspace instead of Ctrl\. This is a PITA since it seems to not be passed through via ssh -- ...
5
votes
1answer
206 views

emulate key-combination with xdotool

I am using Xephyr as a nested X server. When I am in Xephyr window and pres the key combination Control_L+Shift_L, Xephyr grabs my input (mouse, keyboard). This grab can be released with ...
1
vote
0answers
22 views

Assign hotkey to single keyboard layout in LXDE

Well, the question is following: can I assign separate keyboard shortcut to every layout I have? Exactly like in Windows we can assign Ctrl-1, Ctrl-2 and so on, to any layout.Question appeared after ...
1
vote
0answers
63 views

Keyboard shortcut with Shift in Mate

I installed Fedora 21 with Mate. When I tried to bind the hotkey Ctrl+Alt+Shift+Up (for moving a window to some desktop), it tells me that I am already using Ctrl+Alt+Up for switching. I can't ...
2
votes
2answers
60 views

Disable keycode printing in urxvt

When I press alt + left arrow, Urxvt prints [D, or alt + up arrow prints [A. Is there a way to disable this behavior so that urxvt just does nothing?
3
votes
1answer
52 views

Awesome window manager stops recognizing shortcuts

I recently started using Awesome (the X windows manager) in my Ubuntu. It is awesome! But some times (once a day max) it kinda crashes — or at least stop accepting shortcuts input. I get stuck on the ...
5
votes
1answer
101 views

Remap Return key in terminal to prevent accidental command on productions servers

I am looking for a way to remap the key for executing commands in terminal (I am using bash) to prevent accidental commands on productions servers. Return should be disabled. I tried the following ...
2
votes
2answers
124 views

Exit from less by pressing ESC key

Can I setup less program to exit from it by pressing ESC key?
4
votes
3answers
167 views

Bash, insert last used argument of current command

I'm aware that you can recall the last argument of the previous command with !$ and also cycle through previous arguments with ALT + . but can you recall the last argument used for the current command ...
1
vote
0answers
46 views

Can I exclude some key bindings in VirtualBox?

I am running Ubuntu 14.10 as my host system. Then I have Virtualbox with Windows 8.1 as guest OS. I am using workspaces in Ubuntu and I want to run Virtualbox in fullscreen in one workspace and at the ...
0
votes
1answer
24 views

fluxbox: how to disable raise (ALT+Down/Up)

I am using fluxbox and would like to disable Alt+Down and Alt+Up when I am inside a specific application. How can I do it?
2
votes
0answers
39 views

X11: disable Shift+NumpadN outputing N when NumLock is off to have Shift+NumpadHome

I’m using GNOME 3.14.3 on ArchLinux. If I press Shift+Home (regular Home) while the cursor is placed at the end of a line, the line gets selected. That’s expected. If I press just the regular Home, ...
4
votes
2answers
92 views

Deleting input forward to the next space

When in terminal I can use Ctrl+w to delete a whole word or IP (. is separator for each octet) when going leftward of prompt. However, if I try Alt+d to go rightward of prompt, terminal recognizes "." ...
2
votes
0answers
31 views

How to map PowerOff button as End on XWindows?

I have this unfortunate PowerOff button on my laptop situated in the place of the End key: I already have a way to disable the PowerOff handler triggered by the OS (Ubuntu 14.04 in my case). Now I ...
1
vote
1answer
43 views

Hotkey for doing sudo suggestions

On Ubuntu and Debian, often if I try to run a program I will get a message that says something to the effect of: You don't have that program. To get it type sudo -apt -get -install programName ...
3
votes
0answers
80 views

Custom key combinations in dwm

I have some custom key combinations in config.h, which work great. I just got a 60% keyboard, and would like to configure the arrow keys to work Vim-like ¨hjkl¨, instead of the combination with FN + ...
0
votes
0answers
23 views

Keyboard Shortcut for Applications Menu Extension Possible?

I am new to linux, Ubuntu, and GNOME. I am running Ubuntu GNOME 14.04 which comes with GNOME 3.10. I am using the Applications Menu extension from gnome-look.org. I would like to create a keyboard ...
1
vote
0answers
34 views

Remap or unmap F10 from triggering window file menu in Xfce

By default F10 on Xfce activates the menu File menu and so cannot be used as a shortcut in any program. I already looked in the Window Manager and Keyboard settings pages and no F10 key binding is ...
0
votes
0answers
49 views

Switch between tabs command

By mistake I may have deleted the Switch between tabs shortcut, now I want to add it as a custom shortcut but I can't find the command to add. How do I add it back? I'm using kali Linux and I'm ...
1
vote
0answers
113 views

Start command and stop command in terminal on keyboard (hotkey) shortcut press?

I have seen How to execute a script in shell when a shortcut key is pressed, but that is not what I want. If you have used recordmydesktop, you may have noticed the following in its manual: After ...
2
votes
1answer
103 views

Disable or remove default vim keybinding

Is there a way to disable or remove a default vim keybinding? For example, if I wanted <S-k> (shift-k) to do nothing, how would I achieve this?
0
votes
3answers
85 views

Tilde on unix:hpux and / or solaris

On Linux press F9 return a correct ~ On unix(solaris or hpux) return 0~ How to set correct tilde on those systems?
3
votes
1answer
46 views

Can I remap SHIFT+CAPS LOCK in a virtual terminal?

I recently acquired an old netbook which has no backslash/pipe key. I have successfully remapped the caps lock to backslash using loadkeys. I would like to map SHIFT+CAPS LOCK to the pipe key in a ...
1
vote
1answer
71 views

Vi keys in Xpdf?

The Xpdf man page says that it can be customized to work with Vi style keybindings: Previous versions of xpdf included a "viKeys" X resource. It is no longer available, but the following ...
3
votes
2answers
260 views

Why is the shortcut Ctrl + A jumping to the start of a line in the terminal?

Like jumping to the end of a line is Ctrl+E, where E can be thought of as end, why does it jump to the start using A?
1
vote
1answer
53 views

How remap my CapsLock key to work as if it was a Return key using setxkbmap?

I tried several things: setxkbmap -option caps: return setxkbmap -option caps: enter I also tried to modify the file /usr/share/X11/xkb/symbols/pc by: "Key <CAPS> {[Enter]};" But nothing ...
1
vote
1answer
70 views

using script function rather than keyboard input

I'm writing a shell script to change a user's password. I tried to use the passwd command, but that command always asks for the old and new passwords to be typed; it won't accept them from my script. ...
3
votes
2answers
305 views

how is a keyboard shortcut given to the correct program?

in Ubuntu (or for that matter most other linux distros), I could use the shortcut ctrl+t to open a new tab (in firefox or similar), or I could use alt+tab to make unity switch highlighted window, or I ...
2
votes
1answer
182 views

Why don't emacs keybindings work on Mint 17.1?

I'm migrating from Ubuntu to Mint and loving it so far. One thing has been bugging me. On ubuntu I was able to run: gsettings set org.gnome.desktop.interface gtk-key-theme "Emacs" to get ...
1
vote
0answers
37 views

What is the difference between X11 keymapping and virtual console keymapping

In linux we have X11 which governors keyboard layouts but sadly any changes made there don't affect the system as a whole so in a tty you are left with standard qwerty no matter what your X11 ...
1
vote
0answers
96 views

Eye of Gnome (EOG) - Modify Shortcuts

Is there a way to change the default shortcuts of the image viewer Eye of Gnome? I would like to remap a few shortcuts, like the spacebar and mouse thumb buttons. As far as I can tell, the ...
1
vote
0answers
51 views

Method to convert simultaneous key chord / letter key combo into another key?

I'm looking for a method to make simultaneous key presses trigger another, e.g. for the keys W, E, F, pressed simultaneously, to trigger another key press, say, Ctrl+Alt+Esc. My ultimate goal (in ...
1
vote
1answer
208 views

Interference between XF86Display (F4) button and Super button in Xfce keyboard settings

I like the Super button for the Whisker Menu search (xfce4-popup-whiskermenu), which is the default in Linux Mint Xfce (but can be set like that in Xubuntu or other systems with the Xfce desktop) and ...
1
vote
1answer
40 views

Is there any way to identify which application is hijacking a keyboard shortcut?

Some application on my system (Ubuntu Linux 13.0) is hijacking a specific keyboard shortcut (Ctrl+Space). I don't know which one it is and would like to identify it. How can I do this?
1
vote
0answers
32 views

Change control flow key to scroll lock

So, my Scroll Lock key doesn't have much use, while I keep hitting Ctrl-S with no intention of stopping control flow. I know how to disable Ctrl-S from locking scroll (stty -ixon), but can I use ...
0
votes
0answers
10 views

Bind multiple chars to single keyboard key [duplicate]

Is there any possibility to bind multiple chars (e.g. a word or even multiple words with spaces between them) to a single key? I've been able to bind specific letters to keys using xmodmap, but not ...
2
votes
0answers
90 views

How do I combine two keys to act as FN key with xbindkeys?

I have been hammering my head on the wall for the past two days trying to figure out a way to combine two keys to execute a function with xbindkeys. To make a long story short I have a chromebook ...
4
votes
2answers
114 views

xmodmap keybindings don't work

I am trying to use Xmodmap to add some german diareses/umlauts to my keyboard, but Xmodmap is not working with them (but is with other remappings). I am following this guide: German Umlauts on US ...
2
votes
1answer
352 views

Custom global keybindings in cinnamon via gsettings

I am trying to setup some keyboard shortcuts for cinnamon: gsettings set org.cinnamon.desktop.keybindings custom-list \ "['custom0', \ 'custom1', \ 'custom2', \ 'custom3', \ ...
0
votes
0answers
34 views

Unmap Ctrl+h from backspace

I have the following key mapping defined in .tmux.conf. bind-key -n C-l next bind-key -n C-h prev What it does is cycling through windows in tmux when pressing Ctrl + L an Ctrl + H, respectively. ...
1
vote
0answers
80 views

Suspend options with KDM greeter

I am not able to suspend my desktop to RAM from the KDM greeter. I am able to suspend it to RAM when logged into KDE using the sleep option from the logout menu and by pressing the sleep key on my ...
2
votes
1answer
111 views

Special custom shortcut

I would like to create a special shortcut that minimize all windows and switch my current desktop to the next one. Could be useful for work. I'm on Fedora 21 with GNOME.
2
votes
1answer
37 views

How to refresh file list in moc?

In moc (music on console), I want to refresh the file list, because I have renamed all files to lowercase and moc still shows uppercase for all files that begin with a number. The help command (h) ...
1
vote
1answer
23 views

mutt: two character sequence commands

Is there any way to define a two-sequence command in the mutt email client? I would like to map gg to the first email, similar to the first line on vim, but I can only find ways to map commands to ...