Hi Arnaud,
On Sat, 2012-03-03 at 09:36 +0100, Arnaud Champollion wrote:
The problem have been solved by adding
export OOO_FORCE_DESKTOP=gnome
Ok - so this is used in this code:
http://cgit.freedesktop.org/libreoffice/core/tree/vcl/unx/generic/plugadapt/salplug.cxx#n158
and the black-magic desktop detector is here:
http://cgit.freedesktop.org/libreoffice/core/tree/vcl/unx/generic/desktopdetect/desktopdetector.cxx#n50
FWIW, this horrific mess is basically Havoc Pennington's fault for
killing my proposal to have a standard freedesktop desktop-environment
environment variable about a decade ago ;-) but I digress.
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.
If it is certain that your desktop always wants to use the gtk+
backend, -and- it is possible to detect your desktop reasonably quickly
& easily (ie. an environment variable would be best).
Then we can trivially add this to the desktopdetector.cxx and fix all
lightdm users in our next release. But of course you'd need to come up
with that information and/or a patch :-)
HTH,
Michael.
--
michael.meeks@suse.com <><, Pseudo Engineer, itinerant idiot
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.