When my debian jessie desktop box wakes up from sleep (via the new shiny systemd) my mouse settings are returned to their defaults, having reset my customisation
xinput set-prop 12 'Device Accel Constant Deceleration' 2.5
which runs when I log in.
how can I run an arbitrary user script on wakeup? (assume that the user is the owner of the X session)
As far as I can recall, the following is the only customisation I've made of the
systemd setup (yes, I know it's completely wrong because it doesn't work for arbitrary users, but I've not worked out how to do that yet... this is somewhat related)
additionally, how can I run an arbitrary user script before wakeup, as the user who is currently using the X screen?
#systemctl enable i3lock.service
ExecStart=/usr/bin/i3lock -c 000000