接多显示器的一点提示
July 17th, 2008
前两天为了工作需要,打算用我的ATI X600双头显卡接两个显示器,显示同样的内容,鼓捣了一番,记录于此。
ubuntu默认的双头显卡是左右屏的方式,即主屏是正中央,第二个屏在右边,对应xorg.conf中是这样的:
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
Screen "aticonfig-Screen[1]" RightOf "Default Screen"
其中Default Screen就是主屏,aticonfig-Screen[1]是第二个显示器。RightOf是设定在主屏右边,还有其它值可选,在man xorg.conf里ServerLayout部分有详细解释,大概在1324行:
- RightOf 右边
- LeftOf 左边
- Above 上边
- Below 下边
但我是想显同样的内容,所以需要删除xorg.conf中的两行内容,一行就是上面贴过的:
Screen "aticonfig-Screen[1]" RightOf "Default Screen"
另外一行是和aticonfig-Screen[1]相对应的Device段中的Screen 1,比如:
Section "Device"
Identifier "aticonfig-Device[1]"
Driver "fglrx"
BusID "PCI:1:0:0"
# 2 screen same display 2/2: delete below line
Screen 1
删掉上面的最后一句,然后重启X就可以了。
-EOF-
![[Bloglines]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/bloglines.png)
![[del.icio.us]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/delicious.png)
![[Digg]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/digg.png)
![[diigo]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/diigo.png)
![[Facebook]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/facebook.png)
![[Google]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/google.png)
![[MySpace]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/myspace.png)
![[Reddit]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/reddit.png)
![[Slashdot]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/slashdot.png)
![[Email]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/email.png)