How about support XDG dir structure

Bug #1074448 reported by jarryson
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Onboard
Fix Released
Low
Unassigned

Bug Description

Instead of useing ~/.onboard, put config files to
$XDG_CONFIG_HOME/signon, cache files to $XDG_CACHE_HOME/signon, data
files to $XDG_DATA_HOME, like the other applications do.

The default fallbacks are:
 $XDG_CACHE_HOME -> $HOME/.cache
 $XDG_CONFIG_HOME -> $HOME/.config
 $XDG_DATA_HOME -> $HOME/.local/share

example: glib contain functions like g_get_user_config_dir(),
g_get_user_cache_dir().

I really hope you can implement this change, it would make the home dir
cleaner, and user can delete all application's cache files or config
files or data files easily.

 Cheers!

Revision history for this message
marmuta (marmuta) wrote :

Yes, thanks for the reminder. I think we should do this eventually. I've had it on my list for a while, but haven't come around working on it yet. The spec is her, btw.: http://standards.freedesktop.org/basedir-spec.

Changed in onboard:
status: New → Confirmed
importance: Undecided → Low
marmuta (marmuta)
Changed in onboard:
status: Confirmed → Fix Committed
Changed in onboard:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.