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

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
24 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
28 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
118 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
40 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 ...
3
votes
0answers
13 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
15 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 ...
3
votes
1answer
207 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
24 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
49 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
34 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 ...
1
vote
2answers
25 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
55 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?
1
vote
0answers
22 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
68 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
29 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
30 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
35 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
42 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
52 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 ...
2
votes
0answers
62 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. ...
1
vote
0answers
46 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 ...
4
votes
2answers
144 views

Why can't Emacs running in a terminal distinguish Ctrl+; from “;”?

This question arose from my previous question on emacs beta. In short I want to bind C-; to an Emacs functions in a terminal, but it seems that something captures this key before it reaches Emacs: ...
1
vote
1answer
62 views

How to remap keyboard shortcut for context menu in Xubuntu

I'm using Xubuntu 14.04 and typing on a keyboard without "Windows" and "context menu" keys (Unicomp Model M). Currently, I get context menu (mouse right-click) with Shift+F10, but when touch-typing, I ...
1
vote
0answers
30 views

How can I remap a key combination to a different one?

I have a keyboard with a US layout and there is a special key that triggers Ctrl+Z (key codes 37 and 52). The problem is that I'm using it with a QWERTZ layout (selected during installaiton) and ...
1
vote
2answers
26 views

Why doesn't this sequence of keys, using SyRq, work

I have Fedora 20, with zshell and Mate desktop. I have just come across this article about using SysRq keys, but they don't give the results shown there. I am using Alt with the key marked "Home" ...
0
votes
0answers
14 views

key replacement (like autohotkey?) [duplicate]

I have several broken keys on my laptop keyboard, which I replaced with key commands in Windows using autohotkey. Autokey, the closest linux alternative, has fallen out of development and won't run on ...
2
votes
0answers
32 views

Copy and Pasting Script for the Alphabet and Numbers [closed]

How would I create the following shortcut? Ctrl+Win+A = Copy selected text to a unique "A" variable. Win+A = Paste the text which is binded to the unique "A" variable. And then extend this to the ...
1
vote
1answer
39 views

Tmux: how do I bind to C— (control-minus)?

I'd like to bind to control-minus in my .tmux.conf but it doesn't seem to work: bind C-- split-window -v Is this possible?
2
votes
1answer
17 views

List of acceptable entries in openbox config (keyboard)

Is there an exhaustive list of the tokens that openbox config xml files recognize for keybindings? e.g. F1 = F1 ... W = Windows C = CTRL I'm specifically interested in how openbox ...
2
votes
1answer
85 views

From a bash script, is there a way to get the keybinding for “Resize window”?

This question is related to another that I asked How do I execute a program in Xfce and make it use another xfwm4 theme other than the default one? However, I'm now trying to get an answer that will ...
1
vote
1answer
53 views

Send specific signal number with specific key

I want to set a specific key like F12 to send me a specific signal number that out of linux signals range that I can handle this signal with trap command. How can I do that? NOTE: I'm working with ...
1
vote
0answers
54 views

Use a keyboard shortcut to switch between synergy-“ized” monitors/windows

Is it possible to map a command to my keyboard so that I can switch between my various windows? I checked on the synergy website but was not able to find very much about the subject. I'm trying to be ...
3
votes
1answer
15 views

How to navigate the panel by keyboard to launch applications in XFce4?

In most applications, I can use TAB, TAB, to navigate from one button to the next, then ENTER to select it. I placed several launchers on the XFce4 panel. Is there any way to launch items located ...
0
votes
0answers
20 views

How to tie a keyword (to be pasted) to a key in Linux

I have to configure the keyboard to paste text 'abc123' into any program after pressing key combination Alt or Ctrl + a number. It has to work for every program, and I prefer to do it through the ...
1
vote
0answers
38 views

Linux Mint Search launcher doesn't do anything

In Mint 17, using Cinnamon, if I go to System Settings > Keyboard > Keyboard shortcuts > Launchers there is an option to set a shortcut for something called Search. However, whatever key ...
0
votes
1answer
139 views

Keyboard shortcut to launch Nemo

In Windows you can type Super+e to launch the file explorer. I find this really useful, particularly because almost every action I take starts with search for a file or folder. Is there an equivalent ...
2
votes
0answers
56 views

Hex codes for input key combinations

In iTerm2 one can setup keyboard shortcuts so that for a given input sequence, iTerm2 sends a specific hex code to the terminal. What exactly are these hex codes? And how can I identify a hex code ...
6
votes
1answer
61 views

Change inside comments with Vim

Is there a way to change inside of a comment with Vim? I know you can change inside brackets and quotes with i] and i". For example, If you are on a quote you can press, ci"my new textESC And ...
8
votes
1answer
670 views

What is the keyboard shortcut opposite to Ctrl+k?

Ctrl + K deletes rest of line in an UNIX command line. How do I delete all the text before the cursor?
1
vote
1answer
58 views

Archlinux ARM Rasperry Pi login buffer display and decryption fail

I have put the Archlinux Arm on my SD card and the first time I have done this it was all correct and worked well but I had to "reinstall" everything for several reason. So now I am doing the same ...
3
votes
1answer
62 views

zathura: How do I add a keybind for exec?

zathura is my default PDF reader. Some files cause it trouble though, and in such cases I run :exec acroread $FILE which automatically opens the same file with Acrobat Reader. How do I add a key ...
0
votes
0answers
129 views

Cannot change global keyboard shortcuts in Linux Mint XFCE

I am using Linux Mint 14 XFCE. I am trying to remove the default XFCE window manager shortcuts for workspace switching (Ctrl-F1, Ctrl-F2, etc.), as described in this question. The answers there ...
1
vote
2answers
121 views

Paste text from clipboard directly to browser and make Google search for it

When we need to paste something to Google Search from our clipboard, we need at least two or more clicks, before we can get to URL bar and hit CTRL+V and then Enter to start searching. I was thinking ...
1
vote
0answers
21 views

KDE global bindkey for 'accept-line'

Is there a way to bind Ctrl-j keys to send 'accept-line' in KDE? readline library has a nice feature called key bindings. There are quite a few default keybindings user may want to use. To see it, ...
0
votes
0answers
50 views

XFCE make media keys work globally?

I'm running Gentoo with xfce. I also have a logitech keyboard that has media keys like play and pause. The keys work fin in most programs, like vlc, if the program has the focus. I want these keys ...
3
votes
0answers
48 views

Keyboard shortcut for horizontal scrolling

Is there a utility I could use to scroll the active window horizontally using the keyboard?
0
votes
0answers
25 views

Additional keybinding combination to copy text to clipboard

I would like know, how to make copy to clipboard work not only with the default Ctrl+c key-combination but also using Ctrl+End for instance. How do I do that?
3
votes
3answers
75 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" ...
3
votes
1answer
95 views

Custom shortcut to i3lock screen

I'm having difficulties with creating a custom keyboard shortcut. I'm trying to lock my screen using i3lock with a picture. From the terminal, the command i3lock -i ~/Pictures/lock.png works like ...