Created
April 13, 2021 13:37
-
-
Save basilevs/032408a275ff8be041b47bb3207edd3a to your computer and use it in GitHub Desktop.
A systemd service to reset old Synaptic touchpads after suspend. Put in /etc/systemd/system/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Reset touchpad after suspend | |
After=suspend.target | |
[Service] | |
User=root | |
Type=oneshot | |
ExecStart=modprobe -r psmouse ; modprobe psmouse | |
TimeoutSec=0 | |
StandardOutput=syslog | |
[Install] | |
WantedBy=suspend.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment