From 7c9b41e2408567145f54d8148a8669e45d436761 Mon Sep 17 00:00:00 2001
From: Holger Paradies <retabell@gmx.de>
Date: Wed, 1 Nov 2017 14:04:21 +0100
Subject: steelfire fix provide libinput.conf

---
 config/chroot_local-hooks/03-steelfire-fixes | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100755 config/chroot_local-hooks/03-steelfire-fixes

diff --git a/config/chroot_local-hooks/03-steelfire-fixes b/config/chroot_local-hooks/03-steelfire-fixes
new file mode 100755
index 0000000..1324af7
--- /dev/null
+++ b/config/chroot_local-hooks/03-steelfire-fixes
@@ -0,0 +1,21 @@
+#!/bin/sh
+for file in /root/config/*; do [ -r $file ] && . $file; done
+
+if [ "$LB_DISTRIBUTION" = "stretch" ]; then
+
+# enable tapping
+
+mkdir -p /etc/X11/xorg.conf.d
+
+cat <<"EOF" >/etc/X11/xorg.conf.d/40-libinput.conf
+Section "InputClass"
+        Identifier "libinput touchpad catchall"
+        MatchIsTouchpad "on"
+        MatchDevicePath "/dev/input/event*"
+        Driver "libinput"
+        Option "Tapping" "on"
+        #Option "DisableWhileTyping" "1"
+EndSection
+EOF
+
+fi
-- 
cgit v1.0