|

楼主 |
发表于 2010-5-24 15:50:57
|
显示全部楼层
Post by vsu;2092013
手动运行
su -c “sax2“
这个脚本不错。。呵呵,谢谢了,有时间看看是怎么处理的。
Recent X server versions are designed to work out-of-the-box, with no need to manually edit Xorg's configuration files.
You should first try starting X without creating /etc/X11/xorg.conf.
If Xorg won't start (if there's something wrong with the screen, or with your keyboard/mouse), then you can try fixing problems by using the right configuration files.
By default, Xorg uses HAL (Hardware Abstraction Layer) to detect and configure devices such as keyboards and mice.
HAL comes with many premade device rules, also called policies. These policy files are available in /usr/share/hal/fdi/policy/. Just find a few that suit your needs most closely and copy them to /etc/hal/fdi/policy/.
Important: Do not edit the files in /usr/share/hal/fdi/! Just copy the ones you need, and edit them once they're placed in the proper /etc location.
There are several other HAL policies in /usr/share/hal/fdi/ that may interest you, such as laptop configurations, storage device handling, power management, and more. Just copy any of the policies to /etc/hal/fdi/policy/.
Configuring xorg.conf should be seen as a "last resort" option. It really desirable to run without one if possible, and to do all your configuration via HAL policy files. If you still can't get a working configuration, then read on.
"last resort" ,看来以后xorg.conf很快就会消失在我们的电脑里面了。
参考:
http://www.gentoo.org/doc/en/xorg-config.xml |
|