use XDG base directories instead of HOME

Bug #1000046 reported by William Jon McCann
40
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Shutter
Confirmed
High
Mario Kemper (Romario)

Bug Description

Stores information in ~/.shutter. It would be better to use the locations defined in the XDG Base Directory Specification.

https://live.gnome.org/GnomeGoals/XDGConfigFolders
http://standards.freedesktop.org/basedir-spec/latest/

Revision history for this message
Mario Kemper (Romario) (mario-kemper) wrote :

Thanks for the hint.

Changed in shutter:
assignee: nobody → Mario Kemper (Romario) (mario-kemper)
importance: Undecided → Low
milestone: none → 0.88.4
status: New → Confirmed
Changed in shutter:
milestone: 0.89 → misc
importance: Low → High
Changed in shutter:
milestone: misc → 0.89.2
Changed in shutter:
status: Confirmed → In Progress
Changed in shutter:
milestone: 0.89.2 → 0.9
Revision history for this message
Eric Heintzmann (heintzmann-eric) wrote :
Changed in shutter:
milestone: 0.9 → 0.91
Changed in shutter:
milestone: 0.91 → road-to-gtk3
status: In Progress → Confirmed
Revision history for this message
J G Miller (jgmiller) wrote :

Recently release v0.94 still uses "$ENV{HOME}/.shutter/" instead of testing to see if $XDG_CONFIG_HOME and $XDG_DATA_HOME directories exist, and then, if they do exist or can be successfully created, to use parameters SHUTTER_CONFIG_HOME = $ENV{XDG_CONFIG_HOME}/shutter" and SHUTTER_DATA_HOME = $ENV{XDG_DATA_HOME}/shutter" instead of all the needless repeated invocations of ENV for setting up each of the user files (accounts, session, settings etc).

Revision history for this message
Michael Kogan (michael-kogan) wrote :

Patches are very welcome! :)

Changed in shutter:
milestone: road-to-gtk3 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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