ale*_*ato 13 lubuntu autostart lxde 12.10 lxrandr
所以 ARandR 非常适合在 Lubuntu 12.10 中设置我的监视器布局,但即使我将布局保存到
~/.screenlayout
Run Code Online (Sandbox Code Playgroud)
无论我如何称呼文件,它似乎都不会保存该布局。
ale*_*ato 15
结果是 lxrandr 有一个 .desktop 文件,您可以使用 ARandR 文件中的内容对其进行编辑。
例如,这是我的带有外接显示器的笔记本电脑的 ARandR 文件。
$ cat ~/.screenlayout/dual.sh
#!/bin/sh
xrandr --output VGA-0 --mode 1920x1080 --pos 0x0 --rotate normal --output LVDS --mode 1280x800 --pos 1920x280 --rotate normal --output HDMI-0 --off
Run Code Online (Sandbox Code Playgroud)
这是添加了 xrandr 命令并注释掉旧命令的 lxrandr :
$ cat ~/.config/autostart/lxrandr-autostart.desktop
[Desktop Entry]
Type=Application
Name=LXRandR autostart
Comment=Start xrandr with settings done in LXRandR
Exec=xrandr --output VGA-0 --mode 1920x1080 --pos 0x0 --rotate normal --output LVDS --mode 1280x800 --pos 1920x280 --rotate normal --output HDMI-0 --off
#Exec=xrandr --output LVDS --mode 1280x800 --rate 59.8 --output VGA-0 --mode 1920x1080
OnlyShowIn=LXDE
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
40966 次 |
| 最近记录: |