课程: Linux Tips

免费学习该课程!

今天就开通帐号,24,700 门业界名师课程任您挑!

Display geometry with xrandr

Display geometry with xrandr - Linux教程

课程: 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…

内容