LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-08-2005, 10:54 PM   #1
jrtayloriv
Member
 
Registered: Jun 2004
Location: Inland NW, US
Distribution: Ubuntu
Posts: 365
Blog Entries: 1

Rep: Reputation: 44
Mozilla - profile in use


If I have mozilla open, and then try to open up another instance of it, a dialog titled "Select User Profile" pops up, and asks me to pick a profile before I start mozilla. I have never created a separate profile, so the only profile listed is default. When I choose "default" and click "start mozilla" I get an error message that says "Mozilla cannot use the profile 'default' because it is in use. Please choose another profile or create a new one." I do not have this problem on my gentoo system, only the slack one, what can I do to prevent it from asking me this?

Thanks,
jrtayloriv
 
Old 02-08-2005, 10:56 PM   #2
JSpired
Member
 
Registered: Sep 2003
Distribution: Slackware, Suse 9.2
Posts: 565

Rep: Reputation: 30
If I'm reading you correctly....

When one profile is open, you cannot open another instance of it. Therefore, you would have to either create another profile or exit the one currently in use.
 
Old 02-08-2005, 11:26 PM   #3
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Code:
if [ -L $mozlock ]; then
	$mozhome -remote "openURL($2,new-tab)"
else
	$mozhome "$2"
fi
where $mozhome is where moz lives and $mozlock is the lock file buried in my profile in ~/.mozilla. That's just part of a case statement but covers most things (and change $2 to $1 if it's not in a case statement). Call that instead of mozilla. Or search this site - dozens of people have come up with several different workarounds. Or you can just hack a piece out of the startup scripts (the mozilla binary is always wrapped in something) because I once chopped something out of one of them out of curiosity and made it stop, but felt more comfortable doing it this way.

The lockfile and profile warning is a lame-ass workaround for multiple instances sometimes trashing profiles - which they ought to fix instead of annoying every Linux user in the world, but oh well.

Gentoo uses a wrapper for mozilla that is also a workaround for the workaround - I forget what it's called (mozilla-wrapper?), but you can download it from freshmeat.
 
Old 02-09-2005, 02:03 AM   #4
Baggerman
LQ Newbie
 
Registered: Feb 2005
Posts: 1

Rep: Reputation: 0
I had the same problem in FC3, I got around it by using MSS (Mozilla Starter Script).

You can check it out at http://kingant.net/?p=mss
 
  


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
can't open mozilla profile tscox Mandriva 2 11-08-2004 10:52 AM
Mozilla Profile Problem Makaelin Fedora 4 06-22-2004 03:16 PM
Mozilla profile issue firefightin4fun Linux - Newbie 0 09-20-2003 09:22 PM
mozilla profile corrupt? Motaro Linux - Software 1 08-07-2003 09:37 PM
Profile Manager for Mozilla 1.2 Qebex Linux - Software 2 09-22-2002 04:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:16 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration