|
|
这种方法的好处是不用另外安装驱动,不用专门设置双头显示。
参考:
1 先不用修改xorg.conf文件。在笔记本上插上第二个显示器。
启动第二个显示器
- $xrandr --output VGA --auto
复制代码
关闭第二个显示器
- $xrandr --output VGA --off
复制代码
2 需要先得到两个变量,一个是你两台显示器的总宽度X(假设你的两台显示器是并排左右放置)和屏幕分辨率的最大高度Y。比如我笔记本是1280x800,另一个显示器是1024x768,所以X=2304,Y=800。
编辑xorg.conf文件
- Section "Screen"
- Identifier "Screen0"
- Device "Videocard0"
- Monitor "Monitor0"
- DefaultDepth 24
- SubSection "Display"
- Viewport 0 0
- Depth 24
- Modes "1280x800" "1280x720" "1024x768" "800x600" "640x480"
- [color=red]Virtual 2304 800[/color]
- EndSubSection
- EndSection
复制代码
加入红色部分。
3 添加启动项(sessions)
- xrandr --output VGA --left-of LVDS
复制代码
让新添加的显示器VGA在本本LVDS的left显示。
4 重启X。
5 截图

 |
|