[Libreoffice] About InstallationFinder (sdk, Java), an API question.

Giuseppe Castagno giuseppe.castagno at acca-esse.eu
Tue Oct 5 07:34:24 PDT 2010

Hi Caolán,

Caolán McNamara wrote:
> On Tue, 2010-10-05 at 15:02 +0200, Giuseppe Castagno wrote:
>> For Linux, line:
>> http://opengrok.go-oo.org/xref/sdk/odk/source/com/sun/star/lib/loader/InstallationFinder.java#74
>> has a "soffice", shouldn't it be "libreoffice" ?
> Dunno about the others, but some notes on the "soffice" binary.
> desktop/source/app/sofficemain.cxx hardcodes "soffice" with
> Application::SetAppName which means that vcl/unx/gtk/app/gtkdata.cxx
> calls g_set_prgname with that name. Which means that the recently-used
> files in GNOME spawns off "soffice" when you open those up from
> places->recent documents. 
> So *if* soffice is changed to "libreoffice" then that hard-coded line in
> desktop needs to be changed as well. 

actually I don't know if it needs to be changed, I think that the 
'soffice' referred to in that chunk of Java code is the one seen in the 
$PATH variable so that in the case of LibO it's /usr/bin/libreoffice.

As soon I have some spare time, I'll check deeper with some test 'live'.


Kind Regards,
Giuseppe Castagno
Acca Esse http://www.acca-esse.eu
giuseppe.castagno at acca-esse.eu
beppec56 at openoffice.org

More information about the LibreOffice mailing list