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)

6
votes
0answers
182 views

Linux kernel dropping custom keyboard scan codes

I have a vintage IBM 122 key model M keyboard that I am adapting for use on a modern computer. I am using a Teensy 2.0 to do the encoding and to handle the USB side of things. I borrowed the firmware ...
5
votes
0answers
368 views

Remapping keys that generate multiple scan codes

I have a ThinkPad W540. On its keyboard there are four multimedia keys above the numpad. Two of those keys generate keycodes (and, apparently, scancodes) that correspond to combination of keys, Win_L ...
4
votes
0answers
69 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~ ...
3
votes
0answers
71 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 + ...
3
votes
0answers
70 views

Keyboard shortcut for horizontal scrolling

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

Typing punctuation adds an accent to the preceding letter after my laptop is docked for a few minutes

I am running Manjaro XFCE. Everything worked like a charm for months now, but 2 weeks ago the keyboard configuration from my external keyboard seems damaged. Writing on my laptop itself works ...
3
votes
0answers
72 views

Make Compose not compose after certain key presses

On my laptop, I use the Win as a modifier. With the Fn key pressed, the key sends a different keysym and I use that as a Compose key. keycode 133 = Hyper_L keycode 134 = Multi_key add mod4 = Hyper_L ...
3
votes
0answers
4k views

Shortcut to minimize all windows?

In Windows systems, I use the keyboard shortcut Start-D (show desktop) a lot. I'm using Linux Mint, and I wonder: Can I create a keyboard shortcut that will do the same? edit after the comment from ...
3
votes
0answers
406 views

How to map a complex multi-key combination into a shortcut to execute a process, in X (across WMs etc)?

I am wondering how can I make a complex multi-key combination like say, Ctrl+Alt+T into a shortcut to execute me a process,xterm for instance? The important caveat is that I want it wired into either ...
3
votes
0answers
133 views

How can I prevent Control+Alt+D from logging me out (of Gnome 2.22 on Debian 5)?

I was using Emacs, and typed Control+Alt+D in order to run Emacs' "down-list" command. I was dismayed to see, however, that I was instantly logged out; I assume this is some Gnome keyboard shortcut. ...
2
votes
0answers
18 views

Change menu shortcuts in Evolution

I'm trying to change menu shortcuts in the E-mail client Evolution, specifically removing the "send message" via "Ctrl-Enter" shortcut, but can't figure out how. My system is rather new: Debian 8 ...
2
votes
0answers
30 views

Is it possible to make the right mouse button do something else in Linux Mint?

I have a cheap 2 button mouse so wanted to turn the right mouse button into my gesture button (with Easystroke). Perhaps making a double right click act as a normal right click.
2
votes
0answers
33 views

Remapping Num Lock key to function as Caps Lock

As a followup to this question, my Caps Lock key is now mapped to Compose instead. However, it turns out that my 14 month old toddler still manages to turn on Caps Lock from time to time with his ...
2
votes
0answers
34 views

vim arrow keys insert mode mapping

I want to move the cursor without using arrow keys in insert mode too. I've tried the following: :imap <A-h> <Left> but after moving cursor left by Alt-H from insert mode I get back to ...
2
votes
0answers
100 views

Enable Alt+Ctrl+t to open a terminal in LXDE

How can I enable shortcut Alt + Ctrl + T to open terminal on Debian, LXDE? I found that this is possible to define in rc.xml file. In LXDE webpage I found message: How do I define LXDE settings ...
2
votes
0answers
47 views

Fedora 20 KDE: shortcut for airplane mode

is there a possiblity to have a Keyboard shortcut (e. g. fn + f10) for the airplane mode (Switch off all wifi Connections) under KDE (Fedora 20)?
2
votes
0answers
33 views

KeePassX Global Autotype corrupting keys when used with VMware

I'm running VMWare Workstation on Arch Linux with KeePassX set to use ALT + "A" as a global auto-type keybinding. Prior to running VMware, KeePassX works great. When VMware releases the keyboard from ...
2
votes
0answers
37 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, ...
2
votes
0answers
27 views

How to map PowerOff button as End on XWindows?

I have this unfortunate PowerOff button on my laptop situated in the place of the End key: I already have a way to disable the PowerOff handler triggered by the OS (Ubuntu 14.04 in my case). Now I ...
2
votes
0answers
78 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 ...
2
votes
0answers
85 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 ...
2
votes
0answers
110 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 ...
2
votes
0answers
85 views

Dead keys maps missing in certain programs only

I cannot use ^ with certain programs. I'm working in KDE on OpenSUSE 13.1 64b. ^ works as a dead key in Konsole, Firefox, Chrome, Gvim. ^ has no effect (pressing ^ then a just inserts a) in Xterm, ...
2
votes
0answers
85 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
288 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
141 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 ...
2
votes
0answers
343 views

How to control keyboard backlight using hotkeys

