求助“关于屏幕偏移问题”

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
一网虫
帖子: 28
注册时间: 2007-05-14 9:01

求助“关于屏幕偏移问题”

#1

帖子 一网虫 » 2008-11-06 22:03

本人的显示器是DELL P1130,显卡是TNT2 Pro 32M
我遇到的问题是安装好8.10后,将分辨率设成1280x1024后整个桌面往右偏1cm。通过调节显示自身设置后可以解决但是我不能这样做,因为若这样做了当回到windows后,整个桌面又会往左偏1cm。
我查阅了一下wiki找到了解决方法,原文如下:

== 关于屏幕偏移问题 ==

1. sudo xvidtune
2. 用left和right按钮调屏幕位置,再test按钮试一试满意没有,满意了,就下一步,不满意再用left和right按钮调整。
3. 按show,好让终端有类似 "1024x768" 94.50 1024 1093 1168 1376 768 769 772 808 +hsync +vsync 的出现。
4. sudo gedit /etc/X11/xorg.conf,先另存为,作一个备份。然后找到Section "Monitor"中当前分辨率的那段,你应该会看到类似 Modeline "1024x768" 94.50 1024 1093 1168 1376 768 769 772 808 +hsync +vsync这样的语句(没有的话就将记下来的东西在开头加Modeline,将它添加到EndSection的前面),按照刚才记下来的东西修改其中的相应位置的数值,改完后保存文件为原来的xorg.conf,注销,然后重起xwindow,搞定!


按此法可以解决屏幕的偏移问题,但问题是我不能保存设置,每次注销或重启后屏幕又偏移了。我觉的我领会的第4步有误,我是这样修改的:

Vendor: (null), Model: (null)
Num hsync: 1, Num vsync: 1
hsync range 0: 30.00 - 130.00
vsync range 0: 48.00 - 170.00
"1280x1024" 157.50 1280 1360 1520 1728 1024 1025 1028 1072 +hsync +vsync
上面是我在终端上操作步骤1,2,3的输出显示。



# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
Modeline "1280x1024" 157.50 1280 1360 1520 1728 1024 1025 1028 1072 +hsync +vsync
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection
上面是我的文件xorg.conf蓝色部分是我按步骤4做的修改,不知这样做对吗?反正结果是无效。希望老鸟们指点一下,谢谢!
头像
ggghai
帖子: 247
注册时间: 2008-09-07 22:50

Re: 求助“关于屏幕偏移问题”

#2

帖子 ggghai » 2008-11-06 22:06

安装nvidia的显卡受限驱动,屏幕偏移的问题就解决了
一网虫
帖子: 28
注册时间: 2007-05-14 9:01

Re: 求助“关于屏幕偏移问题”

#3

帖子 一网虫 » 2008-11-06 22:22

ggghai 写了:安装nvidia的显卡受限驱动,屏幕偏移的问题就解决了
我也想到过此招但我的硬件驱动里提示“这个系统上没有使用专有驱动“,所以我无法安装nvidia的显卡受限驱动
头像
ggghai
帖子: 247
注册时间: 2008-09-07 22:50

Re: 求助“关于屏幕偏移问题”

#4

帖子 ggghai » 2008-11-06 22:29

那还是用xvidtune。
另外,Section "Screen"那一节也要加东西。你用xorg为关键字搜索百度,
回复