Set X11 keyboard layout
This commit is contained in:
parent
9e7e1bc64f
commit
9dab60356f
2 changed files with 10 additions and 0 deletions
5
roles/distro/files/keyboard-gb.conf
Normal file
5
roles/distro/files/keyboard-gb.conf
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
Section "InputClass"
|
||||||
|
Identifier "keyboard-gb"
|
||||||
|
MatchIsKeyboard "on"
|
||||||
|
Option "XkbLayout" "gb"
|
||||||
|
EndSection
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue