Views:
11,075
Votes: 16
✅ Solution
Tags:
18.04
suspend
touchpad
Link:
🔍 See Original Answer on Ask Ubuntu ⧉ 🔗
URL:
https://askubuntu.com/q/1083546
Title:
Ubuntu 18.04 touchpad not fully working after wake from suspend
ID:
/2018/10/13/Ubuntu-18.04-touchpad-not-fully-working-after-wake-from-suspend
Created:
October 13, 2018
Edited: September 27, 2019
Upload:
September 15, 2024
Layout: post
TOC:
false
Navigation: false
Copy to clipboard: false
Reloading the touchpad / mouse driver after resuming from suspend works in most cases.
Run sudo -H gedit /lib/systemd/system-sleep/touchpad
Copy and paste in these lines:
#!/bin/bash
if [[ $1 == post ]]; then
modprobe -r psmouse
modprobe psmouse
fi
Save the file and exit.
Now make it a program by setting the execution bit:
chmod a+x /lib/systemd/system-sleep/touchpad
You will need to reboot for changes to take effect.