#!/bin/bash # This is useful on dell-inspiron. # On my zareason laptop, there's a disable button that works better. # xinput set-prop "ImPS/2 ALPS GlidePoint" "Device Enabled" 0 # This worked on Mint 18.2, perhaps earlier # xinput set-prop "AlpsPS/2 ALPS DualPoint TouchPad" "Device Enabled" 0 # This works on Mint 18.3 case "$(hostname)" in dstromberg-precision-3530) xinput set-prop "DELL0820:00 044E:121F Touchpad" "Device Enabled" 1 xinput set-prop "DELL0820:00 044E:121F Mouse" "Device Enabled" 1 ;; *) echo "$0: Unrecognized hostname: $(hostname)" 1>&2 exit 1 ;; esac