How can I turn increase and decrease the keyboard backlight in notebook on Linux using the same hotkeys used on Windows? In Windows I can control the keyboard backlight by pressing hotkeys (FnF9 to ...
2
votes
0answers
191 views

Fluxbox: how to map a key for taking screenshot of selected area?

I want to map the Ctrl+Alt+4 to take a screenshot of a selected area. Right now I can do that from a terminal using gnome-screenshot -a. I have tried putting: Control Mod1 4 :ExecCommand ...
2
votes
0answers
173 views

Linuxwacom xsetwacom/xorg.conf

I have a CentOS 6.2 workstation with linuxwacom 0.21.0 installed. I am trying to map a button on a cintiq tablet to a keyboard key. I can do it successfully using: xsetwacom set "Wacom Cintiq 24HD ...
2
votes
0answers
301 views

Alt key not recognized - Dell Inspiron n4110/Mint 16 (Petra)

I'm running a fresh install of Mint 16 on an essentially-brand-new Dell Inspiron N4110. I booted to Kali Linux initially, and noticed AltTab, AltF4, and AltD (address bar focus) weren't working in ...
2
votes
0answers
83 views

Registering new mouse buttons with events in KDE

Is there a file or something where I can register the mouse events to do something? I'm using KDE. For example, in Windows, pressing Win + ArrowKeys nicely aligns the windows, I am looking for the ...
2
votes
0answers
304 views

How can I prevent my bluetooth keyboard from sleeping?

I like to type using a bluetooth keyboard. After about 5 or 10 minutes of being idle, the keyboard seems to go to sleep. Once the keyboard is asleep, there is a 5 to 10 between the next key press ...
2
votes
0answers
293 views

How to reset linux centOS 6.0 keyboard shortcuts with custom changes to default one?

On Single Desktop Environment.... I created some custom shortcuts, but currently I want to revert all the changes to default settings (which having no custom changes). Example: created like CTRL + N ...
2
votes
0answers
75 views

Keyboard-bound applications in Openbox

Following the template of another stack user I've bound a keyboard shortcut to toggle an application between hidden and fullscreen. The only problem is, no matter what application I apply it to, I ...
2
votes
0answers
226 views

Remapping shifted function keys in XKB

I'm working on a keyboard layout for the Khmer language and I'm quickly running out of space. My aim is to create a keymap that includes all the characters in the Khmer script as well was their ...
2
votes
0answers
117 views

Xmonad seems like a (physically) painful experience

I've been using Xmonad for several hours after hearing recommendations from several people. Currently my configuration is very basic. I mapped the modifier key to the "windows key" as suggested in ...
2
votes
0answers
148 views

Awesome GNOME recognizes my media keys but fails to act upon them

I'm using Awesome GNOME. When I log into the GNOME Shell, my up and down volume keys work. When I login to Awesome GNOME, they don't. However, when I go into gnome-control-center to set them, the ...
2
votes
0answers
128 views

Application launcher with grid like hotkeys

Is there a desktop enviroment or tool wich can provide the following functionality? If I press a self defined hotkey, a menu of self defined shortcuts/launchers is shown somewhere on the screen where ...
2
votes
0answers
652 views

How to scroll in a terminal by line in GNOME Terminal 2.31.3?

I use Shift+(PgUp/PgDown) while scrolling in the terminal. But it seems to scroll one screen (or a half may be) at a time. I feel comfortable scrolling the terminal by line with the mouse, but don't ...
2
votes
0answers
1k views

How to write dconf overrides for site-custom keybindings?

I want to add custom keybindings using dconf. Previously, I had do the same job using gconf and succeeded. However, there are some problems using dconf. (I'm working on a Debian package, so ...
2
votes
0answers
487 views

How to use Sony VAIO buttons to lock the screen?

I have a Sony Vaio VPCEG laptop, like this. I'm using Lubuntu 11.10. I'd like to use those 3 buttons (Assist, WEB and VAIO). They work with Windows 7, to recover the system and to open the browser. ...
2
votes
0answers
44 views

Keyboard-only captioning in digikam

In digikam 2.5.0, is it possible to caption a series of photos using only the keyboard? If yes, how?
1
vote
0answers
60 views

Find commands of default keyboard typing shortcuts in Gnome 3

I have Debian GNU/Linux 8 Jessie (DE GNOME Shell 3.14.2) installed on my machine. After having set Alt + PageUp and Alt + PageDown shortcuts for multimedia sound volume Up\Down respectively, I found ...
1
vote
0answers
8 views

xmodmap clear modifier not working

Trying to understand XKB and how to customize keyboard mappings, specially for modifiers. A little experiment on disabling modifiers, leads to an unexpected result: (1) Modifier maps before $ ...
1
vote
0answers
25 views

How to use media keys in GNOME Shell with local and web media players

Whenever I open a media player (i.e. Rhythmbox, Banshee...), I am able to control them with the media keys (play/pause, next song, etc.). Now I would like to pass those media keys to my web browser as ...
1
vote
0answers
16 views

In X11, how can I create a custom key combination that maps to PgUp, PgDn, Home, and End?

My keyboard does not have keys for Home, End, Page Up, and Page Down. I would like do the following: Map Shift+Alt+⇦ to Home Map Shift+Alt+⇨ to End Map Shift+Alt+⇧ to Page Up Map ...
1
vote
0answers
48 views

Some of fn keys not recognized after upgrade

After upgrading my system (including kernel) I discovered that some of fn keys (XF86MonBrightnessUp and XF86MonBrightnessDown) are not recognized by xev and even showkey. Each time one of these keys ...
1
vote
0answers
24 views

Firefox loses focus when switching keyboard layouts (Linux Mint Cinnamon)

I use many different keyboard layouts and I do change them often. That is why I defined keyboard shortcuts in Cinnamon (alt+F1, alt+F2 and so on). Now, this works ok in the applications I use, except ...
1
vote
0answers
47 views

Make a key act as a modifier when combined with another key

I want to achieve the following effect: [ Key1 pressed & held, then Key2 pressed & released, then Key1 released ] acts as [ Ctrl + Key2 ] but Key1 pressed and released act as Key1 So, for ...
1
vote
0answers
58 views

Escape the influence of flash elements in webpage using keyboard

When watching a flash video in a browser (a youtube video in iceweasel, for example) if I interact with the flash element with a mouse, click to play or pause or something, the flash element seems to ...