Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hello,

I've been advised to post here.


I have LibreOffice 3.4.5
OOO340m1 (Build:502)

on Debian Wheezy, with MATE desktop.


In LibreOffice, it's impossible tu use GTK open/save dialog boxes.


The problem have been solved by adding

export OOO_FORCE_DESKTOP=gnome

to ~/.profile

and

if [ -r ~/.profile ]; then
    . ~/.profile
fi

to ~/.xsessionrc


Here is the conclusion of Mirosław Zalewski, who helped me on the user mailing list :

LightDM on login reads script set in session-wrapper in
/etc/lightdm/lightdm.conf file. On Debian, this is /etc/X11/Xsession.

That script sets up X environment, by reading files in /etc/X11/Xsession.d
directory. One of them sources users' XSESSIONRC file, which is ~/.xsessionrc.

In my solution, I tell to put there statement, that reads ~/.profile if it
exists and is readable. Then I tell to put OOO_FORCE_DESKTOP in that ~/.profile
file.

So, in fact, you could put OOO_FORCE_DESKTOP in ~/.xsessionrc and it should
work. I suggest to put in ~/.profile file, because that way you can have all
environment variables in that one single file. If you ever happen to switch
from LightDM to other graphical login manager, or decide to not use any
graphical login manager at all, all your variables should be in place (or will
be with minimal configuration).





--
Arnaud Champollion

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.