Keyboard layout setup
Console
Requires a reboot (changes /etc/default/keyboard):
sudo dpkg-reconfigure keyboard-configuration
Graphical
Show keys presed
wev
i3
Defined in ~/.i3/config:
- Super+home:
~/.screenlayout/home.sh - Super+end:
~/.screenlayout/laptop-only.sh
Those execute: ~/bin/usb_keyboard_udev.sh
This script will modify the keyboard by using setxkbmap and xmodmap.
Possible keyboard layout codes
see /usr/share/X11/xkb/rules/evdev.lst
Change keyboard layout
setxkbmap us
Special Characters
Compose key is configured with setxkbmap
setxkbmap -option compose:rwin
Then type:
- Right Windows + Shift + " + a = ä
- Right Windows + Shift + " + Shift + a = Ä ...
- Right Windows + s +s = ß