1
vote
1answer
39 views

xmodmap causes incorrect keyboard shortcuts

I used xmodmap to switch the Caps Lock and Ctrl keys on my Thinkpad X120e. The keys are swapped but this has caused keyboard shortcuts in several applications to stop working correctly. In Libre ...
9
votes
3answers
2k views

How to get keycodes for xmodmap?

I'm trying to use xmodmap to remap alt/windows 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 ...
5
votes
1answer
265 views

Cannot switch to console anymore after using Alt_R as mod4

I'd like to use the right ALT key as 'mod4' (most notably because, by default, the 'awesome' window manager is using mod4 as a modifier for most WM commands and I like that idea a lot). However I've ...
4
votes
1answer
271 views

F4-key mysteriously reassigned

In the middle of today, my F4 key started producing the letter p, without my conscious acting and I can't seem to revert this change. Whenever I press F4, p appears instead. How can I change this ...
7
votes
2answers
1k views

Mapping key combination with xmodmap

I'm trying to achieve the following mapping keycode 135 = <Ctrl-C> Is it possible to achieve this in some way?
1
vote
4answers
617 views

Toggle between dvorak and qwerty

I've recently started to learn the dvorak keyboard layout, but I still need to use qwerty sometimes. I'm looking for a script to toggle between the two keyboard layouts. Also, I'd like to invoke ...