作者movaughn (movaughn)
看板Linux
标题Re: [问题] 在ubuntu 8.04中如何重设xorg?
时间Tue Aug 19 11:48:55 2008
※ 引述《movaughn (movaughn)》之铭言:
: 因为在ubuntu 8.04中
: 使用dpkg-reconfigure xserver-xorg时没办法设定到显示部份
: 想请问一下有经验的乡民是否有其它的command可以做类似的设定
: 还是只能手动编辑/etc/X11/xorg.conf
: 感谢~~
: ps:小弟的linux没有安装任何window manager(如KDM, GNOME等)
不好意思小弟问题没有说的很清楚,再补充说明如下。
目前的系统是由debootstrap hardy而来
接着只装了xorg的package,并没有装任何的window manager
启动startx进入X-WINDOW後发现解析度不是我要的
在GOOGLE之後发现要编辑/etc/X11/xorg.conf
但小弟发现此档内容极阳春,内容如下
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection
Section "Device"
Identifier "Configured Video Device"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
EndSection
想请问一下是否有其它command可自动更新此档,而不需要手动编辑?
若是只能手动编辑时,要如何知道内容该填些什麽,
如Device中的Identifier该填啥?
希望广大的乡民提供意见,谢谢~~
--
很多男人都说"我一秒钟几十万上下"
---- 根据人体力学原理,不到半秒钟就缴械了
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.218.77.14
1F:推 JohnLinq:Xorg -configure 08/19 11:57
2F:→ movaughn:刚试了一下,真的有改变,感谢~~~ 08/19 12:03
3F:→ movaughn:再请问一下,Subsection "Display"中皆无Modes这栏位 08/19 12:12
4F:→ movaughn:这样无法得知解析度为多少x多少,是要自己编辑吗?谢谢 08/19 12:13
5F:推 JohnLinq:我的理解是这样的(错了不管) -> 没侦测到你就自己填 08/19 13:01
6F:→ JohnLinq:这跟萤幕以及显卡有关 我有看过侦测到萤幕解析度的 08/19 13:02
7F:→ JohnLinq:那你就会看到萤幕的部份生了一堆解析度出来 08/19 13:03
8F:→ JohnLinq:那你就可以把它照抄到显卡部份去 08/19 13:03
9F:→ JohnLinq:但是唯有萤幕以及显卡都支援,系统才会工作 08/19 13:04
10F:→ JohnLinq:它应该有个log在/var/log下面 Xorg.log之类的 08/19 13:06
11F:→ JohnLinq:测试过的解析度 成功或失败 在log里看得出 (好像啦) 08/19 13:06
12F:→ JohnLinq:我现在是WinXP,因为Ubuntu的网路智障了 没法给你看 08/19 13:08
13F:→ movaughn:非常详细,再次感谢~~ 08/19 13:41
14F:→ movaughn:最後再问一下,我在Modes中加了1024*768一个而己 08/19 15:07
15F:→ movaughn:但是进X-win之後解析度似乎还是640*480(怎麽改都没用) 08/19 15:08
16F:→ movaughn:有什麽方法能够改变解析度到1024*768呢?谢谢 08/19 15:10
17F:推 mstar:有个 displayconfig-gtk 的套件,试看看 08/19 16:42
18F:→ movaughn:己解决,感恩~~~ 08/19 17:53