I would like to turn my touchpad off when my desktop starts. How can I do that? I already found that the following script outputs 14:
xinput list | grep -Eo 'TouchPad\s*id\=[0-9]{1,2}' | grep -Eo '[0-9]{1,2}'
But how can I configure my computer such that the script
xinput set-prop 14 "Device Enabled" 0
would be run when starting XFCE?
synclient Disabled=1