Fix for updated arch dmesg access policy
Archlinux changed the access to 'dmesg' to only be available to super
users with the following commit:
b78bc292e2 (diff-3e341d2d9c67be01819b25b25d5e53ea3cdf3a38d28846cda85a195eb9b7203a)
This changes the command to enabled touch pad tapping on X startup to a
systemd-compatible version, following the recommendation found here:
https://www.reddit.com/r/archlinux/comments/kqvotl/dmesg_cannot_be_run_as_normal_user_anymore/
This commit is contained in:
parent
c4612a04c1
commit
5973de3425
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ type nextcloud >/dev/null 2>&1 && nextcloud --background &
|
||||||
type nm-applet >/dev/null 2>&1 && nm-applet &
|
type nm-applet >/dev/null 2>&1 && nm-applet &
|
||||||
|
|
||||||
# additional config options for Touchpad devices ONLY
|
# additional config options for Touchpad devices ONLY
|
||||||
if [ "$(dmesg | grep -c "Touchpad")" -gt 0 ]; then
|
if [ "$(journalctl --dmesg -o short-monotonic --no-hostname --no-pager | grep -c "Touchpad")" -gt 0 ]; then
|
||||||
# enable touch tapping for XPS13 touchpad - for different devices get the touchpad name with xinput list-prop <TAB>
|
# enable touch tapping for XPS13 touchpad - for different devices get the touchpad name with xinput list-prop <TAB>
|
||||||
xinput set-prop "DLL075B:01 06CB:76AF Touchpad" "libinput Tapping Enabled" 1
|
xinput set-prop "DLL075B:01 06CB:76AF Touchpad" "libinput Tapping Enabled" 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue