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)

2
votes
1answer
457 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" ...
21
votes
5answers
6k views

How to enable killing Xorg with Ctrl+Alt+Backspace

I don't remember why they did this, but at one point X.org decided that disabling CtrlAltBackspace to kill it was a good idea. I know there's a way to re-enable it but I don't remember how. Can ...
0
votes
0answers
14 views

How to work gcc package compiler in Linux Mint 15 [on hold]

How to install the gcc package compiler. then i have tried gcc_4.9.2 package in Linux Mint 15 but it is not installed. This error said cc: error trying to exec 'cc1plus:exevb: no such file or ...
2
votes
3answers
955 views

console vim in screen session: remap Ctrl-Shift-Left, Ctrl-Shift-Right to not delete lines

I have my gvim setup so that I can select word-wise with Ctrl-Shift-Right, Ctrl-Shift-Left etc. (yes, I know it's a bad habit, but it works for me..). Unfortunately, these key combinations delete ...
1
vote
0answers
16 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', \ ...
2
votes
1answer
17 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.
0
votes
0answers
15 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
5 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 ...
6
votes
2answers
576 views

Is there a way to assign a shortcut key to nautilus' right click context menu?

Does anyone know of a way to assign a shortcut key combination to the menu items in the context menu that pops up in nautilus when you click on a file?
2
votes
1answer
14 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) ...
2
votes
3answers
4k views

Whisker menu remove keyboard shortcut

Using Linux mint 16, with XFCE as desktop environment. I have a problem removing the default keyboard shortcut (Super_L), for opening the Whisker menu. The shortcut shows up in Application shortcuts, ...
2
votes
1answer
680 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
26 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
0answers
23 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
178 views

Binding additional keyboard shortcuts in bash

I like typical GUI shortcuts: Ctrl+Backspace Ctrl+Del And other typical shortcuts. Are there any ready .bashrc with all this shortcuts available?
3
votes
1answer
1k 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 ...
1
vote
1answer
32 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 ...
0
votes
2answers
37 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
0answers
35 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 ...
2
votes
0answers
20 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 ...
3
votes
1answer
159 views

Ctrl+Alt+Backspace to kill X server can't be disabled

I would like to disable the Ctrl+Alt+Backspace shortcut to kill my X server. I have tried disabling it in the gnome-keyboard-properties "Layout Options..." dialog. When I start the dialog, the option ...
4
votes
2answers
573 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
2answers
647 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
1answer
43 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
27 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 ...
10
votes
2answers
8k views

Shortcut key for scrolling inside a terminal

What is the shortcut key for scrolling inside a terminal? If I hit the Up or Down arrow or PageUp or PageDown, it will only traverse through command history, not let me traverse the previous part ...
1
vote
1answer
28 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 ...
1
vote
0answers
28 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
44 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
132 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
44 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 ...
1
vote
1answer
38 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 ...
3
votes
0answers
21 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~ ...
25
votes
6answers
17k views

How to get keycodes for xmodmap?

I'm trying to use xmodmap to remap Alt / Super keys on Dell L100 keyboard, and have trouble getting the keycodes. For instance, using xev doesn't give me keycode for Alt FocusOut event, serial 36, ...
1
vote
2answers
42 views

Is there a shortcut (missing?) to move tab in xfce4 terminal app?

Using xfce4 in a Debian/Linux Jessie/Sid distribution, I am unable to find or set shortcut to move tab position in xfce4 terminal, like Ctrl-Shift-DgDown/PgUp in gnome terminal. This is really ...
5
votes
2answers
61 views

Find out which application listens to specific key bindings? [duplicate]

Is there an application to know which key is bound by which process and therefore not usable in another application?
3
votes
1answer
221 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
2answers
57 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
0answers
30 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 ...
7
votes
1answer
3k views

How to execute a script in shell when a shortcut key is pressed

How could I execute a script in Shell when a shortcut key is pressed. Essentially what I need is when a shortcut key is pressed the script should read from a file and display that content in the ...
1
vote
0answers
29 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 ...
2
votes
1answer
85 views

How to use CapsLock instead of Escape in Vim?

I would like to map my CapsLock to Escape. How do I represent CapsLock in .vimrc? I know to map space to a command I would do something like this: :map <space> viw How would I map CapsLock ...
3
votes
1answer
34 views

Does gnome-terminal have an equivalent for xterm's modifyOtherKeys?

xterm has a modifyOtherKeys option that tells it to construct an escape sequence for various key combinations that are normally not available. That option can be enabled in .Xdefaults, or with a ...
1
vote
1answer
36 views

How to enable yank-nth-arg using vi mode on Bash?

Hey guys I'm trying to figure out how can I take my nth arg, from my last command, without using the !:nth. In a normal bash (emacs mode) I can do that using the follow shortcuts: <ESC>nth_arg ...
1
vote
2answers
39 views

Auto-Complete and Shortcut Keys for Linux

I'm looking for something that will allow me to type anywhere, on anything and for this software to auto-complete. I used FastKeys on Windows which would also allow you to do custom shortcuts to open ...
0
votes
0answers
49 views

How to switch between the virtual consoles ttyv1, ttyv2 10 on FreeBSD?

The CTRL+ALT+F1..F12 keybinding does not work. I'm using kde interface.
2
votes
0answers
93 views

How can I use the scroll lock key to toggle the back light on my keyboard?

I recently purchased a backlit keyboard that requires Scroll Lock for toggling the lights. I quickly came into some issues that can be worked around with a few simple bash commands - See this thread. ...
2
votes
0answers
55 views

Behavior of ALT in Qt5 applications

I work in Arch Linux 64bit with both English and Hebrew keyboard layouts available, using Alt+Shift to change between them. I recently noticed that when I work in Texmaker, which is a Qt5 ...
1
vote
0answers
49 views

keyboard shortcut for inserting text

how to set a keyboard combination for inserting special string in current window at current position? for example, when I'm on Firefox address bar, or Chrome address bar, and press Alt+Ctrl+N it ...
3
votes
3answers
85 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" ...