The xkb tag has no wiki summary.
3
votes
1answer
271 views
Use setxkbmap to swap the Left Shift and Left Control
Is it possible to swap the Left Shift and the Left CTRL keys using setxkbmap instead of xmodmap?
EDIT
I have switched to Fcitx, which works way much better with my keyboard layout and customized ...
15
votes
7answers
5k views
How do I get current keyboard layout?
I'm wondering is there any command line tool, that returns current keyboard layout.
I have XkbLayout set to us, ru.
Update: setxkbmap returns layout settings, not selected layout. E.g.:
$ setxkbmap ...
14
votes
1answer
418 views
Switch between numbers and symbols on caps lock
Is it possible to set caps lock to switch between inserting numbers and the symbols they normally trigger when one holds shift?
e.g. when you normally press the 9 key, you get a ( unless caps lock is ...
2
votes
2answers
266 views
How to put some keyboard layout aside from layout switching ring?
An exact thing I need is to
switch between Russian and English layout with my favorite shortcut (namely Shift-CapsLock)
switch to Belarusian layout with another shortcut (say, Ctrl-RightShift, but ...
1
vote
0answers
31 views
How can I replace my keyboard and mouse udev rules with xorg.conf.d?
Since it is impossible to make udev rules that affect Xorg settings run on startup, I'd like to replace these with other alternatives. At the moment, I have two primary udev scripts that I've written. ...
3
votes
3answers
1k views
how to assign another modifier to Alt key for X11?
Aim:
I would like to assign Alt to CapsLock-key, and Meta to Alt-key. But in such way, Alt-key would no longer be recognized as Alt, and CapsLock-key would no longer be recognized as CapsLock.
...