Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#2034 - Mozilla apps add menu icons with wrong exec paths

Attached to Project: Arch Linux
Opened by Mario Vazquez (darkcoder) - Tuesday, 18 January 2005, 23:34 GMT
Last edited by Judd Vinet (judd) - Wednesday, 19 January 2005, 05:10 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To Dale Blount (dale)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

The latest packages mozilla-firefox-1.0-2, mozilla-thunderbird-1.0, and probably mozilla-1.75-1 too add icons to the menu entries that do not work since they reference binaries that cannot be found.

This is part of the mozilla-firefox.destop included on the latest firefox package.

Name=Mozilla Firefox
GenericName=Web Browser
Comment=Browse the World Wide Web
Exec=firefox
Terminal=false
MultipleArgs=false

It make a reference to a firefox binary, and while it exists on /opt/mozilla/bin, it do not exist on any folder included on the PATH location. There are 2 fix to the problem:

Fix #1
Put the correct path on the .desktop file.
Sample again, this time fixed

Name=Mozilla Firefox
GenericName=Web Browser
Comment=Browse the World Wide Web
Exec=/opt/mozilla/bin/firefox
Terminal=false
MultipleArgs=false

Fix #2 Better IMHO
Add a symlink to /usr/bin. That will make the icon work, plus add an easier way for the user who do not use KDE or Gnome to invoke it from the shell. Can be done by adding two lines to each PKGBUILD. Again sample with firefox.

# Make a symlink
mkdir -p $startdir/pkg/usr/bin
ln -sf $startdir/pkg/opt/mozilla/bin/firefox $startdir/pkg/usr/bin/
This task depends upon

Closed by  Jan de Groot (JGC)
Wednesday, 19 January 2005, 08:46 GMT
Reason for closing:  Not a bug
Comment by Mario Vazquez (darkcoder) - Tuesday, 18 January 2005, 23:42 GMT
Btw, after submiting the bug, I look that I left it in the System category while it was the Package category.
Comment by Jan de Groot (JGC) - Wednesday, 19 January 2005, 08:46 GMT
You need to re-login. /opt/mozilla/bin is added to the $PATH with the new mozilla-common package. Without logging in, you won't be able to start mozilla/firefox/thunderbird from the panel.

Loading...