在新版的 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

  

相关文章:

  • 2022-12-23
  • 2021-11-04
  • 2021-08-02
  • 2021-06-25
  • 2021-07-13
  • 2022-12-23
猜你喜欢
  • 2021-11-03
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-18
相关资源
相似解决方案