From 7b685ebe9891a6327ace17c5641e07b99077c0aa Mon Sep 17 00:00:00 2001 From: Alexander Grothe Date: Sun, 17 Dec 2017 10:38:12 +0100 Subject: [PATCH] Set X11 keyboard configuration according to /etc/default/keyboard values --- Manual.org | 27 +++++++++++++++++++++++++++ roles/yavdr-xorg/tasks/setup-xorg.yml | 22 ++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/Manual.org b/Manual.org index 76df4d6..b8dbe0c 100644 --- a/Manual.org +++ b/Manual.org @@ -1475,6 +1475,23 @@ b'\xde\xad\xbe\xef' - "/etc/systemd/system/x@.service.d/" - "/etc/systemd/system/vdr.service.d/" - "/etc/systemd/system/user@{{ vdr.uid }}.service.d/" + - "/etc/X11/xorg.conf.d/" + +- name: shell | write keyboard configuration from /etc/default/keyboard to /etc/X11/xorg.conf.d/00-keyboard.conf + shell: | + source /etc/default/keyboard + + mkdir -p /etc/X11/xorg.conf.d/ + cat > /etc/X11/xorg.conf.d/00-keyboard.conf < /etc/X11/xorg.conf.d/00-keyboard.conf <