Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我最近在笔记本电脑上安装了 Manjaro i3 并尝试连接外接显示器,以在插入主屏幕时扩展主屏幕,而在未插入时仅使用单显示器模式。
这似乎主要使用 arandr 工作。不幸的是,我必须在每次启动时再次重新应用 arandr 设置才能恢复我的布局,因为它每次都会重置。
我尝试将 arandr 命令导出到 .xinitrc 和 /root/xinitrc,我尝试编辑 xorg conf,我尝试将其放入 .screenlayout,但没有结果。
那么如何永久设置我的屏幕分辨率和布局呢?
我想有人遇到这个问题: 1. 打开 arandr 2. 设置你想要的布局 3. 导出它 4. 打开 /etc/lightdm/xsession 5. 在最后一行之前添加导出的代码 6. 重启