Skip to content

Instantly share code, notes, and snippets.

@tnibert
Created October 15, 2018 23:53
Show Gist options
  • Save tnibert/a33cf4feabe6907272786bd9a26fb7a3 to your computer and use it in GitHub Desktop.
Save tnibert/a33cf4feabe6907272786bd9a26fb7a3 to your computer and use it in GitHub Desktop.
Fix Mouse Lockup in Linux
#! /bin/bash
# this tends to occur when I unplug a usb mouse
# cursor locks up, can click, can't move it - Xubuntu 18.10
# the following commands just reload the mouse module in the kernel
# fixes issue for the instance, yay
sudo modprobe -r psmouse
sudo modprobe psmouse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment