two phoenix processes in Linux
- alanjstr
- Moderator
- Posts: 9100
- Joined: November 5th, 2002, 4:43 pm
- Location: Anywhere but here
- Contact:
two phoenix processes in Linux
If I launch Phoenix in Linux and then go to launch a second instance, the second one brings up the Profile Manager instead. There is only one profile.
This has been confirmed on the 0.5 milestone and 12/27 build.
No extensions, default theme. Both are on Mandrake.
Is this a Mozilla bug?
Is there a bug in Bugzilla already?
This has been confirmed on the 0.5 milestone and 12/27 build.
No extensions, default theme. Both are on Mandrake.
Is this a Mozilla bug?
Is there a bug in Bugzilla already?
Former UMO Admin, Former MozillaZine General Mod
I am rarely on mozillaZine, so please do not send me a private message.
My Old Firefox config files
I am rarely on mozillaZine, so please do not send me a private message.
My Old Firefox config files
- alanjstr
- Moderator
- Posts: 9100
- Joined: November 5th, 2002, 4:43 pm
- Location: Anywhere but here
- Contact:
What does it do? Why should I have to use it?
Former UMO Admin, Former MozillaZine General Mod
I am rarely on mozillaZine, so please do not send me a private message.
My Old Firefox config files
I am rarely on mozillaZine, so please do not send me a private message.
My Old Firefox config files
- willll
- Posts: 2577
- Joined: November 30th, 2002, 11:39 am
- Location: Washington, DC
i believe that in windows it is not possible to open 2 phoenix processes at the same time, but in linux u can. since you cannot use the same profile with two different processes the profile selection box popups up. the same thing happens to me when i try to open netscape when phoenix is already open. um actually im looking at <a href="http://www.mozilla.org/unix/remote.html">this page</a> right now and it looks like i am wrong. nevermind
- djdie
- Posts: 20
- Joined: January 15th, 2003, 4:15 am
- Location: Switzerland
- Contact:
I confirm this behaviour with Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20030113 Phoenix, and it's quite boring.
If it's not possible to have two processes using the same profile, then I think that it would be good if the second 'phoenix' command was able to open a new window in the currently running process (simulating Ctrl-N) rather than to show the profile box !
Added: I think it's not a Mozilla bug, because I can run two instances of Mozilla (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130).
If it's not possible to have two processes using the same profile, then I think that it would be good if the second 'phoenix' command was able to open a new window in the currently running process (simulating Ctrl-N) rather than to show the profile box !
Added: I think it's not a Mozilla bug, because I can run two instances of Mozilla (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130).
- alanjstr
- Moderator
- Posts: 9100
- Joined: November 5th, 2002, 4:43 pm
- Location: Anywhere but here
- Contact:
phoenix -remote "xfeDoCommand (openBrowser)" does what I want if I don't want to pass a URL. But I wish it was smart enough to know that and do it for me.
Former UMO Admin, Former MozillaZine General Mod
I am rarely on mozillaZine, so please do not send me a private message.
My Old Firefox config files
I am rarely on mozillaZine, so please do not send me a private message.
My Old Firefox config files
- alanjstr
- Moderator
- Posts: 9100
- Joined: November 5th, 2002, 4:43 pm
- Location: Anywhere but here
- Contact:
Why doens't it launch a new window if it's already smart enough to detect that Phoenix isn't already open?
Former UMO Admin, Former MozillaZine General Mod
I am rarely on mozillaZine, so please do not send me a private message.
My Old Firefox config files
I am rarely on mozillaZine, so please do not send me a private message.
My Old Firefox config files
- willll
- Posts: 2577
- Joined: November 30th, 2002, 11:39 am
- Location: Washington, DC
- alanjstr
- Moderator
- Posts: 9100
- Joined: November 5th, 2002, 4:43 pm
- Location: Anywhere but here
- Contact:
It would be ideal to be able to say
phoenix
or
phoenix URL
and have it open a new window with the same profile
phoenix
or
phoenix URL
and have it open a new window with the same profile
Former UMO Admin, Former MozillaZine General Mod
I am rarely on mozillaZine, so please do not send me a private message.
My Old Firefox config files
I am rarely on mozillaZine, so please do not send me a private message.
My Old Firefox config files
- djdie
- Posts: 20
- Joined: January 15th, 2003, 4:15 am
- Location: Switzerland
- Contact:
phoenix -remote "xfeDoCommand (openBrowser)" also add a blank new tab in the first window, while opening the second window !?
I just changed the last line of the phoenix script by :
so that it chooses automatically the good command.... I can now hit my phoenix shortcut when I want a new window better than nothing
I just changed the last line of the phoenix script by :
Code: Select all
if ((`ps x|grep $MOZILLA_BIN|wc -l` > 1)); then
exec "$dist_bin/run-mozilla.sh" $script_args "$dist_bin/$MOZILLA_BIN" -remote "xfeDoCommand (openBrowser)" "$@"
else
exec "$dist_bin/run-mozilla.sh" $script_args "$dist_bin/$MOZILLA_BIN" "$@"
fi
so that it chooses automatically the good command.... I can now hit my phoenix shortcut when I want a new window better than nothing
- gorn
- Posts: 59
- Joined: January 1st, 2003, 1:17 am
- Location: 127.0.0.1
- Contact:
make a bash script, i call mine pho, like this:
this says if it can't connect to the current running phoenix (maybe can't connect because there isn't one) then start it. if you do pho http://www.com it works.
tis beautiful no?
to set this up just put the above in a directory that is in your path, and chmod +x scriptname
Code: Select all
#!/bin/bash
/opt/phoenix/phoenix -remote "openURL($@, new-tab)" ||
exec /opt/phoenix/phoenix "$@";
this says if it can't connect to the current running phoenix (maybe can't connect because there isn't one) then start it. if you do pho http://www.com it works.
tis beautiful no?
to set this up just put the above in a directory that is in your path, and chmod +x scriptname
Dunt Dun Duh...
GoRN To The Rescue,
Yet Again!
GoRN To The Rescue,
Yet Again!
- djdie
- Posts: 20
- Joined: January 15th, 2003, 4:15 am
- Location: Switzerland
- Contact:
The -remote command isn't perfect for me : yesterday, when I wrote the script, it was working. But today, I have mozilla-mail opened and the -remote command send it to mozilla, so when I want to open a second window of phoenix in this way, I get a mozilla windows (either with my script or with gorn' proposal)
- djst
- Moderator
- Posts: 2826
- Joined: November 5th, 2002, 1:34 am
- Location: Sweden
- Contact:
- alanjstr
- Moderator
- Posts: 9100
- Joined: November 5th, 2002, 4:43 pm
- Location: Anywhere but here
- Contact:
Ok, now is there any open bug for it?
Former UMO Admin, Former MozillaZine General Mod
I am rarely on mozillaZine, so please do not send me a private message.
My Old Firefox config files
I am rarely on mozillaZine, so please do not send me a private message.
My Old Firefox config files
- David James
- Posts: 1321
- Joined: November 4th, 2002, 10:19 pm
- Location: Ottawa, Ontario, Canada
- Contact:
alanjstr wrote:Ok, now is there any open bug for it?
Yes... Andre and I WONTFIXed it ages ago...
http://bugzilla.mozilla.org/show_bug.cgi?id=177996
Man, I was kind of harsh... anyway.
The original reporter kind of misnamed and misdescribed the bug though... he made it sound like he was trying to run two instances rather than open a new window. If you guys have got a working hack/patch, then reopen it and I'll confirm it and mark that there is a patch for review.
Edit: Grammar fixes
Last edited by David James on January 20th, 2003, 6:26 pm, edited 1 time in total.