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 (1)

1
vote
1answer
11 views

MC 4.8.13 uses Ctrl-Backspace for directory hotlist

I just built GNU Midnight Commander 4.8.13 from source and the directory hotlist is now invoked with CtrlBackspace instead of Ctrl\. This is a PITA since it seems to not be passed through via ssh -- ...
4
votes
0answers
27 views
+100

emulate key-combination with xdotool

I am using Xephyr as a nested X server. When I am in Xephyr window and pres the key combination Control_L+Alt_L+Shift_L, Xephyr grabs my input (mouse, keyboard). This grab can be released with ...
1
vote
0answers
11 views

Assign hotkey to single keyboard layout in LXDE

Well, the question is following: can I assign separate keyboard shortcut to every layout I have? Exactly like in Windows we can assign Ctrl-1, Ctrl-2 and so on, to any layout.Question appeared after ...
1
vote
0answers
23 views

Keyboard shortcut with Shift in Mate

I installed Fedora 21 with Mate. When I tried to bind the hotkey Ctrl+Alt+Shift+Up (for moving a window to some desktop), it tells me that I am already using Ctrl+Alt+Up for switching. I can't ...
2
votes
2answers
22 views

Disable keycode printing in urxvt

When I press alt + left arrow, Urxvt prints [D, or alt + up arrow prints [A. Is there a way to disable this behavior so that urxvt just does nothing?
3
votes
1answer
29 views

Awesome window manager stops recognizing shortcuts

I recently started using Awesome (the X windows manager) in my Ubuntu. It is awesome! But some times (once a day max) it kinda crashes — or at least stop accepting shortcuts input. I get stuck on the ...
2
votes
2answers
58 views

Exit from less by pressing ESC key

Can I setup less program to exit from it by pressing ESC key?
4
votes
3answers
80 views

Bash, insert last used argument of current command

I'm aware that you can recall the last argument of the previous command with !$ and also cycle through previous arguments with ALT + . but can you recall the last argument used for the current command ...
1
vote
0answers
23 views

Can I exclude some key bindings in VirtualBox?

I am running Ubuntu 14.10 as my host system. Then I have Virtualbox with Windows 8.1 as guest OS. I am using workspaces in Ubuntu and I want to run Virtualbox in fullscreen in one workspace and at the ...
0
votes
1answer
7 views

fluxbox: how to disable raise (ALT+Down/Up)

I am using fluxbox and would like to disable Alt+Down and Alt+Up when I am inside a specific application. How can I do it?
2
votes
0answers
27 views

X11: disable Shift+NumpadN outputing N when NumLock is off to have Shift+NumpadHome

I’m using GNOME 3.14.3 on ArchLinux. If I press Shift+Home (regular Home) while the cursor is placed at the end of a line, the line gets selected. That’s expected. If I press just the regular Home, ...
1
vote
1answer
30 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 ...
0
votes
0answers
14 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 ...
1
vote
0answers
14 views

Remap or unmap 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
38 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
29 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 ...
0
votes
2answers
60 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?
1
vote
1answer
34 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
135 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?
1
vote
1answer
38 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
255 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
81 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
31 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
1answer
79 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
36 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?
0
votes
0answers
9 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 ...
1
vote
0answers
52 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 ...
1
vote
0answers
193 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
25 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
23 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
62 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
21 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) ...
0
votes
0answers
102 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
66 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.
0
votes
2answers
47 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
47 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
44 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
37 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
59 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
44 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
37 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
76 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 ...
4
votes
2answers
198 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
54 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
0answers
44 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
1answer
92 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
266 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
44 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 ...
1
vote
2answers
69 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 ...
1
vote
1answer
70 views

How to kill app that captures keyboard input for killing the app?

I'm using the i3wm. When I run Open Arena I can't force kill it with Mod+Shift+Q like I can with other apps, I can't restart the wm or anything. Open Arena is stealing the keyboard input. So ...