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 08-04-2003, 12:20 AM   #1
curos
Member
 
Registered: Aug 2003
Distribution: Slackware
Posts: 72

Rep: Reputation: 15
Can't open multiple MozillaFirebird windows


I am using Redhat 9
I installed MozillaFirebird in usr/local/MozillaFirebird/.
And when i open MozillaFirebird, it works just fine. The problem comes when I try to open it again (thus opening a new window). It says that the default user profile is in use and that i can create a new one. I don't want to create a new one, I just want to use the default user profile. The same thing happens when I open up the browser and try to open an html file on the local hard drive. It won't let me open it unless I close all the browsers currently opened.

And yes, I know you can get more windows by going to File > New Window. But what happens if you have multiple windows open and want to access a local html file. You would have to close all the windows.

I also know that I can always drag the local hmtl file into the Mozilla window, but this is a hassle. Is this how it's supposed to be? I just want to be able to double click on an html file on my hard drive and open it.
 
Old 08-04-2003, 12:21 PM   #2
mooreted
Member
 
Registered: May 2003
Posts: 598

Rep: Reputation: 30
Mozilla browsers are tabbed browsers. You don't open separate windows you open new tabs. Just hit CTRL+T to open a new tab and load a page or local file there. At least I think that is the easiest way.

Ted.
 
Old 08-04-2003, 12:46 PM   #3
moeminhtun
Member
 
Registered: Dec 2002
Location: Singapore
Distribution: Fedora Core 6
Posts: 647

Rep: Reputation: 30
CTRL + N to open the new Window.

Also from here.
File -> New window.
 
Old 08-05-2003, 02:10 AM   #4
jambaman
LQ Newbie
 
Registered: Jun 2003
Distribution: Red Hat 8.0
Posts: 3

Rep: Reputation: 0
same problem here

I'm having the same problem here. I just installed Mozilla 1.4 on a new machine and can't open multiple instances of Mozilla. If I click on a link in an email with Mozilla already open, I get the Mozilla Profile Manager saying that I need to create a new profile. On an older box, this works fine and I can't figure out what is different.

Anyone have any ideas?
 
Old 08-05-2003, 02:26 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well you just need to tell whatever is trying to load mozilla to use existing processes rather than starting new ones.
 
Old 08-05-2003, 12:25 PM   #6
jambaman
LQ Newbie
 
Registered: Jun 2003
Distribution: Red Hat 8.0
Posts: 3

Rep: Reputation: 0
How do I do that?

On my older linux box, I can click on the Mozilla icon multiple times and new windows come up on the same process. I can also click on a url in my email program (evolution), already having a Mozilla window open, and it will open the link in a new window. I can't do either of these things on my new linux box.

