Nowadays as technology develops more and more, laptops are becoming more sophisticated. Most of today’s laptops offer a finger-sensitive screens so you can manage to flip over the monitor and use it as a tablet. Using Ubuntu as an operating system will not offer the drivers for the screen graphics to auto-detect the screen rotate. So in this tutorial, I will show you how to rotate the screen through cli.
- sudo access
Rotate Upside Down
This option is useful if you have flipped over the monitor, so you want to switch your screen upside down - rotated 180 degrees.
sudo xrandr -o inverted
To rotate left, run:
sudo xrandr -o left
To rotate right, run:
sudo xrandr -o right
To get back the normal working position, run:
sudo xrandr -o normal
xrandr command is useful and should work for almost every
Debian based distro. If it’s not installed you can run:
sudo apt-get update sudo apt-get install x11-xserver-utils
Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.