View Issue Details

IDProjectCategoryView StatusLast Update
0009808ScribusGeneralpublic2016-12-05 20:21
Reporterale Assigned Tocbradney  
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Product Version1.5.0svn 
Target Version1.5.3Fixed in Version1.5.3.svn 
Summary0009808: follow the XDG standard for the config files
Descriptioncan we use ~/.config/.scribus instead of ~/.scribus?



"$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."

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

inkscape also switched...
http://thread.gmane.org/gmane.comp.graphics.inkscape.devel/26633
TagsNo tags attached.
PatchNo

Relationships

related to 0013248 closedcbradney choose preferences directory from the command line 

Activities

eheintzmann

2012-12-05 17:43

reporter   ~0029327

What is planned about FreeDesktop.org XDG basedir specification for Scribus?

http://ploum.net/post/207-modify-your-application-to-use-xdg-folders
https://live.gnome.org/GnomeGoals/XDGConfigFolders
http://standards.freedesktop.org/basedir-spec/latest/

eheintzmann

2013-01-05 12:53

reporter   ~0029598

According to XDG Base directory specification, Scribus should not have its own folder anymore
User data should go into $XDG_DATA_HOME (which default to ~/.local/share),
user preferences should go into $XDG_CONFIG_HOME (which default to ~/.config)
and cached data should go to $XDG_CACHE_HOME (which default to ~/.cache).
More details at :
http://ploum.net/post/207-modify-your-application-to-use-xdg-folders
https://live.gnome.org/GnomeGoals/XDGConfigFolders

Full specification can be found at:
http://standards.freedesktop.org/basedir-spec/latest/

The Freedesktop.org XDG base directory specification have good de facto adoption.
It has been adopted by:
- GNOME ( https://live.gnome.org/GnomeGoals/XDGConfigFolders )
- GTK+ ( https://bugzilla.gnome.org/show_bug.cgi?id=646631 )
- KDE ( http://techbase.kde.org/KDE_System_Administration/XDG_Filesystem_Hierarchy#Freedesktop.org_and_Standard_Directories )
- QT ( http://harmattan-dev.nokia.com/docs/library/html/qt4/qsettings.html#setPath )
- XFCE ( http://docs.xfce.org/xfce/xfce4-session/advanced in Files and Environment Variables )
- LXDE
- Razor-qt
- VLC ( https://trac.videolan.org/vlc/ticket/1267 )
- GStreamer ( https://bugzilla.gnome.org/show_bug.cgi?id=518597 )
- Chrome ( http://code.google.com/p/chromium/issues/detail?id=16976 )
- many more upstream applications
- Ubuntu ( http://brainstorm.ubuntu.com/idea/6557/ & http://packages.ubuntu.com/fr/source/precise/libxdg-basedir )
- Debian ( http://packages.debian.org/squeeze/libxdg-basedir1 )
- Red Hat
- Fedora
- Suse
- many more distributions

I think that Scribus should use same locations than the vast majority of Desktop environment and applications.


There are real advantages of following this specification :
- a lot less cluttered $HOME
- Make backups a lot more safer and easier.
  Backuping your $XDG_DATA_HOME along with your files is enough
  (or just excluding $XDG_CACHE_HOME)
- A lot easier to reset a default configuration if you want/need it (and
  without any risk to loose informations). Even for the software itself
  could choose to reset $XDG_CONFIG_HOME if needed.
- Avoid some strange bugs that happens because you had a old version of
  some configuration file
- A lot more of flexibility and portability because no path are hardcoded.

Kunda

2016-03-15 13:08

updater   ~0039178

will 1.6 support this?

Kunda

2016-11-18 17:37

updater   ~0042461

Perhaps 0013248 can piggy back on this issue once it's implemented

Issue History

Date Modified Username Field Change
2011-03-07 14:28 ale New Issue
2012-12-05 17:43 eheintzmann Note Added: 0029327
2012-12-31 17:03 jghali Product Version 1.5.0 => 1.5.0svn
2013-01-05 12:53 eheintzmann Note Added: 0029598
2016-03-15 13:08 Kunda Patch => No
2016-03-15 13:08 Kunda Note Added: 0039178
2016-03-15 13:08 Kunda Target Version => 1.6 milestone
2016-11-18 17:34 Kunda Relationship added related to 0013248
2016-11-18 17:37 Kunda Note Added: 0042461
2016-11-20 22:34 cbradney Assigned To => cbradney
2016-11-20 22:34 cbradney Status new => resolved
2016-11-20 22:34 cbradney Resolution open => fixed
2016-11-20 22:34 cbradney Fixed in Version => 1.5.3.svn
2016-11-21 01:31 Kunda Target Version 1.6 milestone => 1.5.3
2016-12-05 20:21 cbradney Status resolved => closed