Skip to content

Instantly share code, notes, and snippets.

@gmcclins
Created September 6, 2019 04:12
Show Gist options
  • Save gmcclins/a0dbf6a6f350df78b4d645a1aa91ad7a to your computer and use it in GitHub Desktop.
Save gmcclins/a0dbf6a6f350df78b4d645a1aa91ad7a to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
# I don't know if this will work. It may end up fixing display, but need to be run every time it goes wonky.
# It might not even do that and just do nothing.
# https://askubuntu.com/questions/1030929/ubuntu-18-04-lts-display-flashes-and-turns-upside-down-how-to-fix
# obtain output using xrandr -q
xrandr --output LVDS-1 --rotate normal
exit
# may have to blacklist acceleromet
# sudo nano /etc/modprobe.d/blacklist.conf
# blacklist hp_accel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment