Merge pull request #290 from kiprasmel/patch-1
fix the "tap-to-click" enabler (40-libinput.conf)
This commit is contained in:
commit
3557875d12
4
larbs.sh
4
larbs.sh
@ -220,14 +220,14 @@ sudo -u "$name" mkdir -p "/home/$name/.cache/zsh/"
|
|||||||
dbus-uuidgen > /var/lib/dbus/machine-id
|
dbus-uuidgen > /var/lib/dbus/machine-id
|
||||||
|
|
||||||
# Tap to click
|
# Tap to click
|
||||||
[ ! -f /etc/X11/xorg.conf.d/40-libinput.conf ] && echo "Section "InputClass"
|
[ ! -f /etc/X11/xorg.conf.d/40-libinput.conf ] && printf 'Section "InputClass"
|
||||||
Identifier "libinput touchpad catchall"
|
Identifier "libinput touchpad catchall"
|
||||||
MatchIsTouchpad "on"
|
MatchIsTouchpad "on"
|
||||||
MatchDevicePath "/dev/input/event*"
|
MatchDevicePath "/dev/input/event*"
|
||||||
Driver "libinput"
|
Driver "libinput"
|
||||||
# Enable left mouse button by tapping
|
# Enable left mouse button by tapping
|
||||||
Option "Tapping" "on"
|
Option "Tapping" "on"
|
||||||
EndSection" > /etc/X11/xorg.conf.d/40-libinput.conf
|
EndSection' > /etc/X11/xorg.conf.d/40-libinput.conf
|
||||||
|
|
||||||
# Fix fluidsynth/pulseaudio issue.
|
# Fix fluidsynth/pulseaudio issue.
|
||||||
grep -q "OTHER_OPTS='-a pulseaudio -m alsa_seq -r 48000'" /etc/conf.d/fluidsynth ||
|
grep -q "OTHER_OPTS='-a pulseaudio -m alsa_seq -r 48000'" /etc/conf.d/fluidsynth ||
|
||||||
|
Loading…
Reference in New Issue
Block a user