我希望我的 lxdm 登录屏幕出现在两个显示器上,以便我可以登录碰巧打开的任何一个显示器,而 xrandr 似乎无法确定。
使用 xdm,我可以通过添加一行来完成此操作
xrandr --output DP-2 --auto --pos 0x0 --output DP-1 --auto --pos 0x0
到 /etc/X11/xdm/Xsetup,DP-1 和 DP-2 是两个显示器的 xrandr 名称。
使用 lxdm,我尝试将此行添加到 /etc/lxdm/LoginReady 和 /etc/lxdm/PreLogin,但这没有任何区别。在 DP-1 上,我看到登录屏幕,而 DP-2 保持黑色,尽管我可以将鼠标指针移到它上面。
Ubuntu 版本 20.04。安装为 Lubuntu 但现在大部分 lxqt 已删除,fvwm 作为窗口管理器。
我设法通过 xorg 解决了它,文件 /etc/X11/xorg.conf.d/10-monitor.conf 包含内容:
Section "Monitor"
Identifier "DP-1"
Option "Position" "0 0"
EndSection
Section "Monitor"
Identifier "DP-2"
Option "Position" "0 0"
EndSection
其中 DP-1 和 DP-2 再次是视频输出的 xrandr 名称。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句