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)

3
votes
2answers
160 views

What are the programs/commands which the magic SysRq key invoke?

From Magic SysRq key The magic SysRq key is a key combination understood by the Linux kernel, which allows the user to perform various low level commands regardless of the system's state. It ...
0
votes
0answers
15 views

pkexec command is not working by means of keyboard short-cut

Earlier I used to run nautilus as root by sudo -A nautilus. Now I've set policy action for nautilus and pkexec nautilus is working fine through command-line and Alt+F2. $ cat ...
-1
votes
0answers
17 views

Do not work shortcuts in Fedora 21

In Fedora 21 some shortcuts don't work. There is a problem with combinations which have more than two keys (ctrl+shift+tab, ctrl+shift+← etc). Another problem with the Win+R or F12 hotkeys to call ...
1
vote
2answers
52 views

Run commands “without” terminal [on hold]

Months ago I saw a guy running commands from a small, text-box-like window, showing nothing else other than the text-box for you to write the command. Such text-box would popup by pressing some ...
1
vote
0answers
60 views

Find commands of default keyboard typing shortcuts in Gnome 3

I have Debian GNU/Linux 8 Jessie (DE GNOME Shell 3.14.2) installed on my machine. After having set Alt + PageUp and Alt + PageDown shortcuts for multimedia sound volume Up\Down respectively, I found ...
1
vote
0answers
8 views

xmodmap clear modifier not working

Trying to understand XKB and how to customize keyboard mappings, specially for modifiers. A little experiment on disabling modifiers, leads to an unexpected result: (1) Modifier maps before $ ...
3
votes
1answer
19 views

System-wide keyboard emulation of mouse scroll

I would like to emulate mouse scrolling through a keyboard shortcut. What I mean by that is whether I have a browser or terminal open, I want to be able to scroll through it exactly the same way I ...
1
vote
0answers
24 views

How to use media keys in GNOME Shell with local and web media players

Whenever I open a media player (i.e. Rhythmbox, Banshee...), I am able to control them with the media keys (play/pause, next song, etc.). Now I would like to pass those media keys to my web browser as ...
2
votes
0answers
18 views

Change menu shortcuts in Evolution

I'm trying to change menu shortcuts in the E-mail client Evolution, specifically removing the "send message" via "Ctrl-Enter" shortcut, but can't figure out how. My system is rather new: Debian 8 ...
0
votes
1answer
13 views

How to cycle displays in Mate desktop?

On the Arch-based Antergos Linux, initially Gnome Shell desktop, I have installed Mate on a laptop that normally (in Windows, OpenSuse, Ubuntu) has a dedicated key to switch between displays, which ...
1
vote
1answer
19 views

Can you assign arbitrary keybindings in xmonad?

I know how to set up keybindings where you have to hold down one of the keys of type KeyMask. Which are: Alts, Ctrls, Windowskeys. Also, giving 0 as the KeyMask can be used to define single-key ...
1
vote
0answers
16 views

In X11, how can I create a custom key combination that maps to PgUp, PgDn, Home, and End?

My keyboard does not have keys for Home, End, Page Up, and Page Down. I would like do the following: Map Shift+Alt+⇦ to Home Map Shift+Alt+⇨ to End Map Shift+Alt+⇧ to Page Up Map ...
1
vote
0answers
46 views

Some of fn keys not recognized after upgrade

After upgrading my system (including kernel) I discovered that some of fn keys (XF86MonBrightnessUp and XF86MonBrightnessDown) are not recognized by xev and even showkey. Each time one of these keys ...
2
votes
1answer
54 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
1answer
55 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
26 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 ...
18
votes
1answer
297 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 ...
2
votes
0answers
30 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
33 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
25 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
48 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
61 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
32 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
46 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
34 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
120 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
24 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
32 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
41 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
46 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
58 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
99 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
47 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
33 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
20 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
146 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
19 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
54 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
50 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
51 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
83 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
88 views

Exit from less by pressing ESC key

Can I setup less program to exit from it by pressing ESC key?
4
votes
3answers
147 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
38 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
18 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
37 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
84 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
26 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 ...