[Libreoffice] [PUSHED] [PATCH] fdo#32263 - Config file location

Noel Power nopower at novell.com
Thu Jun 9 12:14:22 PDT 2011


Hi Petr
On 09/06/11 18:41, Petr Mladek wrote:
> Noel Power píše v Čt 09. 06. 2011 v 16:11 +0100:
>> Hi Petr
>> On 09/06/11 13:46, Petr Mladek wrote:
>>> Noel Power píše v St 08. 06. 2011 v 17:36 +0100:
>> [...]
>>> Hmm, I am not sure if we want to hardcode "/.config". If I understand

>>> Hmm, do we really want to use $HOME/.config/libreoffice by default?
well, don't blame the messenger or in this case the patch pusher ;-) 
But, it seems since we are a freedesktop application ( and we do already 
have support for XDG_CONFIG_HOME ) that it is reasonable we should also 
support the default config dir  (see  
http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html ) 
which says when XDG_CONFIG_HOME is not  set then $HOME/.config should be 
used
Additionally using $HOME/.config/libreoffice instead of 
$HOME/.config/.libreoffice also seems very sensible  ( note: this is not 
demanded anywhere but I agree with the text in the bug in that sofar I 
have not seen any application specific subdir in .config start with a '.' )
>>> Do we want to do it between 3.4 and 3.5?
well now that is why I asked for 'thoughts' on this. I don't see it any 
really more less disruptive introducing it in say '4.0' I'd hold the 
view if we make such a change it's better sooner rather than later ( but 
this is no pet peeve of mine so I have no real strong feelings )
>>> This behavior seems to be new in master. The LO-3.4 builds still seem to
>>> put configuration in $HOME/.libreoffice/3.
yes, of course this is just master only for the moment :-)
>>> $HOME/.config looks almost empty on my system. Is it a new standard or
>>> so? ;-)
not on mine

  ~/.config/
total 96
drwxr-xr-x 2 npower users 4096 2009-10-28 12:38 gnome-main-menu
-rw-r--r-- 1 npower users 9552 2009-10-28 12:38 ab-newapps.txt
drwx------ 2 npower users 4096 2009-10-28 14:02 enchant
drwxr-xr-x 3 npower users 4096 2009-11-04 11:42 menus
drwxr-xr-x 4 npower users 4096 2010-03-22 20:01 gnome-mplayer
-rw-r--r-- 1 npower users    5 2010-10-12 15:09 user-dirs.locale
-rw------- 1 npower users  632 2010-10-12 15:09 user-dirs.dirs
drwxr-xr-x 3 npower users 4096 2010-10-12 15:09 gnome-session
drwx------ 4 npower users 4096 2010-10-12 15:09 compiz
drwxr-xr-x 4 npower users 4096 2010-10-12 15:09 tomboy
drwx------ 2 npower users 4096 2010-10-13 10:22 tracker
-rw-r--r-- 1 npower users 1646 2010-10-13 14:56 monitors.xml
drwx------ 2 npower users 4096 2010-10-21 23:06 gthumb
drwx------ 2 npower users 4096 2010-10-27 14:54 totem
drwxr-xr-x 2 npower users 4096 2010-11-01 09:46 xbuild
drwxr-xr-x 7 npower users 4096 2010-11-01 11:01 MonoDevelop
drwxr-xr-x 3 npower users 4096 2010-11-29 13:51 autostart
drwxr-xr-x 4 npower users 4096 2011-05-13 14:13 f-spot
-rw-r--r-- 1 npower users 7355 2011-05-25 13:15 Trolltech.conf
drwxr-xr-x 3 npower users 4096 2011-06-02 13:01 banshee-1
drwx------ 2 npower users 4096 2011-06-08 12:43 gtk-2.0


Noel



More information about the LibreOffice mailing list