summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2017-11-01 14:04:21 +0100
committerHolger Paradies <retabell@gmx.de>2017-11-01 19:10:06 +0100
commit7c9b41e2408567145f54d8148a8669e45d436761 (patch)
tree3ba959769cc527dcd590dd00c16b306ab7ef2daa /config/chroot_local-hooks
parent30554cd5846392a720e7e0d52114437796413178 (diff)
downloadkanotix-7c9b41e2408567145f54d8148a8669e45d436761.zip
kanotix-7c9b41e2408567145f54d8148a8669e45d436761.tar.gz
steelfire fix provide libinput.conf
Diffstat (limited to 'config/chroot_local-hooks')
-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