12

I somehow rotated the Ubuntu 17.10 screen so it ended up upside down (I think I accidentally triggered a keyboard shortcut). I could not get it to rotate back by clicking the screen rotate button in the task menu, so I had to reboot.

Is there a keyboard shortcut for rotating the screen 180 degrees? The rotation happened on an HP Envy laptop with a touchscreen.

2 Answers 2

19

I'm not sure if there's any by default, but You can easily set the one You like!
Just tap Super to open Dash, search for Keyboard, go to hotkeys tab and create new one.
The commands You need are: xrandr -o inverted and xrandr -o normal.

1
  • 2
    Had to use: xrandr --query to obtain the device, then use xrandr --output <device> --rotate normal to fix my screen. This problem is infuriating!
    – jmcarter9t
    Oct 19, 2018 at 14:50
9

I also have an HP. Open the screen as far as you can then tilt the laptop back and the screen will auto rotate back to the correct orientation. Then hit the super key(windows key)+ o and that will lock your screen auto-orientation.

1
  • This won't work for devices without orientation sensor
    – piegames
    Sep 15, 2020 at 13:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.