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)

0
votes
0answers
19 views

How can I make backspace act as escape using setxkbmap

There seems to be several options for setxkbmap like -option caps:backspace which makes caps a backspace, however I cannot seem to find an option that makes backspace an escape key. How do I create a ...
1
vote
1answer
14 views

Enabling `Alt` hotkeys for buttons in Gnome?

I mean: whenever a letter in the text of a button is underlined, pressing Alt plus that letter clicks the button. I have gone through both the Keyboard and the Tweak Tool applets without success. ...
0
votes
1answer
17 views

How do I bind XF86XK_AudioMicMute to an action in XMonad? [closed]

I am toying with switching back to XMonad from dwm, but one of the issues I ran into during my last stint with XMonad was that my micmute key (my keyboard has one), did not work since XMonad's ...
1
vote
1answer
25 views

Escape sequences for function keys (F1-F12), especially F11 and F12

I want to use the terminal multiplexer byobu, so I need to use the function keys (F1-F12). However, I am accessing a remote machine via SSH, so I need to send function keys over SSH. (I'm running ...
1
vote
1answer
20 views

Gnome 3: enable Ctrl+Alt+Bksp on a per-user basis without editing any files?

I would like to enable the Control + Alt + Backspace sequence to kill the X server, plus other sequences, without editing any files, if possible (or at least, no system files).
1
vote
1answer
12 views

Where does KDE 4 store its keyboard shortcuts?

Some Emacs keyboard shortcuts are intercepted by KDE. I know that KDE lets you configure keyboard shortcuts via GUI, but I am tired of sifting every time all the menus. I would like to open the ...
2
votes
0answers
13 views

Is there a way to restart XFCE with new settings from a bash script?

My laptop is running Linux Mint 17 XFCE Edition, and I'm trying to set it up so that I can use Emacs with my usual keybindings. These include certain autocompletion/fill commands involving Alt-Tab, ...
0
votes
0answers
11 views

Super key as shortcut - Openbox

I want the next shortcuts: Super -> open dmenu Super+LeftArrow -> Move current window to left So, I have both of them working, BUT, when: I press Super -> it opens dmenu I press LeftArrow -> Move ...
2
votes
1answer
25 views

Shift + Ctrl + C (terminal copy) doesn't work since I installed Awesome WM

The title sums it up. Since I installed Awesome WM I can't use Shift+Ctrl+C to copy text from terminal (although Shift+Ctrl+V still pastes)
4
votes
1answer
19 views

How to disable specific combinations of keystrokes

I've been suffering from RSI recently and am trying to make an effort to be more disciplined about typing. One of the things I've noticed is that I sometimes (out of habit) use combinations of keys ...
0
votes
0answers
4 views

Keyboard's Control key detected as Primary

I use ArchLinux 64-bit, with these apps: xfce4-panel 4.12.0-1 xfce4-session 4.12.1-2 xorg-server 1.17.1-7 xorg-server-common 1.17.1-7 xorg-server-xwayland 1.17.1-7 xorg-setxkbmap 1.3.1-1 xorg-xauth ...
5
votes
1answer
46 views

Mint 17 (Cinnamon): CTRL+Shift+U not letting me enter unicode symbols

I realize there's probably a simple answer to this question. I come from Ubuntu (Unity) and am used to type unicode symbols with Ctrl+Shift+U, followed by the symbol's code and Enter. This doesn't ...
2
votes
1answer
25 views

Disable certain operating system keystrokes and mouse actions on Cinnamon

I'm using Linux Mint, and many of the operating system keystrokes/mouse functions conflict with Blender functions. For example, when I try to hold down alt and drag, it moves the entire window, ...
1
vote
1answer
11 views

Disabling keyboard shortcut for changing display setup in gnome-shell

When I press the right super key + P, gnome-shell switchtes between different display settings (how my monitors are arranged and what there resoluiton is). Sometimes I press the combination ...
1
vote
1answer
26 views

RapidFire input with xdotool and xbindkeys

I'm wondering how it be possible to configure a keybind to use RapidFire with xdotool and xbindkeys to a gamepad input? I have a Logitech F310, and I want to know how I can pass keybinds to simulate ...
2
votes
1answer
25 views

Bind key-mousekey combination to a bash script

Is it possible to map a key-mousekey combination to a bash script? Such that e.g. when pressing [Ctrl] and (then) [left mouse click] a particular script is being executed? Or a ...
2
votes
1answer
22 views

How can I keep default mode key bindings in a new mode?

I have several "lesser" modes in my i3 config, which only have a few keybindings for specific tasks. For example, Skype mode: mode "skype" { bindsym $mod+1 exec xdotool mousemove 90 70; exec ...
1
vote
0answers
22 views

Is it Possible to use Mouse Movement in a Shortcut?

I'm interested in creating shortcut keys that use mouse movement as part of their trigger to send a keycode, for example so that I could have a shortcut like: ctrl + alt + [mouse movement down] ...
1
vote
1answer
19 views

Setting backspace=2 in zsh with vi bindings

I just set my zsh to vi mode as I feel the word/WORD (w/b W/B) skip keybindings will help me work faster than plain ^a ^e in emacs binding mode. However, I'd like to set backspace=2 or set ...
4
votes
1answer
139 views

xkb: make ctrl+backspace behave as delete

How can I map ctrl+backspace to behave as delete key with xkb? I can remap a single key on /usr/share/X11/xkb/symbols/pc but can't figure out how to do the combination. My OS is Ubuntu 15.04
3
votes
2answers
176 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
39 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
vote
2answers
65 views

Run commands “without” terminal [closed]

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
77 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
11 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
23 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
57 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
39 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
25 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
22 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
24 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
58 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
82 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
61 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
39 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
314 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
35 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
26 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
45 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
29 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
34 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
71 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
3answers
142 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
79 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
45 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
150 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
28 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
44 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
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 ...