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

Hotkey for doing sudo suggestions

On Ubuntu and Debian, often if I try to run a program I will get a message that says something to the effect of: You don't have that program. To get it type sudo -apt -get -install programName ...
3
votes
0answers
96 views

Custom key combinations in dwm

I have some custom key combinations in config.h, which work great. I just got a 60% keyboard, and would like to configure the arrow keys to work Vim-like ¨hjkl¨, instead of the combination with FN + ...
0
votes
0answers
24 views

Keyboard Shortcut for Applications Menu Extension Possible?

I am new to linux, Ubuntu, and GNOME. I am running Ubuntu GNOME 14.04 which comes with GNOME 3.10. I am using the Applications Menu extension from gnome-look.org. I would like to create a keyboard ...
2
votes
1answer
65 views

Re-map or un-map F10 from triggering window file menu in Xfce

By default F10 on Xfce activates the menu File menu and so cannot be used as a shortcut in any program. I already looked in the Window Manager and Keyboard settings pages and no F10 key binding is ...
0
votes
0answers
60 views

Switch between tabs command

By mistake I may have deleted the Switch between tabs shortcut, now I want to add it as a custom shortcut but I can't find the command to add. How do I add it back? I'm using kali Linux and I'm ...
1
vote
0answers
177 views

Start command and stop command in terminal on keyboard (hotkey) shortcut press?

I have seen How to execute a script in shell when a shortcut key is pressed, but that is not what I want. If you have used recordmydesktop, you may have noticed the following in its manual: After ...
4
votes
1answer
179 views

Disable or remove default vim keybinding

Is there a way to disable or remove a default vim keybinding? For example, if I wanted <S-k> (shift-k) to do nothing, how would I achieve this?
0
votes
3answers
95 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?
3
votes
1answer
48 views

Can I remap SHIFT+CAPS LOCK in a virtual terminal?

I recently acquired an old netbook which has no backslash/pipe key. I have successfully remapped the caps lock to backslash using loadkeys. I would like to map SHIFT+CAPS LOCK to the pipe key in a ...
1
vote
1answer
87 views

Vi keys in Xpdf?

The Xpdf man page says that it can be customized to work with Vi style keybindings: Previous versions of xpdf included a "viKeys" X resource. It is no longer available, but the following ...
3
votes
2answers
412 views

Why is the shortcut Ctrl + A jumping to the start of a line in the terminal?

Like jumping to the end of a line is Ctrl+E, where E can be thought of as end, why does it jump to the start using A?
2
votes
1answer
99 views

How remap my CapsLock key to work as if it was a Return key using setxkbmap?

I tried several things: setxkbmap -option caps: return setxkbmap -option caps: enter I also tried to modify the file /usr/share/X11/xkb/symbols/pc by: "Key <CAPS> {[Enter]};" But nothing ...
1
vote
1answer
98 views

using script function rather than keyboard input

I'm writing a shell script to change a user's password. I tried to use the passwd command, but that command always asks for the old and new passwords to be typed; it won't accept them from my script. ...
3
votes
2answers
341 views

how is a keyboard shortcut given to the correct program?

in Ubuntu (or for that matter most other linux distros), I could use the shortcut ctrl+t to open a new tab (in firefox or similar), or I could use alt+tab to make unity switch highlighted window, or I ...
2
votes
1answer
234 views

Why don't emacs keybindings work on Mint 17.1?

I'm migrating from Ubuntu to Mint and loving it so far. One thing has been bugging me. On ubuntu I was able to run: gsettings set org.gnome.desktop.interface gtk-key-theme "Emacs" to get ...
1
vote
0answers
43 views

What is the difference between X11 keymapping and virtual console keymapping

In linux we have X11 which governors keyboard layouts but sadly any changes made there don't affect the system as a whole so in a tty you are left with standard qwerty no matter what your X11 ...
1
vote
0answers
129 views

Eye of Gnome (EOG) - Modify Shortcuts

Is there a way to change the default shortcuts of the image viewer Eye of Gnome? I would like to remap a few shortcuts, like the spacebar and mouse thumb buttons. As far as I can tell, the ...
1
vote
0answers
60 views

Method to convert simultaneous key chord / letter key combo into another key?

