Gentoo Forums
Gentoo Forums
Quick Search: in
/usr/bin/firefox messed up, launches Mozilla [SOLVED]
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
sog
Guru
Guru


Joined: 04 Apr 2004
Posts: 356

PostPosted: Mon May 03, 2004 12:07 pm    Post subject: /usr/bin/firefox messed up, launches Mozilla [SOLVED] Reply with quote

quick question on a simple but rather confusing problem. i installed firefox on my gentoo box weeks ago and have been using it as my default browser ever since - and configured it that way in GNOME (v 2.6).

but after a reboot and clicking a link from Straw mozilla 1.6 came up. a bit weird, i thought, but then i tried typing firefox from a terminal and it opened mozilla.

the preferences still say firefox, but now that starts mozilla. anybody have a clue as to what happened?

should i just reinstall firefox?


Last edited by sog on Fri May 07, 2004 4:57 pm; edited 2 times in total
Back to top
View user's profile Send private message
bmichaelsen
Veteran
Veteran


Joined: 16 Nov 2002
Posts: 1274
Location: Hamburg, Germany

PostPosted: Mon May 03, 2004 12:16 pm    Post subject: Reply with quote

This is probably caused by the mozilla-lauchner script from the mozilla-launcher ebuild that really is called by typing firefox. However, I have no idea how to fix it.
_________________
etc-proposals, your friendly config file updater!
Back to top
View user's profile Send private message
sog
Guru
Guru


Joined: 04 Apr 2004
Posts: 356

PostPosted: Mon May 03, 2004 3:16 pm    Post subject: Reply with quote

no idea what caused the issue, seeing as i hadn't altered anything related, but an emerge of mozilla-firefox did the trick. still would be interested to know if anyone can figure why it happened in the first place, however.
Back to top
View user's profile Send private message
rth
Apprentice
Apprentice


Joined: 23 Sep 2002
Posts: 157

PostPosted: Mon May 03, 2004 4:42 pm    Post subject: Reply with quote

I'm guessing it's because of symbolic links. I had the same thing when I launched the shortcuts. So I re-aimed them to the actual binaries IIRC.
Back to top
View user's profile Send private message
Roptaty
Apprentice
Apprentice


Joined: 12 May 2002
Posts: 184
Location: Norway

PostPosted: Mon May 03, 2004 6:07 pm    Post subject: Reply with quote

The cause might be MOZILLA_FIVE_HOME to be set to your mozilla directory instead of your firefox directory.
_________________
This signature will selfdestruct in ten seconds...
ten - nine - eight - seven - six - five - four - three - two - one - BSOD (System crashed, please restart the self-destruct sequence)
Back to top
View user's profile Send private message
sog
Guru
Guru


Joined: 04 Apr 2004
Posts: 356

PostPosted: Tue May 04, 2004 8:55 am    Post subject: Reply with quote

thanks for the suggestions, guys (or gals). you'll have to forgive my ignorance here, though, as i'm not sure what to do with your much appreciated advice.

and the problem has again cropped up after a reboot related to a doom legacy install.

obviously i can't reemerge firefox every time i reboot, so any help here would be most appreciated.

thanks.
Back to top
View user's profile Send private message
sog
Guru
Guru


Joined: 04 Apr 2004
Posts: 356

PostPosted: Tue May 04, 2004 9:07 am    Post subject: Reply with quote

update: here's what my /usr/bin/firefox has in it RE: MOZILLA_FIVE_HOME:

Code:
  # Support both firefox and mozilla
  case "$0" in
    *fox)
      export MOZILLA_FIVE_HOME="/usr/lib/MozillaFirefox"
      remote=$MOZILLA_FIVE_HOME/mozilla-xremote-client
      mozbin=$MOZILLA_FIVE_HOME/firefox-bin
      grepfor=Firefox-bin
                                                                               
      # Set LD_LIBRARY_PATH (also set in /etc/env.d/10MozillaFirefox)
      export LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$MOZILLA_FIVE_HOME/plugins${LD_$      ;;
                                                                               
    *mozilla)
      export MOZILLA_FIVE_HOME="/usr/lib/mozilla"
      remote=$MOZILLA_FIVE_HOME/mozilla-xremote-client
      mozbin=$MOZILLA_FIVE_HOME/mozilla-bin
      grepfor=Mozilla-bin


and yet, typing "firefox" still runs mozilla.

more importantly, why does this keep happening after a reboot. something is actively resetting the firefox command, but i'll be damned if i know what it is.
Back to top
View user's profile Send private message
Grrliegeek
n00b
n00b


Joined: 19 Jan 2003
Posts: 20

PostPosted: Tue May 04, 2004 10:51 am    Post subject: KDE exits with Firefox - Mozilla loaded on reboot Reply with quote

FWIW I have a problem that is probably related. I am using KDE, and my shortcut in the KDE kicker works fine for Firebird. However, if I shut down KDE with Firefox running, when KDE reloads my saved desktop it loads Mozilla. Bad ebuild!
_________________
---
Tracey
Linux Counter #264789

Use Gentoo and emerge -u world
Back to top
View user's profile Send private message
sog
Guru
Guru


Joined: 04 Apr 2004
Posts: 356

PostPosted: Tue May 04, 2004 12:50 pm    Post subject: Reply with quote

thx for the tip, Grrliegeek. i've had that same behavior for a while; i always chalked it up to the fact that GNOME's built on mozilla rather than firefox and doesn't support shutdown/resume. i figured GNOME was doing the best it could, in other words.

but now, even my links and terminal commans bring up the wrong browser which has got me confused as hell.

out of curiosity, does anyone know why my /usr/bin/firefox needs to support mozilla as well? can i cut that part out?
Back to top
View user's profile Send private message
sog
Guru
Guru


Joined: 04 Apr 2004
Posts: 356

PostPosted: Wed May 05, 2004 8:16 am    Post subject: Reply with quote

different question - anyone know why my /usr/bin/firefox isn't working?

is there something in the $PATH that would override it when i type "firefox"
Back to top
View user's profile Send private message
ryker
Guru
Guru


Joined: 28 May 2003
Posts: 406
Location: Portage, IN

PostPosted: Thu May 06, 2004 12:46 pm    Post subject: Reply with quote

if you have mozilla-launcher installed, make sure it is v1.7. I had 1.2 and it always launched firefox when I clicked on mozilla. With 1.7, everything is fine now.
Back to top
View user's profile Send private message
faldore
n00b
n00b


Joined: 03 May 2004
Posts: 17

PostPosted: Thu May 06, 2004 1:01 pm    Post subject: Reply with quote

Try unmerging mozilla?
Code:
emerge --unmerge mozilla
Back to top
View user's profile Send private message
sog
Guru
Guru


Joined: 04 Apr 2004
Posts: 356

PostPosted: Fri May 07, 2004 4:56 pm    Post subject: ~ Reply with quote

ryker rocks.

an upgrade from 1.2 to 1.7 (using ACCEPT_KEYWORDS="~x86") fixed me up .

firefox is back in action.

thx ryker.
Back to top
View user's profile Send private message
ryker
Guru
Guru


Joined: 28 May 2003
Posts: 406
Location: Portage, IN

PostPosted: Fri May 07, 2004 5:49 pm    Post subject: Re: ~ Reply with quote

sog wrote:
ryker rocks.

an upgrade from 1.2 to 1.7 (using ACCEPT_KEYWORDS="~x86") fixed me up .

firefox is back in action.

thx ryker.

No problem. Glad I can help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum