summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfig/chroot_local-hooks/03-steelfire-fixes21
1 files changed, 21 insertions, 0 deletions
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