I'm looking for a method to make simultaneous key presses trigger another, e.g. for the keys W, E, F, pressed simultaneously, to trigger another key press, say, Ctrl+Alt+Esc. My ultimate goal (in ...
1
vote
1answer
269 views

Interference between XF86Display (F4) button and Super button in Xfce keyboard settings

I like the Super button for the Whisker Menu search (xfce4-popup-whiskermenu), which is the default in Linux Mint Xfce (but can be set like that in Xubuntu or other systems with the Xfce desktop) and ...
1
vote
1answer
40 views

Is there any way to identify which application is hijacking a keyboard shortcut?

Some application on my system (Ubuntu Linux 13.0) is hijacking a specific keyboard shortcut (Ctrl+Space). I don't know which one it is and would like to identify it. How can I do this?
2
votes
0answers
37 views

Change control flow key to scroll lock

So, my Scroll Lock key doesn't have much use, while I keep hitting Ctrl-S with no intention of stopping control flow. I know how to disable Ctrl-S from locking scroll (stty -ixon), but can I use ...
0
votes
0answers
10 views

Bind multiple chars to single keyboard key [duplicate]

Is there any possibility to bind multiple chars (e.g. a word or even multiple words with spaces between them) to a single key? I've been able to bind specific letters to keys using xmodmap, but not ...
2
votes
0answers
115 views

How do I combine two keys to act as FN key with xbindkeys?

I have been hammering my head on the wall for the past two days trying to figure out a way to combine two keys to execute a function with xbindkeys. To make a long story short I have a chromebook ...
4
votes
2answers
158 views

xmodmap keybindings don't work

I am trying to use Xmodmap to add some german diareses/umlauts to my keyboard, but Xmodmap is not working with them (but is with other remappings). I am following this guide: German Umlauts on US ...
2
votes
1answer
420 views

Custom global keybindings in cinnamon via gsettings

I am trying to setup some keyboard shortcuts for cinnamon: gsettings set org.cinnamon.desktop.keybindings custom-list \ "['custom0', \ 'custom1', \ 'custom2', \ 'custom3', \ ...
0
votes
0answers
39 views

Unmap Ctrl+h from backspace

I have the following key mapping defined in .tmux.conf. bind-key -n C-l next bind-key -n C-h prev What it does is cycling through windows in tmux when pressing Ctrl + L an Ctrl + H, respectively. ...
1
vote
0answers
89 views

Suspend options with KDM greeter

I am not able to suspend my desktop to RAM from the KDM greeter. I am able to suspend it to RAM when logged into KDE using the sleep option from the logout menu and by pressing the sleep key on my ...
2
votes
1answer
124 views

Special custom shortcut

I would like to create a special shortcut that minimize all windows and switch my current desktop to the next one. Could be useful for work. I'm on Fedora 21 with GNOME.
2
votes
1answer
46 views

How to refresh file list in moc?

In moc (music on console), I want to refresh the file list, because I have renamed all files to lowercase and moc still shows uppercase for all files that begin with a number. The help command (h) ...
1
vote
1answer
25 views

mutt: two character sequence commands

Is there any way to define a two-sequence command in the mutt email client? I would like to map gg to the first email, similar to the first line on vim, but I can only find ways to map commands to ...
0
votes
0answers
316 views

Super + Space as shortcut for layout switching. Linux Mint Cinnamon

I have installed Linux Mint with Cinnamon recently. I have swapped my Alt and Super keys and now I want to set Super + Space keys to switch between layouts. How can I do that trick? I've searched this ...
1
vote
1answer
187 views

Restrict Alt+Tab to the current workspace in Gnome 3

Is there a way to tweak Alt+Tab in Gnome 3 so it will iterate windows only in the current workspace? I'm using Debian wheezy.
1
vote
0answers
24 views

execute command on pointer movement, wait and revert?

I've got two pointing devices (touchpad and trackpoint) and the goal is to execute a command when movement (any direction, any distance) is detected on the trackpoint, then wait a configurable amount ...
0
votes
2answers
62 views

how to get list of shortcuts

I am currently using Esc + p to know my previous command run on terminal. similarly there is one like Esc+ Backspace to delete only certain character. I want to know more of such short-cut combos. ...
1
vote
1answer
87 views

