Keyboard Setup
1. Which keyboard layouts do we list? All available on the system
- query these XML files:
- /usr/share/X11/xkb/rules/base.xml
- /usr/share/X11/xkb/rules/base.extras.xml
2. Places where keyboard config is written
- write the file /etc/default/keyboard:
# KEYBOARD CONFIGURATION FILE
# Consult the keyboard(5) manual page.
XKBMODEL="pc105"
XKBLAYOUT="${LAYOUT}"
XKBVARIANT=""
XKBOPTIONS=""
BACKSPACE="guess"
- keyboard layout has to edit the following skel files:
- for sway: write out https://source.mnt.re/reform/reform-tools/-/blob/main/etc/skel/.config/sway/config.d/input?ref_type=heads
- for wayfire: sed "xkb_layout" in the file https://source.mnt.re/reform/reform-tools/-/blob/main/etc/skel/.config/wayfire.ini?ref_type=heads#L150
Edited by minute