Set X11 keyboard layout

This commit is contained in:
Anthony Rose 2019-10-14 09:04:40 +01:00
parent 9e7e1bc64f
commit 9dab60356f
2 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1,5 @@
Section "InputClass"
Identifier "keyboard-gb"
MatchIsKeyboard "on"
Option "XkbLayout" "gb"
EndSection

View file

@ -49,3 +49,8 @@
path: /etc/ttys path: /etc/ttys
regexp: '^ttyv8 .*' regexp: '^ttyv8 .*'
line: 'ttyv8 "/usr/local/bin/xdm -nodaemon" xterm on secure' line: 'ttyv8 "/usr/local/bin/xdm -nodaemon" xterm on secure'
- name: Set xorg keyboard layout
become: true
copy:
src: keyboard-gb.conf
dest: /usr/local/etc/X11/xorg.conf.d/keyboard-gb.conf