Hi,

On Wed, Jun 12, 2013 at 01:20:05PM +0100, Zefram wrote:
> libreoffice by default creates some files in a directory ~/libreoffice.

No.

> Conventionally this should by ~/.libreoffice, keeping out of the namespace
> of the user's normal (visible) files.

Which it does normally. See https://wiki.documentfoundation.org/UserProfile:

For GNU/Linux users:

    /home/<user name>/.config/libreoffice/4/user   (LibreOffice 4)
    /home/<user name>/.config/libreoffice/3/user   (LibreOffice 3 since 3.5.0)
    /home/<user name>/.libreoffice/3/user   (prior to LibreOffice 3.5.0)

And indeed, I see

UserInstallation=$SYSUSERCONFIG/libreoffice/4

where SYSUSERCONFIG *is* /home/rene/.config here.

And I see

static const char XDG_CONFIG_PART[] = "/.config";

in the LO 3.5.4 code, followed by:

            const char* pXDGCfgHome = getenv("XDG_CONFIG_HOME");
            // cater for XDG_CONFIG_HOME change
            // If XDG_CONFIG_HOME is set then we;
            // assume the user knows what they are doing ( room for improvement 
here, we could
            // of course search the default config dir etc. also  - but this is 
more complex,
            // we would need to weigh results from the current config dir 
against matches in
            // the 'old' config dir etc. ) - currently we just use the returned 
config dir.
            // If XDG_CONFIG_HOME is NOT set;
            // assume then we should now using the default $HOME/,config config 
location for
            // our user profiles, however *all* previous libreoffice and 
openoffice.org
[...]

so this should not happen(tm)...

Regards,

Rene


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to