Linux 的显示系统使用多种技术、协议、扩展、应用程序、服务器(守护进程)、驱动程序和概念来实现窗口系统,例如:
Xorg、Wayland、X11、OpenGL、RandR、XrandR、屏幕分辨率、DPI、显示服务器、等等。
当我们没有完整的画面时,大量的内容可能会让人不知所措或令人困惑。Linux 显示系统的每一面都有多个文档,但在全球范围内它究竟是如何工作的?
我运行此命令以允许我在屏幕之间移动窗口:
xrandr --auto
这个神奇的命令为我修复了我的屏幕(在我运行这个之前,我的第二台显示器只是一个我可以移动鼠标的空白空间)。当我重新启动时,我怎样才能使这个命令坚持下去?我对修复我的配置更感兴趣,而不仅仅是重新运行这个命令,但我对如何实现这一点一无所知。
我有 2 个显示器,DFP 5 和 DFP 6。运行xrandr结果如下:
DFP1 disconnected (normal left inverted right x axis y axis)
DFP2 disconnected (normal left inverted right x axis y axis)
DFP3 disconnected (normal left inverted right x axis y axis)
DFP4 disconnected (normal left inverted right x axis y axis)
DFP5 connected 1680x1050+1680+0 (normal left inverted right x axis y axis) 474mm x 296mm
1680x1050 60.0*+
1400x1050 60.0
1280x1024 75.0 60.0
1440x900 60.0
1280x960 75.0 60.0
1280x800 …Run Code Online (Sandbox Code Playgroud)