package menu entries should use Exec=/bin/sh /usr/lib/libreoffice/program/soffice --writer %U
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libreoffice (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
This bug isn't upstream but it is relevant to the Ubuntu packaging.
The current menu entries have indirect invocation. This infers intermediate dash shell invocation and thus slowdowns the startup. Moreover, not using direct file path infers a useless additional load due to the lookup time.
With the Xubuntu 12.04 (precise) package, the menu entry description provides the
below command :
---
j@portable:~$ grep -i exec /usr/share/
Exec=libreoffice --writer %U
Exec=libreoffice --writer %U
j@portable:~$
---
The above command line is equivalent to the below pseudo instructions :
---
j@portable:~$ which libreoffice
/usr/bin/
j@portable:~$ file /usr/bin/
/usr/bin/
j@portable:~$ file /usr/lib/
/usr/lib/
j@portable:~$ /usr/lib/
---
I think the /usr/share/
provide the below command line instead :
---
Exec=/bin/sh /usr/lib/
---
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libreoffice 1:3.5.7-0ubuntu5
ProcVersionSign
Uname: Linux 3.2.0-57-generic x86_64
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
Date: Sun Dec 8 11:44:36 2013
InstallationMedia: Xubuntu 12.04.3 LTS "Precise Pangolin" - Release amd64 (20130820)
MarkForUpload: True
SourcePackage: libreoffice
UpgradeStatus: No upgrade log present (probably fresh install)
This release of Ubuntu is no longer receiving maintenance updates. If this is still an issue on a maintained version of Ubuntu please let us know.