Both boxes are running RH8.0, but the older one is running the Mozilla that came with RH8.0 and the new one is running Mozilla 1.4 as a clean install (I didn't install the one with RH8.0).

Everthing was working fine with my old laptop (RH8.0 and Mozilla 1.3.1), but when I got a new one, I started seeing this problem.

Last edited by jambaman; 08-05-2003 at 12:28 PM.
 
Old 08-05-2003, 12:44 PM   #7
zakl
Member
 
Registered: May 2003
Location: Texas
Distribution: Gentoo
Posts: 80

Rep: Reputation: 15
Quote:
Originally posted by mooreted
Mozilla browsers are tabbed browsers. You don't open separate windows you open new tabs. Just hit CTRL+T to open a new tab and load a page or local file there. At least I think that is the easiest way.

Ted.
This is not correct, MozillaFirebird when installed and configured properly will in fact run multiple windows. I too use tabbed browsing myself, but there are times when I open multiple mozilla windows as well to do other tasks. While I also believe tabbed browsing is the most efficient, you can only use so many tabs before it gets too cluttered and is hard to read the tab titles.

Are you using a shortcut (quicklauch, app menu, etc.) to open mozilla? Or are you running it manually from a run command box or console? I get the small profile window popping up every so often, but it's usually whenever I click the mozilla button while mozilla is already in the process of loading.
 
Old 08-05-2003, 04:41 PM   #8
curos
Member
 
Registered: Aug 2003
Distribution: Slackware
Posts: 72

Original Poster
Rep: Reputation: 15
Yes, I was using a shortcut to open MozillaFirebird. How would one open it through the command line?
 
Old 08-06-2003, 10:19 AM   #9
zakl
Member
 
Registered: May 2003
Location: Texas
Distribution: Gentoo
Posts: 80

Rep: Reputation: 15
If the mozillafirebird executable is in your path, you should be able to simply run the command "MozillaFirebird" from the command line. It should be in /usr/bin. However, that is quite a long name to type, if it is your only mozilla browser installed and you don't have a regular mozilla installed, then you could create a symbolic link to give it another name.

# ln -sf /usr/bin/MozillaFirebird /usr/bin/mozilla(give it another name if you have a version of regular mozilla installed)

then just run the link you created:

$ mozilla

Or you could use the run command dialog in gnome or KDE, and just type "mozilla" there. This is what I did on my system. But as long as your not opening two mozilla windows at too close of an interval, ex. clicking on the button 2 times in a row. You shouldn't get the profile window.

Last edited by zakl; 08-06-2003 at 10:21 AM.
 
Old 08-06-2003, 12:29 PM   #10
mrtwice
Member
 
Registered: Feb 2002
Distribution: xubuntu 8.10
Posts: 225

Rep: Reputation: 31
I use the following script to start firebird

#!/bin/bash

/usr/local/MozillaFirebird/MozillaFirebird -remote "openURL($@, new-tab)" || exec /usr/local/MozillaFirebird/MozillaFirebird "$@";

save this script in your path and make it executable

this looks for an instance that is already open, if it is, then it opens a new tab for it. If you want, I believe you can change new-tab to new-window, but I am not sure. Check the mozilla command line docs for more info.

If there is not an open instance, then it just opens it normally.

Then, the trick is to make whatever desktop environment you are using to use that script as the command to run for any html file you try to open.

In KDE:

Control panel -> KDE components -> File associations

expand text and click html

hit the add button in application preference order area and type in the name of your script created above followed by %u. Mine is:

startfb %u

click ok. If you want you can click on the new selection you just made and change its properties. Now, move it to the top of that application preference section and you are ready to go.
 
Old 08-06-2003, 03:11 PM   #11
curos
Member
 
Registered: Aug 2003
Distribution: Slackware
Posts: 72

Original Poster
Rep: Reputation: 15
Talking

Works like a charm!
It finally works and just the way I wanted too. Changing 'new-tab' to 'new-window' also works, as you said.
I was just wondering what purpose the %u serves in 'startfb %u'.
 
Old 08-06-2003, 03:19 PM   #12
mrtwice
Member
 
Registered: Feb 2002
Distribution: xubuntu 8.10
Posts: 225

Rep: Reputation: 31
I believe that it passes the url to the browser on the command line. That is how firebird knows what page to load in the new tab.

startfb %u = startfb www.yourclickedlinkurl.com

then in the script, the argument passed to that script are referenced with $@

so then we have

/usr/local/MozillaFirebird/MozillaFirebird -remote "openURL( www.yourclickedlinkurl.com, new-tab)" || exec /usr/local/MozillaFirebird/MozillaFirebird "www.yourclickedlinkurl.com";

the %u is handled and filled in by KDE

Last edited by mrtwice; 08-06-2003 at 03:21 PM.
 
Old 12-05-2003, 06:39 AM   #13
anders-s
LQ Newbie
 
Registered: Nov 2003
Posts: 4

Rep: Reputation: 0
Smile MozillaFirebird %s or %u

"MozillaFirebird %u" doesn't work for me, it opens a new tab but not with the site requested.
But, "MozillaFirebird %s" works like a dream.
 
  


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
Firefox - Open with multiple tabs hamstereater Linux - Software 2 09-26-2005 03:22 AM
multiple programs open in xfwm4? dr_zayus69 Linux - Software 0 12-30-2004 03:10 PM
MozillaFirebird/firefox does not open ~ permissions? mossy Linux - Software 10 02-17-2004 02:57 PM
Can MozillaFirebird run on TWM windows system? takaki Linux - Newbie 7 01-10-2004 03:34 PM
Can't open multiple X sessions JasonSmead Linux - General 1 08-10-2003 02:35 PM

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

All times are GMT -5. The time now is 11:33 AM.

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
Open Source Consulting | Domain Registration