认识
官网:https://www.x.org/wiki/Projects/XRandR/
文档:https://gitlab.freedesktop.org/xorg/app/xrandr/-/blob/master/README.md?ref_type=heads
仓库:https://gitlab.freedesktop.org/xorg/app/xrandr
XRandR,提供调整大小,旋转和反映屏幕根窗口的功能。
组成
安装的可执行程序
xrandr 用于设置屏幕输出的大小、方向、反射等。也可以设置屏幕的大小。
https://man.archlinux.org/man/xrandr.1
构建
安装 XRandR 软件包
从发行版的源中安装
# 「xrandr」包含在「x11-xserver-utils」软件包中。 apt-get install x11-xserver-utils
使用源码编译安装
安装过程参考 BLFS/Xorg Applications: http://www.linuxfromscratch.org/blfs/view/7.10/x/x7app.html
在 BLFS/Xorg Applications 中,是同时安装了多个 X Application,但是构建编译的命令是类似的的,参考编译命令即可。
软件包 xrandr 的下载地址:https://www.x.org/archive//individual/app/
如果 xrandr 下载地址无法打开,可以到 www.x.org 中查找其他可访问的镜像服务器。
应用
How do I change this xrandr command to move it on top, but not to the right of my Displayport?