Geotoolkit

Configuration files on Unix should be located in the .config parent directory

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Won't Fix
  • Affects Version/s: 3.04
  • Fix Version/s: 3.05
  • Component/s: Utilities
  • Labels:
    None
  • Environment:
    Unix

Description

Geotk stores its configuration files (if any) in one of the directories below:

Windows: Application Data\Geotoolkit
MaxOS: Library/Geotoolkit
Linux .geotoolkit

The directory on Linux platform should by ".config/Geotoolkit", since the recommanded practice for Linux applications is now to store their configuration files in ".config".

We may also take the opportunity for renaming "Geotoolkit' as "Geotoolkit.org" for the same raison than the rest of the web site.

Issue Links

Activity

Hide
Adrian Custer added a comment - 16/Oct/2009 11:22

Well, it cost me some research, but here goes:
I take back this suggestion. After a long and tiring research, it seems the ".config" directory is specified by the freedesktop.org project rather than the Linux Standards Base, and is intended for X windows applications. GeoTk can therefore continue to use its own directory.

The .config directory is specified by the Freedesktop.org project's , XDG Base Directory Specification, available here:

http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html

which states:

"There is a single base directory relative to which user-specific configuration files should be written. This directory is defined by the environment variable $XDG_CONFIG_HOME. "

a bit later, this is fleshed out by:

"$XDG_CONFIG_HOME defines the base directory relative to which user specific configuration files should be stored. If $XDG_CONFIG_HOME is either not set or empty, a default equal to $HOME/.config should be used. "

--adrian

Show
Adrian Custer added a comment - 16/Oct/2009 11:22 Well, it cost me some research, but here goes: I take back this suggestion. After a long and tiring research, it seems the ".config" directory is specified by the freedesktop.org project rather than the Linux Standards Base, and is intended for X windows applications. GeoTk can therefore continue to use its own directory. The .config directory is specified by the Freedesktop.org project's , XDG Base Directory Specification, available here: http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html which states: "There is a single base directory relative to which user-specific configuration files should be written. This directory is defined by the environment variable $XDG_CONFIG_HOME. " a bit later, this is fleshed out by: "$XDG_CONFIG_HOME defines the base directory relative to which user specific configuration files should be stored. If $XDG_CONFIG_HOME is either not set or empty, a default equal to $HOME/.config should be used. " --adrian

People

Vote (0)
Watch (0)

Dates

  • Created:
    15/Oct/2009 10:20
    Updated:
    30/Nov/2009 15:36
    Resolved:
    19/Oct/2009 14:17

Time Tracking

Estimated:
30m
Original Estimate - 30 minutes
Remaining:
30m
Remaining Estimate - 30 minutes
Logged:
Not Specified
Time Spent - Not Specified