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
22 views

How to access numpad keys in XMonad?

I want to map some programs to the ten numbers of the numpad, which should start when I press mod4Mask + a number. I know that ordinary numbers are accessed with xK_1, xK_2,... but what about the ...
2
votes
1answer
48 views

Bash: mapping backward-delete-char to a different key

In bash, is it possible to map backward delete not to physical <Backspace> key but to some other key? I.e., <F18> has the following escape sequence [1;5Q, and I tried adding the following ...
0
votes
0answers
17 views

Alt+tabbing through all windows on elementary OS

I want to add a new shortcut that would do exactly what Alt+Tab is doing but across all the workspaces. Let's say Super+Tab. Does anybody know what is a command I should write into new shortcut ...
0
votes
0answers
70 views

How to remap (“at the software level”) the Fn and Ctrl keys in an Acer laptop?

I have an Acer Aspire V5 laptop for home use whose keyboard's lower-left corner has the keys arranged like this Ctrl Fn  ❖ Alt This differs from, and IMO is less comfortable ...
6
votes
2answers
334 views

What is the gnome-terminal ANSI escape sequence for “CTRL + arrow/s”?

I am trying to configure my bash ~/.inputrc to these settings (Note: ←, → mean the left and right arrow keys) Ctrl + ← - should jump back a word Ctrl + → - should jump forward a word Currently I ...
15
votes
1answer
199 views

How do I find out what program 'owns' a hotkey?

I'm running XFCE 4.12 on top of Gentoo with a 4.2.0 kernel. My PlayPause button on my keyboard used to work as a global hotkey for VLC. Now VLC won't even recognize the key. It does see "Alt + Media ...
1
vote
0answers
33 views

Use the keyboard to emulate a mouse

My mouse is broken. How can I use the keyboard as a mouse on Raspbian? I need to resize the terminal window (and other windows in general), plus doing other tasks like I would if using a mouse.
0
votes
1answer
24 views

How can I create a single shorcut to open a set of programs?

Currently, I have a set of shorcuts to open several applications. I use xbindkeys to do so. I have something like this: Super + u -> sublime Super + e -> pcmanfm Super + s -> skype Super + x -> ...
1
vote
0answers
195 views

How do I use specific key combinations to change to specific keyboard layouts in Debian 8 (Gnome 3.14.1)?

For example, pressing Alt+LShift switches to eo and Alt+RShift switches to en (no matter what the current layout is)? I have previously found a solution utilizing setxkbmap, but using that breaks the ...
1
vote
0answers
28 views

Global vim-like (hjkl) navigation with numlock & xmodmap?

I'd like to be able mimic vim's hjkl navigation everywhere in the system by utilizing num lock (or scroll lock), and making hjkl keys act as arrows whenever num lock is on, and regular behavior ...
1
vote
1answer
57 views

Move window to desktop: Keyboard shortcut

I'm running Linux Mint 17.1 (KDE). I know that I'm able to move windows from one desktop space to another by right-clicking in the title bar. I also know I'm able to do so from the command line with ...
1
vote
1answer
59 views

tmux doesn't passes correctly ctrl-shift-arrow sequences

Tmux doesn't passes correctly the ctrl-shift-arrow sequences. It doesn't work on emacs, and when I use sed -n l, I see it displays the escape sequence of the arrow key alone instead of the full ...
1
vote
0answers
10 views

Can I bind single keys in zsh when in vi normal mode? [duplicate]

I use urxvt with zsh and vi keys (bindkey -v). Is there a way to bind custom commands to single keys when in normal mode? For example, I'd like p to run xclip -o -sel clip and insert the result at the ...
32
votes
1answer
1k views

ESC + { : What is it and where I can know more about it?

I was play around at the bash prompt, and pressed ESC followed by { , after which , the shell showed all the files for completion, in a fileglob string. Eg : If I had typed bash C followed by ESC+{ , ...
3
votes
1answer
45 views

Shutdown with keyboard press doesn't work

I have a Debian Jessie build, and I want to add keyboard shutdown. I've tried the following, without any success: Attempt 1 To /etc/inittab I added ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now ...
0
votes
0answers
16 views

how to find keycodes for Aterm backspace, and deletekey

I downloaded compiled, and installed aterm 1.0.1. and I cannot get the backspace or delete keys to work. I've tried everything I've found on the net about it. aterm*backspacekey: \010 ...
1
vote
1answer
34 views

linux keyboard: how remap euro key from sequence ALT 0128 to PgUp?

I have laptop Acer Aspire E1-772G and it have Euro key near cursor keys. I do not use Euro and moreover it is implemented so pressing it generate sequence ALT 0 1 2 8 # showkey -k kb mode was ...
0
votes
1answer
19 views

Keyboard layout settings conflicting

I just changed my keyboard to an Ergodox with a US layout (previously it was Portuguese) I use Arch Linux with Gnome 3, so I went to the settings manager, and added US as the default keyboard layout. ...
1
vote
1answer
43 views

How to re-enable the Ctrl+Shift+U shortcut in Cinnamon Mint 17.3?

The Ctrl+Shift+U shortcut for writing Unicode characters seems to work inside of the software manager's search bar. Everywhere else such as Gedit, Terminal and Google Chrome pressing Ctrl+Shift+U does ...
2
votes
1answer
32 views

using xinput to get device state

I have a simple script to turn my keyboard of written using xinput. How can I get the current state of the device (enabled or disabled) so that when I run the script I can dont have to specify on/off, ...
0
votes
0answers
27 views

How to hide cinnamon screensavers from albert launcher

I am trying to use albert launcher on linux Mint 17.3. It was showing a lot of applications for almost anything I typed in it, application that did not launch, did not have any icons, names I was ...
1
vote
0answers
47 views

How to Map AltGr + any key to shortcut in Openbox/Lubuntu file lubuntu-rc.xml

I have a highly customised lubuntu-rc.xml file; all key combinations that I can use for command shortcuts are mapped, so I need to utilise more keys so I can have more shortcuts. I would like have ...
1
vote
1answer
30 views

Unset or change default “re-detect monitors” windows+p cinnamon keybinding using gsettings

I'm trying to unset or change the default Windows+P (or to be more exact Meta+P) "re-detect monitors" cinnamon keybinding via gsettings, but having a hard time finding it in the gsettings tree. In the ...
1
vote
1answer
17 views

How do I bind the Python interpeter to a key?

Currently I open the interpreter with a keybinding pointing to gnome-terminal --hide-menubar --full-screen then type python I want to open it directly. I've tried: gnome-terminal --hide-menubar ...
1
vote
0answers
18 views

execute script on shortcut key in all runlevels

I have a laptop with intel graphics. The Fn key brightness control only works when the user is logged into the desktop environment. It never works in the login screen or in tty sessions. I have to ...
2
votes
1answer
28 views

How can I jump to a particular window, no matter what workspace it's on?

Ideally I could say $mod+J+E → jump to Emacs (wherever it is), and the same could be done for $mod+J+W → jump to Firefox (wherever it is). It seems pretty trivial to jump to a workspace, using ...
3
votes
2answers
130 views

What are the keyboard shortcuts for the command-line?

I'm talking about the keyboard shortcuts that you use in command-line/terminal. Example: Ctrl+c that kills the process, Ctrl+d that logout, Ctrl+z that send process to background... etc. I've tested ...
5
votes
2answers
470 views

Resizing windows in i3 using keyboard only

I am trying to set up my computer (running Crunchbang Linux Waldorf and i3) so that it is always, by default, configured so that pressing Ctrl + Shift and arrow keys resizes the window the direction ...
3
votes
0answers
49 views

Bind ALT key in Tmux to move across panes

I'm using Ubuntu 14.04 and I would like to bind ALT + <hjkl> in tmux to move across splits. I've seen this plugin that allows you to move across panes with CTRL + <hjkl> but I would like ...
0
votes
0answers
21 views

LXDE/Openbox shortcuts are slow

I've noticed that when using a shortcut on Openbox (the ones in ~/.config/openbox/lubuntu-rc.xml) They tend to react slowly at times. Especially when launching applications. If I launch fehlstart ...
0
votes
0answers
36 views

KDE changes keyboard layout on shortcuts

I ran into a strange anomaly with KDE 4.14.3 (Gentoo Linux) on my college's workstation. He had two keyboard layout: hu qwertz and us qwerty, and the hu qwertz was the active layout. When He typed a ...
0
votes
1answer
38 views

Linux alternative to alt+numpad codes

I sometimes need to type "alt codes" to get symbols and on linux, it can be inefficient to use shift+ctrl+u then type the code, for example shift+ctrl+u+00a7 for § when on Windows it's alt+21. So ...
0
votes
1answer
41 views

Ubuntu Gnome 15.10 super key mapping into Android Studio keymap

I am switching between OSx and Ubuntu Gnome (which is fantastic btw) and want to try and have the same shortcuts inside Android Studio. I am using a wired mac keyboard and CMD is default mapped to be ...
0
votes
1answer
60 views

Execute custom command in Geany

I want to execute some command with currently edited file as argument from within Geany, triggered by keyboard shortcut. For example: I am editing /home/user/file.txt and after hitting "Ctrl+B" I ...
4
votes
0answers
57 views

How do I *completely* disable the Ctrl-O shortcut in Midnight Commander?

I like using both Midnight Commander and Vim. In Vim, Ctrl-O is the "go to previous position" command, and in MC, by default, it toggles between the shell and the panel. I would like to be able to ...
1
vote
1answer
57 views

“Close window” (Ctrl+q) Shortcut not working on every window

In Linux Mint Cinnamon there are a lot of tools that can not be closed using Ctrl+q. For example the "Software Manager".. Is there a reason for this strange behavior? Can I somehow make Ctrl+q work on ...
1
vote
0answers
17 views

Making the Mod+4 Key Behave

I have a Dell XPS 13 laptop, originally with Windows but running Debian (after some effort). On the bottom row of the keyboard, there is, in this order, these keys: CTRL FN Windows ALT SPC ALT ...
1
vote
1answer
30 views

Paste clipboard as text into keyboard buffer

Once in a while I come across annoying web sites, which think they know security and won't allow me to paste password from password manager. I want a tool which allows me to take clipboard text and ...
2
votes
1answer
66 views

How to configure Ctrl+w as delete word in zsh

I want to delete a word by Ctrl+W in zsh like. vim /foo/bar^W vim /foo/ And found a solution for bash, but bind is not in zsh function. Is it possible to configure ctrl-w (delete word)? How can I ...
0
votes
0answers
56 views

Using Super(Win)-Key with shortcuts on latest GNOME

I am running Arch Linux x86_64 with GNOME 3.18.3-1 x86_64 as desktop-environment. In an earlier version of GNOME I successfully used the Super_L-Key for shortcuts, but now that key isn't gonna be ...
1
vote
0answers
16 views

Make IRDA hotkeys work in the lock screen

I have some IRDA reciever and remote controller. Some keys on it emulates hotkeys. So, I've created a hotkey that locks my current session. Now I want to create one that will unlock it (for example, ...
3
votes
1answer
104 views

Translate ascii codes to AT set 2 keyboard scancodes

I want to send a couple of characters with the virtualbox controlvm keyboardputscancode subcommand. The scancodes expected by virtualbox are the IBM PC AT set 2 keyboard scancodes, which in my case do ...
1
vote
0answers
13 views

How do I edit the keymap of Cinnamon without using Cinnamon Settings?

I would like to edit my keyboard shortcuts in Cinnamon but using the graphical user interface for editing them (i.e., Cinnamon Settings) is not an option as it keeps crashing on me (here is my bug ...
3
votes
0answers
24 views

How to remap “dead_hook” in Emacs and Vim?

I would like to remap some common symbols like ( and ) to the base line of my keyboard combining Alt Gr with other keys like j or k. I can remap Alt Gr+k to ) because that combination prints ĸ. The ...
2
votes
1answer
52 views

Readline: Binding an ANSI escape sequence to a key

I would like to bind a key with bash / readline, to clear the bottom of my console screen. The ANSI sequence to clear the bottom of the screen is \e[J, so I tried to add the following line to my ...
1
vote
2answers
62 views

How to disable shortcuts in urxvt?

I have installed urxvt and mc. There is a combination Alt + S in urxvt and the same combination in mc. When i use mc through urxvt and press Alt + S, command of the urxvt works instead of command of ...
1
vote
0answers
40 views

XFCE online help on ctrl-c

I'm running Xubuntu. The terminal has started popping up a dialog "Do you want to read the Xfce Terminal Manual Online?" every time I hit ctrl-c. This has rendered emacs (among others) basically ...
1
vote
1answer
40 views

Keyboard shortcut to paste to active window in GNOME (Fedora)

What I'd like to achieve is to be able to press a button (F9 in this case) and for a specific string to be "pasted" into the active window. (It's to save typing a very long password - I know, I'm ...
1
vote
1answer
140 views

How do I enable the on-screen keyboard in the Linux Mint lock screen?

I'm using Linux Mint 17.2. I'm locked out of my own computer after changing my password to one using a 3rd tier character. I had set up my keyboard settings so the windows key enabled 3rd tier ...
2
votes
0answers
45 views

readline - use of modifiers other than control and meta

I'm trying to use Apple's ⌘ command and ⌥ option keys to map some functions in readline to no avail. As per the man page I used octal values but that doesn't seem to work \xHH the eight-bit ...