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
0answers
13 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 ...
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 ...
1
vote
0answers
18 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
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 ...
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.
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) ...
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
28 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
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
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 ...
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 ...
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 ...
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
28 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
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 ...
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~ ...
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 ...
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
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 ...
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
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 ...
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?
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
86 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
37 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
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 ...
2
votes
0answers
94 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
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 ...
5
votes
2answers
161 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
82 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
31 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
40 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
43 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
22 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
97 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
63 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
64 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
18 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
21 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
47 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 ...