1
vote
1answer
37 views

LXDE: How to run a program/command when I press one or more keys?

I have a numpad on my keyboard and I want to make the keys do something when (the otherwise useless) ScrollLock is on under LXDE graphical environment. For example, I want to run my browser when I ...
3
votes
0answers
40 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 ...
2
votes
3answers
86 views

Remapping a keyboard key to print ⸮ (irony mark)

I find myself using the irony mark ⸮ unicode U+2E2E (or ؟ unicode U+061F) in both mcabber and vim a lot. The old copy-and-paste antipattern is tedious so I thought I would rename one of the many ...
0
votes
1answer
33 views

xbindkeys and messed up outputs

I am trying to set some key bindings for the use inside my wm. so I did xbindkeys -mk and start testing with keys. The result was somehow not what I expected. Left wind key ===> m:0x50 + c:115 ...
1
vote
0answers
332 views

ElementaryOS / Specific layout

For switching layouts between three different languages I use Ctrl+Shift but this approach very slowly. I want to use specific combination for the specific layout. Like: English -> Ctrl+Shift+1 ...
2
votes
1answer
54 views

Keypad plus and minus names in ~/.XCompose

I use XIM under Debian Linux with Gnome 2. Many compose sequences are already defined in the system, including the one for ± sign: palec@Palec:~$ grep PLUS-MINUS ...
1
vote
1answer
203 views

how to send keyboard signal using a shell script

I have an application in graphical interface that when I run it, it's not opened in full screen mode, but when I use the keyboard shortcut Alt+Ctrl+M , it becomes fullscreen, I want to change the ...
1
vote
0answers
125 views

Configuring Caps Lock as modifier and layout switcher

I want to set the caps lock key working as a modifier (modkey) and layout switcher at the same time. I want Caps Lock to act as a modkey in awesome in different hotkey combinations, for example, ...
2
votes
0answers
54 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 ...
16
votes
1answer
458 views

Shortcut keys that are independent to keyboard layout

Is there a way to define an association of a particular physical key of the keyboard to some action, independently of the letter that this key is associated to in any layout? Example: In most ...
8
votes
1answer
100 views

Map a symbol to a specific key

I have the following problem: I use the intl variant of gb keyboard layout, i.e., what you get with: setxkbmap -layout gb -variant intl I use gmail in Firefox, and for some reason, the gmail ...
5
votes
2answers
155 views

How to assign shell command to key?

I want to assign my script to special key on my keyboard. xmodmap recognize this key as XF86AudioMute, but I want to execute my script when it pressed. How to do it? My window manager is Window ...
5
votes
1answer
562 views

Keyboard shortcut to copy current command from terminal to clipboard [duplicate]

Is there any way to copy current command (line typed in bash prompt) in terminal to X-clipboard without involving a mouse?
2
votes
3answers
548 views

switching windows in twm with keyboard shortcuts

I am using a system that runs twm and I am wondering if it is possible to switch between windows using keyboard shortcuts, as I do in gnome with Alt+Tab.
2
votes
1answer
243 views

Keyboard shortcut for SIGTERM in GUI application?

Related to another question, is there a way to send SIGTERM to the currently focused local GUI window application with a keyboard shortcut? Like clicking the [X] button in most WMs or Ctrl-c for the ...
8
votes
2answers
192 views

Single key audio capture in Linux (save on key release)

I'd like to run a program that records audio only when the Right Control key is held down. On keyboard release the result would write to disk as, e.g. yy-mm-dd hh:mm.ogg. How might I do that? $ ...
0
votes
1answer
68 views

Sawfish and fvwm bindings not working when logging in with a display manager

On one machine running Debian squeeze, when I log in with a display manager (I tried xdm, gdm or kdm), none of my Sawfish key or mouse bindings have any effect. If I log in in text mode then run ...
1
vote
1answer
346 views

Fedora 17 doesn't detect some key-presses

About 1 week ago, I installed MATE desktop (Gnome2 fork) because I wanted to use XMonad in gnome. So I am pretty sure this problem has something to do with MATE. My keyboard is just a basic HP ...
21
votes
5answers
12k 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, ...
3
votes
2answers
1k views

Is there a way to remap the AltGr key to Ctrl with setxkbmap?

I've already checked the option section in /usr/share/X11/xkb/rules/base.lst but I didn't find an entry for AltGr...
4
votes
3answers
149 views

Making shortcuts cross desktop environment, possible?

I'm a big fan of keyboards, so a lot of thing a done by combination of keys, like open a file browser, web browser etc. Is there some daemon that can monitor my key presses, and launch some program ...
4
votes
1answer
567 views

Fetching user input while running in the background

I am writing a script that prompts the user for input and does some processing afterwards. I was using read to get the data, but then I noticed that when the script is ran with a keyboard shortcut (I ...