LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-29-2004, 05:19 AM   #1
f0rmula
Member
 
Registered: Dec 2003
Posts: 72

Rep: Reputation: 15
Mozilla and firebird..


Just installed firebird.. UNBELIEVABLY GOOD...

problem is i still have mozilla installed.. when i change the default browser in gnome settings from "mozilla" to "mozilla-firebird" whenever i open mozilla from clicking a link in evolution (in an email) it requests that i select a profile.. and i cant run more than one window at the same time using the same profile..

grr...

thing is.. if i leave it set to mozilla and open up a firebird, every time i click a link in evolution it opens up in a beautiful new firebird window, just like it should.. problem arises when i dont have a firebird window open before i click the link, it starts a new original mozilla process..

anybody have any ideas how to prevent this???

help appreciated...

james
 
Old 01-29-2004, 05:45 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
I think it's because of the "run-mozilla.sh" or something like that...I've had some cases on this.

1) when I compiled firebird and thunderbird from source last time, it happened that if nothing was open, "mozilla" opened a normal mozilla. when firebird was opened, running any mozilla/-thunderbird/-firebird caused firebird to launch - no normal mozilla or anything else no matter what I tried, unless I first closed firebird and started all over again
2) opening thunderbird did nothing by using "mozilla-thunderbird". instead, "run-mozilla.sh --thunderbird-bin" (or what were they exactly?) caused thunderbird to open sometimes, but sometimes it opened just a normal mozilla

and things like that. so I think the thing is, all of those (mozilla, thunder- and firebird) use somekind of "same" script to launch the basic engine or something, and then just "specialize" into thunderbird or firebird...sounds stupid, but it just looked like it (nowadays I don't have any problems, I use binaries)....don't know if this helps at all but to get the picture...so locate the place where your browser is launched and check out the commandline, and see whether it's like

run-mozilla or
run-mozilla --mozilla-firebird or
mozilla-firebird

or whatever...play with those or then you can just remove normal mozilla & use only firebird. that might do it the easiest way....

firebird _is_ awesome.
 
Old 01-29-2004, 05:54 AM   #3
f0rmula
Member
 
Registered: Dec 2003
Posts: 72

Original Poster
Rep: Reputation: 15
good to know im not alone..

but im really lost on this one..

Code:
[james@hansenj paper_for_europar]$ /usr/lib/mozilla-firebird-0.6.1/run-mozilla.sh
 
run-mozilla.sh: Cannot execute .
 
[james@hansenj paper_for_europar]$ /usr/lib/mozilla-firebird-0.6.1/run-mozilla.sh --mozilla-firebird
 
run-mozilla.sh: Cannot execute --mozilla-firebird.
 
[james@hansenj paper_for_europar]$
just always says cannot run...

mozilla-firebird launches correctly, but when called multiple times, requires more than one protocol..

james
 
Old 01-29-2004, 06:19 AM   #4
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
I located where my executable for firebird (mozilla-firebird) is, and found out it was a shell script...here's what's inside:

#!/bin/sh

MOZ_FIREBIRD_EX=/opt/mozilla-firebird/bin/MozillaFirebird
OPEN_IN=new-window
#OPEN_IN=new-tab
if [ "$2" = "tab" ]; then OPEN_IN=new-tab; fi

$MOZ_FIREBIRD_EX -remote "ping()" > /dev/null 2>&1

if [ $? -eq 0 ]; then
exec $MOZ_FIREBIRD_EX -remote "openURL($1,$OPEN_IN)"
else
if [ "$2" = "tab" ]; then $0 $1; exit 0; fi
exec $MOZ_FIREBIRD_EX "$@"
fi

so basically it just defines whether to open a new window in tab or in a window. the next thing I did was to check out the MozillaFirebird which is an executable for this file...also a shell script (and a bit longer than this). it uses the run-mozilla.sh and at first glance it seemed that the run-mozilla.sh is the one which truly starts a mozilla-program....like it's the "core" of them all.

now what's interesting is the way it starts...I didn't spend too much time on it but it looked like it passes the program name to be run as a variable so could it be that after you've first started firebird, the variable is set to "MozillaFirebird" or something and it opens firebirds...but if you haven't, it uses just the normal mozilla?

in this case you just would need to find a way to set the variable before starting run-mozilla.sh or then change it in the script (which would disable the normal mozilla, if you don't specially tell run-mozilla to use it)...?

check out this:

$ locate MozillaFirebird
$ locate run-mozilla.sh
then
$ cat [where-ever-it-is]/MozillaFirebird
and after it look
$ cat [where-ever-it-is]/run-mozilla.sh

I think the variable passed to run-mozilla.sh is the key to this one
 
Old 01-29-2004, 06:29 AM   #5
f0rmula
Member
 
Registered: Dec 2003
Posts: 72

Original Poster
Rep: Reputation: 15
looking at it now.. cheers.. will keep you posted

tried removing original mozilla.. firebird still did exactly the same..

james
 
Old 02-12-2004, 04:12 AM   #6
DrD
Member
 
Registered: Nov 2003
Distribution: Fedora Core 4
Posts: 99

Rep: Reputation: 15
Where exactly are the gnome settings you are reffering to in this post, that let's you change the default browser to firebird? I was going to make a new post but it would seem to make more sense to just post it here.
 
Old 02-12-2004, 11:41 AM   #7
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
now firefox's been released, so you may also try getting it & replacing your firebird with firefox
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Segfaults in Mozilla, Mozilla Firebird, and Mozilla Thunderbird Ninja Cow Linux - Software 2 02-02-2004 02:33 AM
Java for Mozilla and Mozilla-firebird Problem, Please help londonboi Linux - General 5 01-08-2004 06:07 AM
Java in Mozilla Firebird and Mozilla saurya_s Linux - Software 1 12-08-2003 02:12 PM
howto get firebird to open link in mozilla mail instead of mozilla? breadbin Linux - Software 1 09-13-2003 05:46 PM
mozilla/mozilla firebird flash eltongeoff Linux - Newbie 1 07-18-2003 05:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration