| View previous topic :: View next topic |
| Author |
Message |
sog Guru


Joined: 04 Apr 2004 Posts: 356
|
Posted: Mon May 03, 2004 12:07 pm Post subject: /usr/bin/firefox messed up, launches Mozilla [SOLVED] |
|
|
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 |
|
 |
bmichaelsen Veteran


Joined: 16 Nov 2002 Posts: 1274 Location: Hamburg, Germany
|
Posted: Mon May 03, 2004 12:16 pm Post subject: |
|
|
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 |
|
 |
sog Guru


Joined: 04 Apr 2004 Posts: 356
|
Posted: Mon May 03, 2004 3:16 pm Post subject: |
|
|
| 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 |
|
 |
rth Apprentice


Joined: 23 Sep 2002 Posts: 157
|
Posted: Mon May 03, 2004 4:42 pm Post subject: |
|
|
| 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 |
|
 |
Roptaty Apprentice

Joined: 12 May 2002 Posts: 184 Location: Norway
|
Posted: Mon May 03, 2004 6:07 pm Post subject: |
|
|
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 |
|
 |
sog Guru


Joined: 04 Apr 2004 Posts: 356
|
Posted: Tue May 04, 2004 8:55 am Post subject: |
|
|
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 |
|
 |
sog Guru


Joined: 04 Apr 2004 Posts: 356
|
Posted: Tue May 04, 2004 9:07 am Post subject: |
|
|
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 |
|
 |
Grrliegeek n00b


Joined: 19 Jan 2003 Posts: 20
|
Posted: Tue May 04, 2004 10:51 am Post subject: KDE exits with Firefox - Mozilla loaded on reboot |
|
|
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 |
|
 |
sog Guru


Joined: 04 Apr 2004 Posts: 356
|
Posted: Tue May 04, 2004 12:50 pm Post subject: |
|
|
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 |
|
 |
sog Guru


Joined: 04 Apr 2004 Posts: 356
|
Posted: Wed May 05, 2004 8:16 am Post subject: |
|
|
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 |
|
 |
ryker Guru


Joined: 28 May 2003 Posts: 406 Location: Portage, IN
|
Posted: Thu May 06, 2004 12:46 pm Post subject: |
|
|
| 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 |
|
 |
faldore n00b

Joined: 03 May 2004 Posts: 17
|
Posted: Thu May 06, 2004 1:01 pm Post subject: |
|
|
Try unmerging mozilla?
| Code: | | emerge --unmerge mozilla |
|
|
| Back to top |
|
 |
sog Guru


Joined: 04 Apr 2004 Posts: 356
|
Posted: Fri May 07, 2004 4:56 pm Post subject: ~ |
|
|
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 |
|
 |
ryker Guru


Joined: 28 May 2003 Posts: 406 Location: Portage, IN
|
Posted: Fri May 07, 2004 5:49 pm Post subject: Re: ~ |
|
|
| 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 |
|
 |
|