Created
January 1, 2026 10:37
-
-
Save kekneus373/b78b181002f6abebc847f49cb14ef0ed to your computer and use it in GitHub Desktop.
Fix touchpad not working after suspend (temporarily)
This file contains hidden or 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
| #!/usr/bin/env bash | |
| echo "Disabling touchpad..." | |
| sudo modprobe -r psmouse | |
| echo "Enabling touchpad..." | |
| sudo modprobe psmouse | |
| echo "Should work now. Otherwise, check 'dmesg' or reboot" | |
| # SOURCE: https://askubuntu.com/q/671910 |
Author
Author
I made this permanent and automatic in my nixos config will lyk when I posted it :) It was something that lowkey drove me crazy that day...
it's done check it out:
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I made this permanent and automatic in my nixos config will lyk when I posted it :) It was something that lowkey drove me crazy that day...