https://bugs.freedesktop.org/show_bug.cgi?id=40964
Summary: menu entries should lower indirections
Product: LibreOffice
Version: LibO 3.3.3 release
Platform: Other
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Installation
AssignedTo: [email protected]
ReportedBy: [email protected]
With the Ubuntu 11.04 (natty) package, the menu entry description provides the
below command :
---
j@lu64:~$ grep -i exec /usr/share/applications/libreoffice-writer.desktop
Exec=libreoffice -writer %U
Exec=libreoffice -writer %U
j@lu64:~$
---
The above command line is equivalent to the below pseudo instructions :
---
j@lu64:~$ which libreoffice
/usr/bin/libreoffice
j@lu64:~$ file /usr/bin/libreoffice
/usr/bin/libreoffice: POSIX shell script text executable
j@lu64:~$ cat /usr/bin/libreoffice
#!/bin/sh
/usr/lib/libreoffice/program/soffice "$@"
j@lu64:~$ file /usr/lib/libreoffice/program/soffice
/usr/lib/libreoffice/program/soffice: POSIX shell script text executable
j@lu64:~$ /bin/sh /usr/lib/libreoffice/program/soffice -writer %U
---
I think the /usr/share/applications/libreoffice-writer.desktop file should
provide the below command line instead :
---
Exec=/bin/sh /usr/lib/libreoffice/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
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs