Have you investigated which part causes the biggest slow down for you?  
Uncomment the last line (execute) and then 
Try with, "strace -rT /usr/lib/libreoffice/program/soffice", and then attach 
the output here.

You could also go line by line in the script itself if you want.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to openoffice.org 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:
  New
Status in “libreoffice” package in Ubuntu:
  Incomplete
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     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to