双显示器设置在 XFCE 登录屏幕上不起作用

dll*_*dll 5 xfce xubuntu login-screen multiple-monitors

我之前遇到过这个问题,双显示器设置不会保留(即我将右屏幕作为主屏幕,但重新启动后,我右屏幕的位置会向左移动。),做了一个新的重新安装,问题得到解决(可能是其他一些 DE 配置相互覆盖,因为我有 KDE、Gnome 和 Unity)。

但是,现在的问题是登录屏幕上的双显示器设置仍然会损坏(我的右侧屏幕将变成左侧屏幕)并且屏幕配置只有在我登录后才会修复。

jbr*_*ock 1

arandr通过在终端中粘贴以下内容来安装:

sudo apt install arandr
Run Code Online (Sandbox Code Playgroud)

打开阿兰德尔. 您的屏幕可能是按照您喜欢的方式配置的。如果是这样,请转到“布局”>“另存为”。打开保存的脚本并复制整个xrandr命令。

创建文件 /etc/lightdm/lightdm.conf(如果尚未创建)。您可以使用:

sudo mousepad /etc/lightdm/lightdm.conf
Run Code Online (Sandbox Code Playgroud)

现在粘贴以下内容。xrandr将下面 我的命令替换为你自己的命令。

[Seat:*]
display-setup-script=xrandr --output VGA-0 --mode 1440x900 --pos 0x72 --rotate normal --output DVI-0 --mode 1440x900 --pos 3360x82 --rotate normal --output HDMI-0 --mode 1920x1080 --pos 1440x0 --rotate normal
Run Code Online (Sandbox Code Playgroud)

重新启动,您的登录屏幕应该是正确的。