mate-desktop / mate-user-guide

MATE Desktop User Guide
https://mate-desktop.org
Other
18 stars 11 forks source link

dconf settings storage system #22

Closed rbuj closed 6 years ago

lukefromdc commented 6 years ago

What is this supposed to do? I see the commit but not its function here

lukefromdc commented 6 years ago

We still have the

All dconf profiles are stored in the <filename class='directory'>/etc/dconf/profile</filename> folder.

line, which should be be changed to something like

All system dconf profiles are stored in the <filename class='directory'>/etc/dconf/profile</filename> folder.

rbuj commented 6 years ago

/etc/dconf/profile contains user dconf profile, which is not a system dconf profile (e.g. system services). However, user dconf profile can include or not system databases (e.g. settings for Linux distros, like Fedora: system-db: distro).

REF: Profiles section - https://developer.gnome.org/dconf/unstable/dconf-overview.html

lukefromdc commented 6 years ago

/etc/dconf/profile does not exist on my system, which is based on Debian Unstable

rbuj commented 6 years ago

Last line in profiles section - https://developer.gnome.org/dconf/unstable/dconf-overview.html

If the DCONF_PROFILE environment variable is unset and the "user" profile can not be opened, then the effect is as if the profile was specified by this file:

user-db:user

raveit65 commented 6 years ago

There is another dir. /var/run/user/1000/dconf/user If i like to clean a account i remove normally 2 files. /var/run/user/1000/dconf/user and ~/.config/dconf/user But i can confirm that fedora follow specs and have /etc/dconf/profile/user.

Well, it's not the first time that distros don't follow upstream specs.

raveit65 commented 6 years ago

Weird, the content of ~/.config/dconf/user and /etc/dconf/profile/user is complete different. Tested with dconf dump / user >> test Edit: ~/.config/dconf/user contains all settings while /etc/dconf/profile/user contains only a few keys.