And*_*ldo 5 linux xorg xorg.conf ubuntu
如果我在 Ubuntu 17.04 中运行locate xorg.conf.d | grep d$
,这就是我得到的:
/etc/X11/xorg.conf.d
/usr/share/X11/xorg.conf.d
Run Code Online (Sandbox Code Playgroud)
有两个这样的文件夹是正常的,还是升级发行版的一些副作用,我之前做过?
也就是两者中真正被系统使用的文件夹。我必须添加一个配置文件,我不知道是否将它添加到一个或另一个中。
根据man xorg.conf
,
When the Xorg server is started by the \xe2\x80\x9croot\xe2\x80\x9d user, the config directory search locations are as follows:\n\n /etc/X11/<cmdline> \n /usr/etc/X11/<cmdline> \n /etc/X11/xorg.conf.d \n /usr/etc/X11/xorg.conf.d\n\nwhere <cmdline> is the path specified with the \xe2\x88\x92configdir command line option (which may be absolute or relative).\nFinally, configuration files will also be searched for in directories reserved for system use. These are to separate configuration files from the vendor or 3rd party packages from those of local administration. These files are found in the following directories:\n\n /usr/share/X11/xorg.conf.d \n
Run Code Online (Sandbox Code Playgroud)\n\n这/etc/X11/xorg.conf.d
是您应该放置配置的位置,也是/usr/share/X11/xorg.conf.d
软件放置配置文件的位置。
归档时间: |
|
查看次数: |
3802 次 |
最近记录: |