Chinaunix首页 | 论坛 | 博客
  • 博客访问: 723870
  • 博文数量: 823
  • 博客积分: 10000
  • 博客等级: 上将
  • 技术积分: 5165
  • 用 户 组: 普通用户
  • 注册时间: 2008-08-21 15:52
文章分类

全部博文(823)

文章存档

2011年(1)

2008年(822)

我的朋友

分类: LINUX

2008-08-21 17:49:47


我用的是笔记本外加一台17寸显示器。

1、xrandr--outputVGA--auto开启外接显示器。(如果不成功,就reboot下)

2、xrandr--outputVGA--auto--right-ofLVDS--mode1024x768把外接显示器扩展到本本显示器的右侧。

注:如果2出错,有可能是xorg没有设定相关屏幕分辨率,需手动调整,我的是这样的,红字部分。

Section"Screen"
Identifier"DefaultScreen"
Device"IntelCorporationMobile915GM/GMS/910GMLExpressGraphicsController"
Monitor"default"
Defaultdepth24
SubSection"Display"
Depth24
Virtual2048768
Modes"1024x768@60"
EndSubSection
EndSection

还有就是两个屏幕使用不同分辨率还没试。 下载本文示例代码
阅读(280) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~