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)

10
votes
1answer
252 views

Why Ctrl+m and Ctrl+q wasn't used in bash shortcuts?

Recently I've been viewed through bash shortcuts key, and trying to find an appropriate one for my tmux activate key. And I find an interesting fact that ctrl + m and ctrl + q are not used in bash ...
4
votes
2answers
2k views

How to get brightness keys working inside openbox session?

I'm using Openbox window manager without DE. I'd like to get fn + [brightness up/down icon] working like it is in GNOME/KDE, but i'm looking for lightweight solution without gnome-power-manager and ...
5
votes
3answers
6k views

How to run the terminal using keyboard shortcuts in Gnome 2?

I'm using Gnome 2. I use the terminal several times, and I lose a lot of time going in Applications / Utilities / Terminal to launch the terminal. I am wondering if I can launch the terminal using ...
2
votes
2answers
9k views

What is the command or hotkey for stopping a running program in DrJava?

I installed DrJava about a week ago. Its been working fine so far but I ran into an infinite loop and wanted a way to stop the program from running without having to force DrJava to quit. Is there a ...
1
vote
0answers
9 views

Disabling mnemonics in the menu bar while keeping button mnemonics in GTK2

I would like to disable mnemonics in the menu bar because they interfere with keyboard shortcuts in some applications -- the terminal, for example -- but I would like to keep mnemonics for buttons in ...
0
votes
1answer
91 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 ...
1
vote
1answer
2k views

Free all function keys ( F1-F12 ) for gnome-terminal

I'm using gnome-terminal and I need to free all the F keys because I need to remap them to something else inside vim, how I can do that? I'm running Ubuntu 13.04.
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?
2
votes
3answers
156 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 ...
2
votes
1answer
711 views

Cannot change global keyboard shortcuts in Linux Mint XFCE

I am using Linux Mint 14 XFCE. I am trying to remove the default XFCE window manager shortcuts for workspace switching (Ctrl-F1, Ctrl-F2, etc.), as described in this question. The answers there ...
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
15 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. ...
1
vote
1answer
21 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
29 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 ...
3
votes
3answers
174 views

confusing behavior of emacs-style keybindings in bash

Bash offers many useful emacs-style keybindings for simple commandline editing. For example, Ctrl+w deletes ("kills") word left from the cursor. Another keybinding, Alt+d is supposed to be a "mirror" ...
1
vote
1answer
16 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 ...
0
votes
1answer
21 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 ...
2
votes
0answers
14 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, ...
5
votes
1answer
48 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 ...
0
votes
0answers
13 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 ...
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 ...
2
votes
1answer
26 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)
0
votes
0answers
5 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 ...
2
votes
1answer
27 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, ...
4
votes
2answers
1k views

How to move windows across displays in Gnome 3?

In Gnome 3, moving windows with the keyboard shortcuts Meta+← and Meta+→ can be convenient. Now, I have two displays installed and would like to move windows across the displays without ...
1
vote
1answer
29 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
940 views

Disable Ctrl+Alt Hotkeys in certain programs

I am using Sublime Text 3 which uses CtrlAlt$key hotkeys for a few important functionalities, but CtrlAltLeft (for example) switches workspaces. Is there a way I can disable the OS functions of these ...
1
vote
1answer
12 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 ...
2
votes
1answer
24 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 ...
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 ...
21
votes
4answers
19k 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?
2
votes
1answer
27 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 ...
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
2answers
2k views

Keyboard Shortcut To Send Text Strings To Program

How can I configure a shortcut key to send a text string to the current program? The purpose is to type common entries quicker (email address, street address, phone number, username, favorite quote, ...
2
votes
1answer
902 views

XFCE - Send window to other monitor on keystroke

I am running Xubuntu 11.10 with a dual monitor setup. I am looking to create a keystroke (maybe CTRL + ALT + SPACE which will allow me send a selected window to the next monitor. In GNOME there is a ...
2
votes
1answer
734 views

xorg.conf XkbOption ignored for terminate:ctrl_alt_bksp to restart X

I want Ctrl+Alt+Bksp to restart X, so I created an xorg.conf rule: /usr/share/X11/xorg.conf.d/53-zap.conf: Section "ServerFlags" Option "DontZap" "false" EndSection Section "InputClass" ...
44
votes
4answers
10k views

Pasting X selection (not clipboard contents) with keyboard

I'd like to be able to paste the X selection using the keyboard. Currently I have to use the middle mouse button to do this. I gather that faking a middle mouse button press is fairly easy to do, ...
4
votes
1answer
142 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
177 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
42 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
821 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 ...
1
vote
2answers
67 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
81 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 ...
2
votes
1answer
141 views

Using xbindkeys to bind the meta key (a.k.a. super key / Windows key) to left click and allow drag and drop

Is there any way to bind the meta key (a.k.a. super key / Windows key) to a left click using xbindkeys? I would like that hitting the meta key triggers a left click, and hold down the meta key allows ...
1
vote
0answers
13 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 $ ...
2
votes
0answers
364 views

How to control keyboard backlight using hotkeys

How can I turn increase and decrease the keyboard backlight in notebook on Linux using the same hotkeys used on Windows? In Windows I can control the keyboard backlight by pressing hotkeys (FnF9 to ...
3
votes
1answer
1k views

How to detect global key presses

I have an Asus laptop that has a special key that can be configured to launch any software (at least on Windows). The general question is: how can I detect any key press (globally)? Then, how ...
0
votes
1answer
62 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 ...
3
votes
1answer
26 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 ...