[Bug 35896] Use XDG directories

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 27 15:43:21 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=35896

--- Comment #17 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2012-08-27 13:43:21 UTC ---
There is one more thing which should be migrated but you don't yet, and that's
the avatar, which is kept in (for instance)
~/.mission-control/accounts/gabble/jabber/smcv_40example_2ecom0/avatar.bin. I
would suggest moving it to
$XDG/mission-control/accounts/avatars/smcv_40example_2ecom0.bin or something,
for some value of $XDG.

(In reply to comment #0)
> It would be nice to store configuration data in g_get_user_config_dir() instead
> of a dotfile.

I still think the existence of a MC account is more like "user data"
(~/.local/share) than it's like "configuration" (~/.config), as in Comment #2
and Comment #3. On the other hand, many of the parameters we store in accounts
are clearly more like configuration than credentials, so I'm willing to be
overruled on this.

Where does Evolution 3.6 put email accounts? I notice GOA uses ~/.config.

The XDG spec for these directories says "user-specific configuration files" and
"user-specific data files" without really defining what those mean, so that's
no help.

https://live.gnome.org/GnomeGoals/XDGConfigFolders says "If you remove the
.config folder, the user will see all the preferences reset to the default but
without any data loss". I'm not sure that keeping accounts in .config is
consistent with this: if I delete my configuration, I would expect (for
instance) the Empathy theme, privacy settings, etc. to reset, but maybe not my
list of IM accounts?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.



More information about the telepathy-bugs mailing list