[Bug 49092] Use XDG dirs instead of $HOME

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 24 22:58:05 PDT 2012


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

--- Comment #3 from Hans de Goede <jwrdegoede at fedoraproject.org> 2012-04-24 22:58:05 PDT ---
(In reply to comment #2)
> The XDG standard has no dependence on glib. I was just pointing out convenience
> functions.

I know. But implementing it without the convenience functions is a bit of work,
so if we go the xdg way it is really nice to have them.

> The spec does not mention log files directly of course. It talks
> about data directories plenty though :)

Right and data files != log files, specifically the spec uses ~/.local/share as
data directory,
notice the share part there, and how the hierarchy below it mirrors /usr/share.
Also notice how we don't put global log-files in /usr/share but in /var/log!

> We just really don't want to be littering in the home directory.

And I really want the user to be able to easily find the log file if the needs
arrive.

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


More information about the spice-bugs mailing list