bind -x leaves terminal in a state resembling ^V

I define a shell keybinding in my ~/.bashrc like so: bind -x '"\e\C-w":"/usr/bin/reset"' This does make Ctrl-Alt-w launch the reset executable. However, it leaves the terminal in a state that ...
2
votes
0answers
149 views

Keyboard key is not recognized even with showkey

I am using Ubuntu 12.04, in a laptop that I carry around and use with different physical keyboards (as I don't feel comfortable with laptop keyboards) For one of those keyboards (Dell SK-8135) the ...
1
vote
0answers
43 views

When I use left window key + e in konsole it prins 'se'

I was trying to change my keyboard layout and when I tried it in the konsole, I saw that konsole interprets it rather oddly. Win + E executes some hostnames and prints "se" on the prompt. With other ...
1
vote
1answer
114 views

Cinnamon: How to get path in text on GUI window, and how to open terminal at current GUI-window location?

I want to know how to set it so that I see the graphical directory path in text instead of buttons in Cinnamon. I also want to know a way to open a terminal at the GUI-window's current path. Like ...
1
vote
1answer
119 views

Setting a shift-like key for changing language layout in KDE

Is there a way to set a shift-like (not tab-like) hot-key for changing language layout in a KDE environment so that the language layout toggles again when the key is pressed and toggles to the ...
1
vote
0answers
47 views

Bind ctrl+space to backspace

I would like to make ctrl+space shortcut do a backspace. I can run a command, but is there a way or a program that emulate directly the key pressed?
2
votes
0answers
143 views

Bind right click contect menu to key

I'm using a Latitude DELL notebook with XUbuntu which is working really well. But there's this one issue. The missing "context menu" key which is usually between CTRL and AltGR. I already found a way ...
5
votes
2answers
553 views

What is <Primary> for a key?

I just saw a weird shortcut in dconf-editor: <Primary><Alt>KP_End What is <Primary>? I also saw an Above-Tab key. I completely understand what that is referring to, but were are ...
1
vote
1answer
98 views

Which application receives which hotkey? (List X clients which hold key grabs.) [duplicate]

How can I list the X clients which registered for a specific keyboard event (i.e. a key press; a shortcut thing). Those things are called passive key(board) grabs. And the list should contain what ...
4
votes
1answer
106 views

How to debug what blocks a key sequence in urxvt?

According to this port, i made these configuration in my .Xresources for urxvt: URxvt*keysym.Control-1: \033[27;5;49~ URxvt*keysym.Control-2: \033[27;5;50~ ...
1
vote
0answers
50 views

How to map emacs multi-modifier keys in vim?

I want to be able to map the multi-modifier keys of emacs in vim. I am trying this for exiting vim: imap <C-x><C-c> <ESC>ZZ However, this does not work.
2
votes
1answer
242 views

Set focus to newly open window

I use Archlinux 3.17.2-1 with gnome-shell 3.14.1.5-1 I use keyboard shortcut to open various applications, for instance Ctrl+Alt+G opens gnome-terminal and Ctrl+Alt+T opens xfce4-terminal When ...
4
votes
1answer
539 views

Tmux commands: What is M-whatever

Might be a very silly question to many folks out there, but I'm dense! Ex: Applying predefined layouts: C-a M-1 switch to even-horizontal layout C-a M-2 switch to even-vertical layout ...
1
vote
0answers
82 views

“Switch windows of an application” shortcut has an associated “Switch to previous window of an application” shortcut

The application switcher is no longer switching backwards with Shift+Alt+Tab. It does switch backwards with Shift+Super+Tab. I am using the alternative Alt-Tab extension. I tried disabling it but ...
4
votes
1answer
304 views

How to use the '-config' option of `setxkbmap`?

I have a keymap file with this content: xkb_keymap { xkb_keycodes { include "evdev+aliases(qwerty)" }; xkb_types { include "complete+numpad(shift3)" }; xkb_compat { include ...
1
vote
2answers
124 views

How to delete a word next of last slash

I have the following path : $ vim /path/to/some/where If I press Ctrl + w, It removes entire text to first space. The result would be : $ vim How do I delete just the word next of last slash ...