xorg: remove creating obsolete configuration for synaptics driver
This commit is contained in:
parent
595e868cfa
commit
c6bc954c16
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# xorg - xorg plugin for postplug
|
# xorg - xorg plugin for postplug
|
||||||
# Copyright (c) 2004-2021 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
# Copyright (c) 2004-2023 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
# Copyright (c) 2004-2007 by Davide Madrisan <davide.madrisan@gmail.com>
|
# Copyright (c) 2004-2007 by Davide Madrisan <davide.madrisan@gmail.com>
|
||||||
|
|
||||||
if [ $UID != 0 ]; then
|
if [ $UID != 0 ]; then
|
||||||
@ -104,22 +104,6 @@ __EOF
|
|||||||
if [ -e /etc/X11/xorg.conf.d/15-keyboard-apple.conf ]; then
|
if [ -e /etc/X11/xorg.conf.d/15-keyboard-apple.conf ]; then
|
||||||
rm -f /etc/X11/xorg.conf.d/15-keyboard-apple.conf
|
rm -f /etc/X11/xorg.conf.d/15-keyboard-apple.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ ! -e /etc/X11/xorg.conf.d/20-synaptics.conf ] && {
|
|
||||||
cat > /etc/X11/xorg.conf.d/20-touchpad.conf << __EOF
|
|
||||||
Section "InputClass"
|
|
||||||
Identifier "touchpad defaults"
|
|
||||||
Driver "synaptics"
|
|
||||||
Option "RTCornerButton" "2"
|
|
||||||
Option "HorizEdgeScroll" "true"
|
|
||||||
Option "TapButton1" "1"
|
|
||||||
Option "TapButton2" "2"
|
|
||||||
Option "TapButton3" "3"
|
|
||||||
Option "HorizScrollDelta" "0"
|
|
||||||
MatchIsTouchpad "on"
|
|
||||||
EndSection
|
|
||||||
__EOF
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# (re)create the '/tmp/.ICE-unix' directory with the right permissions
|
# (re)create the '/tmp/.ICE-unix' directory with the right permissions
|
||||||
|
Loading…
Reference in New Issue
Block a user