Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# XFCE Shortcut Settings:
# Settings -> Keyboard -> Shortcuts
# XF86TouchpadToggle makes to work using the Touchpad key on the keyboard (FN+F5)
enabled=`xinput --list-props "AlpsPS/2 ALPS GlidePoint" | grep -e "Device Enabled\ (135):\s*1"`
if [ -n "$enabled" ]; then
xinput --set-prop "AlpsPS/2 ALPS GlidePoint" "Device Enabled" 0
xinput --set-prop "AlpsPS/2 ALPS GlidePoint" "Device Enabled" 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.