https://bugs.freedesktop.org/show_bug.cgi?id=40964

Jérôme <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #2 from Jérôme <[email protected]> 2012-01-30 13:39:25 PST ---
The new 3.5.0rc2 version decreased the number of indirection. However we could
go further.

Menu entry :
---
j@j-K64:~$ grep -i exec /usr/share/applications/libreoffice3.5-writer.desktop 
Exec=libreoffice3.5 --writer %U
j@j-K64:~$
---

The above command line is equivalent to the below pseudo instructions :
---
j@j-K64:~$ which libreoffice3.5
/usr/bin/libreoffice3.5
j@j-K64:~$ file /usr/bin/libreoffice3.5
/usr/bin/libreoffice3.5: symbolic link to `/opt/libreoffice3.5/program/soffice'
j@j-K64:~$ file /opt/libreoffice3.5/program/soffice
/opt/libreoffice3.5/program/soffice: POSIX shell script text executable
j@j-K64:~$ head -1 /opt/libreoffice3.5/program/soffice
#!/bin/sh
j@j-K64:~$ /bin/sh /opt/libreoffice3.5/program/soffice --writer %U
---

I think the /usr/share/applications/libreoffice3.5-writer.desktop file should
provide the below command line instead :
---
Exec=/bin/sh /opt/libreoffice3.5/program/soffice --writer %U
---

-- 
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

Reply via email to