TIL: Setting keyboard layout for login screen

This commit is contained in:
Asocia 2021-09-07 17:47:22 +03:00
parent ba4b2b4d07
commit 8bdefcd2c1

View File

@ -0,0 +1,12 @@
Recently, I switched to dvorak layout and I am using it everywhere to get used to it. This was the command that worked everywhere (including the login screen):
```
localectl --no-convert set-x11-keymap us pc105 dvp caps:ctrl_modifier
```
I don't know what `--no-convert` does but I saw it on the Arch Wiki :D
Here are some helpful links:
- `https://wiki.archlinux.org/title/Xorg/Keyboard_configuration`
- `https://unix.stackexchange.com/a/111042/417514`