Arc Mouse losing scrolling ability after sleep in Ubuntu 18.04
-
Weird issue...
I am using an Arc mouse with Ubuntu 18.04 and its touch commands like scrolling surprisingly work
. However after my system sleeps, i lose the ability to use touch commands. The mouse stays connected and left and right clicks work just fine.I cycled power on the mouse with no success after reconnecting. However, if I remove it completely from bluetooth and re-register it, it then works fine. It even works if I reboot the system. The only time it doesnt work is after sleep.
Any ideas?
-
Maybe the information on this website can point to a solution.
https://medium.com/@overcode/fixing-bluetooth-in-ubuntu-pop-os-18-04-d4b8dbf7ddd6 -
-
Thanks @black3dynamite I will try these steps and report back
-
Upgrading bluetooth did not work, but restarting bluetooth service worked. I think I should be able to script something here
-
@IRJ said in Arc Mouse losing scrolling ability after sleep in Ubuntu 18.04:
Upgrading bluetooth did not work, but restarting bluetooth service worked. I think I should be able to script something here
Anyway of using Systemd to restart bluetooth service after sleep?
-
@black3dynamite said in Arc Mouse losing scrolling ability after sleep in Ubuntu 18.04:
@IRJ said in Arc Mouse losing scrolling ability after sleep in Ubuntu 18.04:
Upgrading bluetooth did not work, but restarting bluetooth service worked. I think I should be able to script something here
Anyway of using Systemd to restart bluetooth service after sleep?
Yeah, actually. I stumbled across this a few mins ago. The guy in this post uses Systemd to restart Wireguard. The key is WantedBy line is probably the important bits.
Description=Run restart_wireguard Requires=network.target After=network.target suspend.target hibernate.target hybrid-sleep.target [Service] User=root Type=oneshot ExecStart=/usr/local/bin/restart_bluetooth.sh #or the command if you know it. [Install] WantedBy=suspend.target hibernate.target hybrid-sleep.target