From c7b7c3a3096cb87d57dafa6cdac526b2c7944e2b Mon Sep 17 00:00:00 2001 From: Thanos Apostolou Date: Thu, 6 Apr 2017 16:45:20 +0300 Subject: [PATCH] enable touchpad tap-to-click by default --- .../etc/X11/xorg.conf.d/70-synaptics.conf | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 community/lxde/desktop-overlay/etc/X11/xorg.conf.d/70-synaptics.conf diff --git a/community/lxde/desktop-overlay/etc/X11/xorg.conf.d/70-synaptics.conf b/community/lxde/desktop-overlay/etc/X11/xorg.conf.d/70-synaptics.conf new file mode 100644 index 0000000..a8030fc --- /dev/null +++ b/community/lxde/desktop-overlay/etc/X11/xorg.conf.d/70-synaptics.conf @@ -0,0 +1,39 @@ +Section "InputClass" + Identifier "touchpad" + Driver "synaptics" + MatchIsTouchpad "on" + Option "TapButton1" "1" + Option "TapButton2" "3" + Option "TapButton3" "2" + Option "VertEdgeScroll" "on" + Option "HorizEdgeScroll" "on" + Option "SingleTapTimeout" "10" +EndSection + +Section "InputClass" + Identifier "touchpad ignore duplicates" + MatchIsTouchpad "on" + MatchOS "Linux" + MatchDevicePath "/dev/input/mouse*" + Option "Ignore" "on" +EndSection + +# This option enables the bottom right corner to be a right button on clickpads +# and the right and middle top areas to be right / middle buttons on clickpads +# with a top button area. +# This option is only interpreted by clickpads. +Section "InputClass" + Identifier "Default clickpad buttons" + MatchDriver "synaptics" + Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0" + Option "SecondarySoftButtonAreas" "58% 0 0 15% 42% 58% 0 15%" +EndSection + +# This option disables software buttons on Apple touchpads. +# This option is only interpreted by clickpads. +Section "InputClass" + Identifier "Disable clickpad buttons on Apple touchpads" + MatchProduct "Apple|bcm5974" + MatchDriver "synaptics" + Option "SoftButtonAreas" "0 0 0 0 0 0 0 0" +EndSection