Skip to content

Instantly share code, notes, and snippets.

@11808s8
Created August 3, 2019 13:18
Show Gist options
  • Select an option

  • Save 11808s8/24e09118201945afd6873879f55eb50d to your computer and use it in GitHub Desktop.

Select an option

Save 11808s8/24e09118201945afd6873879f55eb50d to your computer and use it in GitHub Desktop.
Just a bash script that removes the touchpad kernel module and then loads it again. Why is it necessary? Sometimes after unlocking Ubuntu 18.04 touchpad just freezes.
#!/bin/bash
sudo rmmod i2c_hid && sudo modprobe i2c_hid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment