问题描述
我正在尝试更改我在Ubuntu 9.04下修改过的xorg.conf
文件,因此它可以具有更高的显示器分辨率。在9.04下,监视器是未知的,因此我必须键入文件中的所有分辨率,尽管在9.10下可以找到它,但9.10的分辨率却不高。
如何更改这种设置? xorg.conf
是否已移动或更换?
最佳回答
除非明确要求,否则xorg.conf将不存在。
关于xorg.conf的维基百科:
For a long time, editing xorg.conf was necessary for advanced input devices and multiple monitor output to work correctly. This was regarded to be a major usability obstacle. In modern systems this is seldom necessary, thanks to input hotplugging and the XRandR extension integrated into new X.org releases. It is still needed for devices from some manufacturers, notably NVIDIA and Wacom, whose drivers fail to provide support for those technologies.
您应该调查是否可以使用RandR扩展名来更改显示特性。 xrandr
为此扩展提供了命令行接口。从手册页:
Xrandr is used to set the size, orientation and/or reflection of the
outputs for a screen. It can also set the screen size.
If invoked without any option, it will dump the state of the outputs,
showing the existing modes for each of them, with a ’+’ after the pre‐
ferred mode and a ’*’ after the current mode.
次佳回答
新的X服务器不再需要xorg.conf
文件。而是,它与D-Bus一起收集设备,并且可能没有Jaunty进行安装。但是,如果需要添加某些内容,您仍然可以自己构建。
资料来源:Where is my xorg.conf file??