use XDG base directories instead of HOME

Bug #1000046 reported by William Jon McCann on 2012-05-16
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Mario Kemper (Romario)

Bug Description

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

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
Changed in shutter:
milestone: 0.9 → 0.91
Changed in shutter:
milestone: 0.91 → road-to-gtk3
status: In Progress → Confirmed
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).

Photon (michael-kogan) wrote :

Patches are very welcome! :)

Photon (michael-kogan) on 2018-03-25
Changed in shutter:
milestone: road-to-gtk3 → none
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers