Keyboard shortcut for rotating Ubuntu 17.10 Screen

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 commends You need are: xrandr -o inverted and xrandr -o normal.


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.