From e615641b247593c7a9e4cbbdf6f700897815c2d9 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 27 May 2019 22:06:09 +0100 Subject: [PATCH] Set keyboard locale --- files/keyboard.conf | 5 +++++ tasks/input.yml | 7 +++++++ 2 files changed, 12 insertions(+) create mode 100644 files/keyboard.conf diff --git a/files/keyboard.conf b/files/keyboard.conf new file mode 100644 index 0000000..2dfde0a --- /dev/null +++ b/files/keyboard.conf @@ -0,0 +1,5 @@ +Section "InputClass" + Identifier "system-keyboard" + MatchIsKeyboard "on" + Option "XkbLayout" "gb" +EndSection diff --git a/tasks/input.yml b/tasks/input.yml index c047487..4e9e32a 100644 --- a/tasks/input.yml +++ b/tasks/input.yml @@ -19,6 +19,13 @@ mode: 0644 owner: "{{ user }}" +- name: Install keyboard config + copy: + src: ./files/keyboard.conf + dest: /usr/share/X11/xorg.conf.d/00-keyboard.conf + mode: 0644 + owner: "{{ user }}" + - name: Install libinput-gestures config copy: src: ./files/libinput-gestures.conf