Apache OpenOffice (AOO) Bugzilla – Issue 106386
menu entries should use directly /opt/openoffice.org3/program/soffice
Last modified: 2013-02-07 22:39:16 UTC
I discovered that the OOo_3.1.1_LinuxX86-64_install_fr_deb.tar.gz Debian packages could be tweaked for a faster cold start. The openoffice.org3_3.1.1-19_amd64.deb package provides the below files: /opt/openoffice.org3/program/soffice /opt/openoffice.org3/share/xdg/*.desktop The /opt/openoffice.org3/share/xdg/writer.desktop file defines the below launch command: ----- Exec=openoffice.org3 -writer %U ----- The above command will execute the below pseudo instructions: ----- which openoffice.org3 file /usr/bin/openoffice.org3 ls -l /bin/sh /bin/dash exec /usr/bin/openoffice.org3 file /opt/openoffice.org3/program/soffice ls -l /bin/sh /bin/dash /opt/openoffice.org3/program/soffice -writer %U ----- The default packages could replace the above pseudo code by the following pseudo code: ----- ls -l /bin/sh /bin/dash /opt/openoffice.org3/program/soffice -writer %U ----- This could be performed by setting the below command in the /opt/openoffice.org3/share/xdg/writer.desktop file: ----- Exec=/bin/sh /opt/openoffice.org3/program/soffice -writer %U ----- The below Ubuntu bug report shows that removing all those indirect calls speeds up the cold startup time by more than 20% : https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/452043
Still occurs with 3.2 version.