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

New terminal working directory

When I login (using ssh) to other host and open a new tab (pressing CTRL + Shift + T). It sets current working directory to a particular directory in my home independent from current working directory ...
0
votes
0answers
7 views

Acer 3810T backup key remap

On my Acer 3810T I have touch button with the led light built in. I whant to remap it to run custom command to connect to VPN using bash script, and/or to be lit when the connection is established. ...
3
votes
1answer
34 views

Key used in shortcut. How to unmap?

I'm having some trouble pressing the ` key (I had to copy/paste it here) on my Ubuntu. It acts like a weird tab or Esc now. When checking with xkbevd, I get ^[ How can I reset this and get the ...
3
votes
0answers
68 views

Unable to type apostrophe in the terminal

I'm unable to type the character ' in urxvt. Nothing happens if I press the button to type it. If I copy something to the clipboard that contains ', and paste it with shift+insert, the text is ...
0
votes
0answers
30 views

How to disable media keyboard shortcuts in XFCE4?

I'd like to customize what the mute & volume buttons do in XFCE4. They do control media playback but they do that without having any entries in the keyboard shortcuts setting. They don't appear in ...
2
votes
0answers
12 views

alt-shift toggles keymap when part of a shortcut

I have two xkb layouts, and use Alt+Shift to toggle between them: setxkbmap "fr,us" -option grp:alt_shift_toggle However, when I press a shorcut which contains Alt+Shift, the shortcut isn't taken ...
2
votes
2answers
31 views

How to get out of opened documents in the terminal?

I use to press CTRL+C, but there are some cases where this key combination doesn't work. E.g. if you open the perl docs: perldoc File::Path The documentation is presented on the terminal and I ...
3
votes
2answers
156 views

Ctrl-Backspace and Ctrl-Delete in bash

Putting on Debian 8.3 stty werase '^H' or on Arch Linux 2/2016 stty werase '^?' in .bashrc (for example) makes Ctrl-Backspace delete the last word in the terminal. Still it's not the same ...
1
vote
1answer
25 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
49 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
99 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
365 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
206 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
34 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
200 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
32 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
69 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
76 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
53 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
17 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
38 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
21 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
46 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
37 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
28 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
52 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
34 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
19 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
139 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
616 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
54 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
22 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
38 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
45 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
45 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
88 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
65 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
18 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
34 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
75 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
63 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
109 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 ...