I just checked with the 3.5.0rc2 version. At each invocation of one of the below command : "libreoffice3.5 --calc" "libreoffice3.5 --writer" "libreoffice3.5 --impress"
the /opt/libreoffice3.5/program/soffice shell script is executed. This script will quite always guess the same environment variables. Moreover, guessing those values is time consuming. I think we could cache environment settings into a /var/lib/libreoffice/basis3.4/program/environment.sh file. Those environment settings could be calculated again by a package manager trigger. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libreoffice in Ubuntu. https://bugs.launchpad.net/bugs/452073 Title: [Upstream] Shouldn't detect configuration at each invocation Status in LibreOffice Productivity Suite: Confirmed Status in The OpenOffice.org Suite: Unknown Status in “libreoffice” package in Ubuntu: New Status in “openoffice.org” package in Ubuntu: Won't Fix Bug description: Binary package hint: openoffice.org At each invocation of oocalc, oowriter or ooimpress, the /usr/lib/openoffice/program/soffice shell script is executed. This script will quite always guess the same environment variables. Moreover, guessing those values is time consuming at the well known critical startup time of openoffice. I think we could cache the below environment settings into a /var/lib/openoffice/basis3.1/program/environment.sh file: ----- FILE_LOCKING=auto OPENGL_SUPPORT=no SAL_ENABLE_FILE_LOCKING=1 SAL_NOOPENGL=true JITC_PROCESSOR_TYPE=6 sd_cwd=/usr/lib/openoffice/program sd_binary=/usr/lib/openoffice/program/oosplash.bin ----- Those environment settings could be calculated again by an apt trigger or a daily cron task. ProblemType: Bug Architecture: i386 Date: Thu Oct 15 12:46:20 2009 Dependencies: DistroRelease: Ubuntu 9.10 Package: openoffice.org-common 1:3.1.1-4ubuntu1 [modified: var/lib/openoffice/basis3.1/share/config/javasettingsunopkginstall.xml] PackageArchitecture: all ProcEnviron: LANG=fr_FR.UTF-8 SHELL=/bin/bash ProcVersionSignature: Ubuntu 2.6.31-14.46-generic SourcePackage: openoffice.org Uname: Linux 2.6.31-14-generic i686 To manage notifications about this bug go to: https://bugs.launchpad.net/df-libreoffice/+bug/452073/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp