在用户$HOME中,我们知道GNOME保存了各种目录来存储用户特定的信任。
我知道.gconf用于存储用户首选项(键绑定和其他设置)。
我知道.config用于存储特定于应用程序的首选项。
你知道.gnome2和.gnome2_private .gconf.path.defaults以及文件.gconf.path.mandatory .gconf.xml.defaults .gconf.xml.mandatory的用途吗?
发布于 2012-10-12 12:39:01
.gnome2/包含应用程序的配置文件,非常类似于. .config/。但是,. .config/ is标准兼容(FreeDesktop)。而.gnome2/存在于现在折旧的gnome-配置中。.gnome2_ private /类似于.gnome2/,但是对于需要私有的配置文件。
gconf.xml.mandatory和gconf.xml.defaults是用于桌面设置(如本地.gconf )的XML。gconf使用这三者来配置桌面。.mandatory不能由普通用户编辑,这使得它对于信息亭和公用计算机很有用,而.defaults是读取所有默认桌面设置的基础。
按照优先级顺序,.mandatory位于(您的本地) .gconf之上,而后者又高于.defaults。如果在.mandatory中设置了密钥,则将忽略.gconf和.defaults中的相同键。同样,在.mandatory中没有设置但在.gconf中设置的键将覆盖.defaults中的相同键。
.path.mandatory和.path.defaults也是如此,但它们用于设置配置源的位置,而不是描述配置本身。
https://unix.stackexchange.com/questions/21086
复制相似问题