aze Posted December 21, 2003 Report Share Posted December 21, 2003 Hi folks! What is the command line to run multiple instances of mozilla? Every time I try to open a new instance it asks for a new profile. Its annoying me a lot! thanks for any help Quote Link to comment Share on other sites More sharing options...
chin808 Posted December 21, 2003 Report Share Posted December 21, 2003 why not click on a link to open another browser and jus change the addy? Quote Link to comment Share on other sites More sharing options...
Pzatch Posted December 21, 2003 Report Share Posted December 21, 2003 Tabbed browsing rules. Quote Link to comment Share on other sites More sharing options...
aze Posted December 21, 2003 Author Report Share Posted December 21, 2003 If I'm accessing some sites with mozilla then someone send me a link on icq/gain I must another instance or i need to do the annoying task of copying the link and accessing later.... Quote Link to comment Share on other sites More sharing options...
Tyf Posted December 21, 2003 Report Share Posted December 21, 2003 I got the same problem and it anoyes me a lot. windows version doesn't have that problem. would love to find a fix for this. Â Anyone out there with the solution, you would make at least 2 guy's happy :) Quote Link to comment Share on other sites More sharing options...
bvc Posted December 21, 2003 Report Share Posted December 21, 2003 (edited) doesn't icq/gaim like xchat have something like rt-click?............ Edited December 21, 2003 by bvc Quote Link to comment Share on other sites More sharing options...
aze Posted December 21, 2003 Author Report Share Posted December 21, 2003 it won't work on gaim this mozilla profile issue really sux! I discovered that every time I start mozilla it creates a zero byte file called <B>lock</B> and then if that file exists it ask for a new profile. Then If I delete the file it won't ask for a new profile and starts a new instance normally. So how do i create a batch file to delete that file and start mozilla? Â thanks Quote Link to comment Share on other sites More sharing options...
bvc Posted December 21, 2003 Report Share Posted December 21, 2003 (edited) [root@ml root]# which mozilla /usr/bin/mozilla [root@ml root]# file /usr/bin/mozilla /usr/bin/mozilla: Bourne shell script text executable [root@ml root]# vi /usr/bin/mozilla function check_running() {   $MOZ_CLIENT_PROGRAM 'ping()' 2>/dev/null >/dev/null   RETURN_VAL=$?   if [ "$RETURN_VAL" -eq "2" ]; then    echo 0    return 0   else    echo 1    return 1   fi } # check to see if there's an already running instance or not ALREADY_RUNNING=`check_running`  bk it up and try and hack it. Others have for other purposes. In fact, now that I think of it I think someone has posted the hack for your prob (The Yin Yeti?, Steve Scrimpshire?) I'm not sure. I use galeon. You may also find that lock file being set in the shell script as well. Edited December 21, 2003 by bvc Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted December 22, 2003 Report Share Posted December 22, 2003 (edited) In gaim, go to your preferences and then click on Browser. Then over to the right, select 'Manual'. In the textarea box, put  mozilla -remote "openURL (%s, new-window)"  Click Close.  That should do it. If you would rather it just open a new tab, change new-window to, guess what, new-tab.  More info here: http://www.mozilla.org/unix/remote.html  BTW, the hack was for gnome apps like Evolution and it wasn't written by me. Use gnome-control-center and click on advanced and then preferred apps and find the one for browser and set a manual launcher with above command. Some else did post a script to launch a new window of mozilla, but don't remember who or where to find it. Edited December 22, 2003 by Steve Scrimpshire Quote Link to comment Share on other sites More sharing options...
tons Posted December 22, 2003 Report Share Posted December 22, 2003 I use this script:  #!/bin/bash MFDIR=/opt/MozillaFirebird MFBIN=MozillaFirebird-bin MOZSTAT=`ps -C $MFBIN|grep -v PID|wc -l` if [ 0 -eq $MOZSTAT ] then  $MFDIR/MozillaFirebird $*  & else  case $# in 0)   $MFDIR/MozillaFirebird -remote xfeDoCommand\ \(openBrowser\) & ;; 1)   $MFDIR/MozillaFirebird -remote openurl\($*,new\-window\) ;; *)   echo Usage: $0 "[url]" ;;  esac fi  I posted it on a MozillaFirebird forum a few days ago. Hope this helps? Quote Link to comment Share on other sites More sharing options...
Tyf Posted December 25, 2003 Report Share Posted December 25, 2003 thx guy's for they answers going to try them as soon as possible  need sleep now :) Quote Link to comment Share on other sites More sharing options...
aze Posted December 25, 2003 Author Report Share Posted December 25, 2003 didn't worked for me :unsure: BTW, whats the difference between mozilla and mozilla firebird? Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted December 25, 2003 Report Share Posted December 25, 2003 This didn't work for you? In gaim, go to your preferences and then click on Browser. Then over to the right, select 'Manual'. In the textarea box, put mozilla -remote "openURL (%s, new-window)" Click Close. Â There is a space between mozilla and -remote. It works fine for me. Try typing that in a console. What errors do you get? Quote Link to comment Share on other sites More sharing options...
aze Posted December 25, 2003 Author Report Share Posted December 25, 2003 worked! BTW what program do you use to create your avatar? Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted December 26, 2003 Report Share Posted December 26, 2003 (edited) http://www.mandrakeusers.org/index.php?sho...topic=8724&st=0 Edited December 26, 2003 by Steve Scrimpshire Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.