From the course: Linux Tips

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Display geometry with xrandr

Display geometry with xrandr - Linux Tutorial

From the course: Linux Tips

Display geometry with xrandr

- [Instructor] If you're running a desktop environment using X, you can control the resolution and layout of your displays using the Xrandr command. R and R stands for resize and rotate and the X stands for the X Window Server. This only works in the X environment, not in the console or through a remote terminal or in Mayland, so that makes this kind of a niche tip, but it's helpful to know about Xrandr. When we use most desktop environments, we'll change the resolution, layout, rotation, and similar aspects of our displays through a settings panel, but in a desktop running X, we can also control these from a terminal within the desktop environment. And we can even create new custom resolutions too. Doing this can be useful for using screen space more efficiently on a virtual machine, or for setting a video mode as part of a script for a program that needs something other than whatever the display manager thinks is…

Contents