There are two keyboard layouts in this repo. One for X11/XKB and one for KBD. XKB is the one you would usually want. KBD is for ttys and terminals without graphics.
The keyboard layout is based on the US layout, but with some special keys:
- Swedish åäö on
Lv3+[';
- German üß on
Lv3+us
- UK £ on
Lv3+3
- EU € on
Lv3+e
- Cyrillic alphabet on
Group2
(Not included in KBD variant) - Caps Lock as Control (
Control_L
)
- Level 3 chooser is Alt-Gr (
Alt_R
) - Groups are changed with both left and right Controls (goes up or down in group list depending on which one is pressed first) (Not included in KBD variant)
- Add the file -seba.x11- to
~/.config/xkb/symbols/
mkdir -p ~/.config/xkb/symbols && ln -s `pwd`/seba.x11 ~/.config/xkb/symbols/seba
- Add the file
evdev.xml
to~/.config/xkb/rules/
mkdir -p ~/.config/xkb/rules && ln -s `pwd`/evdev.xml ~/.config/xkb/rules/
- Logout + login.
- Set Seba keyboard layout
setxkbmap -layout seba
- Copy
seba.kbd
to/usr/local/share/kbd/keymaps
mkdir -p /usr/local/share/kbd/keymaps && ln -s `pwd`/seba.kbd /usr/local/share/kbd/keymaps/seba
2a. Testing it out
loadkeys /usr/local/share/kbd/keymaps/seba
2b. For persistent usage
localectl set-keymap --no-convert /usr/local/share/kbd/keymaps/seba
- install
xorg-xkbprint
- Add the file -seba.geometry- to
~/.config/xkb/geometry/
mkdir -p ~/.config/xkb/geometry && ln -s `pwd`/seba.geometry ~/.config/xkb/geometry/seba
- Generate PDF
setxkbmap -layout seba -geometry 'seba' -print | xkbcomp -I/home/seba/.config/xkb - - | xkbprint -ll 2 - - | ps2pdf - > seba.pdf
P. Hutterer blog post: User-specific XKB configuration man keymaps man xkeyboard-config