Ubuntu 12.04下配置xorg.conf

在新版的 Ubuntu 中,默认系统不会生成 xorg.conf 文件。但如果需要为X配置一些高级功能,这个文件是必须的。

  • 避免手动填写内容麻烦和易错,可以用下面的几个命令生成新的 xorg.conf 文件(注意需要在真正的终端里面运行,而并非X环境下的终端模拟器):
#   first stop display manager, assuming gdm is used
sudo service gdm stop
 
#   generate new configure file for X, the file created is "xorg.conf.new" in current directory
sudo Xorg -configure
 
#   move configure file to target directory
sudo mv xorg.conf.new /etc/X11/xorg.conf
 
#   restart display manager, assuming gdm is used
sudo service gdm start

  

原文地址:https://www.cnblogs.com/dolphi/p/3000856.html