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)

2
votes
1answer
35 views

How do you make a toggle key using Autokey?

I want to use Autokey to toggle the e key on and off in a program called "xyz". So if I press e, the program thinks I'm holding down e. I press e again, it thinks I released it. How do you do this ...
0
votes
0answers
28 views

How to bind AtlGr to Ctrl+Alt in Debian 7

I'm new to Linux and recently I installed Debian 7 in my laptop. I used to use Ctrl+Alt shortcut all the time in Windows, but in Debian 7 I can only use AltGr. So, I was trying to bind AltGr to ...
0
votes
1answer
21 views

KSH on old unix systemV: search history

I have set a good ksh environement on old unix PATH=$PATH:/usr/lib/acct:/usr/sbin:/sbin:/usr/ucb export PATH EDITOR=vi FCEDIT=vi export EDITOR export FCEDIT HOSTNAME=`uname -n` HISTSIZE=500 ...
16
votes
1answer
263 views

Why does exporting vim as EDITOR in zsh disable keyboard shortcuts?

My .zshrc looks like this: export EDITOR="/usr/bin/vim" Now when I open a terminal and enter a keyboard shortcut like ctrla to go to the beginning of the line, it doesn't work. Instead, the string ...
1
vote
0answers
21 views

Is it possible to make the right mouse button do something else in Linux Mint?

I have a cheap 2 button mouse so wanted to turn the right mouse button into my gesture button (with Easystroke). Perhaps making a double right click act as a normal right click.
0
votes
1answer
19 views

Ubuntu 14.04 - Force using home and end as keyboard shortcuts

I'd like to be able to use the Home and End keys as shortcuts, but Ubuntu's settings absolutely refuse to let you do so by normal means because it'll become "impossible to type using this key." - ...
2
votes
0answers
27 views

Remapping Num Lock key to function as Caps Lock

As a followup to this question, my Caps Lock key is now mapped to Compose instead. However, it turns out that my 14 month old toddler still manages to turn on Caps Lock from time to time with his ...
0
votes
1answer
15 views

Xmodmap remapping Caps, but still triggering Caps Lock

Im using CentOS 6.5 workstation, pretty standard config, with normal dell keyboard, EN/US lang and keyboard layout. I have the following in the .Xmodmap keycode 66 = Control_L clear Lock add Control ...
1
vote
1answer
20 views

Alt-< and Alt-> (and possibly some other keys) not working in elinks

I am running elinks (0.12pre5) in an xterm window in Openbox on a Debian netinstall (7.8) with fairly minimal changes/additional software installation. I have changed a few elinks options, but none ...
0
votes
0answers
36 views

Swap OS X Command/Control keys without changing bash shortcuts

I originally asked this on Ask Different, but I think since my issue is probably more with bash this would be a more appropriate site. First of all, I know that you can use the System Preferences to ...
2
votes
2answers
49 views

How can I select and copy file names in the command line without using the mouse?

Typically, when I want to perform an action on a file I discovered in the terminal after calling [ls], I would have to - with my mouse - highlight, left click, copy file name, type the command in then ...
0
votes
0answers
30 views

Map characters to key-combinations

Is there a way to map special characters to the keyboard, using a combination of keys? For example, having Alt+A print out a Greek alpha letter, or having Alt+⇨ print out an implication arrow.
0
votes
0answers
33 views

What is hotkey in Linux Mint for “Show All Windows”?

I noted it is possible set a number of hotkeys in Linux Mint 17.1 using the keyboard application, but there's not possibility to set the hotkey "Show All Windows"; you can only set a button using ...
2
votes
0answers
29 views

vim arrow keys insert mode mapping

I want to move the cursor without using arrow keys in insert mode too. I've tried the following: :imap <A-h> <Left> but after moving cursor left by Alt-H from insert mode I get back to ...
0
votes
1answer
93 views

how to create custom shortcuts for scrot and gnome-screenshot interactive mode

I want to add command scrot -s as custom shortcuts via gnome-control-center keyboard. The accelerator key was Super+S. but it didn't works. If i remove -s or try other interactive command like ...
1
vote
0answers
21 views

Firefox loses focus when switching keyboard layouts (Linux Mint Cinnamon)

I use many different keyboard layouts and I do change them often. That is why I defined keyboard shortcuts in Cinnamon (alt+F1, alt+F2 and so on). Now, this works ok in the applications I use, except ...
2
votes
1answer
25 views

make existing rdesktop session grab keyboard/mouse

By default, rdesktop grabs keyboard, so that key combinations such as Alt+Tab or Alt+F4 act inside the rdesktop window. This can be overridden with the -K option rdesktop -K myserver.mydomain.com ...
1
vote
1answer
28 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
39 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
55 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
69 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
36 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
30 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
18 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
118 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
17 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
50 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
43 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
45 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 ...
4
votes
1answer
75 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
77 views

Exit from less by pressing ESC key

Can I setup less program to exit from it by pressing ESC key?
4
votes
3answers
129 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
33 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
16 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
34 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
78 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
23 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
35 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
64 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
19 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
28 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
44 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
50 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
60 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
2answers
69 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
39 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
53 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
167 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
38 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
51 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. ...