1 |
On Sat, 28 Jan 2012 21:36:26 -0500 |
2 |
"Walter Dnes" <waltdnes@××××××××.org> wrote: |
3 |
|
4 |
> On Sat, Jan 28, 2012 at 03:53:11PM -0600, ??Q?? wrote |
5 |
> > On Sat, 28 Jan 2012 15:35:46 -0500 |
6 |
> > "Walter Dnes" <waltdnes@××××××××.org> wrote: |
7 |
> > |
8 |
> > > On Sat, Jan 28, 2012 at 11:08:12AM +0100, Florian Philipp wrote |
9 |
> > > |
10 |
> > > > Add --no-remote to firefox's parameters. |
11 |
> > ^^ |
12 |
> > -no-remote |
13 |
> > ^ |
14 |
> |
15 |
> I did notice that, and tried it both ways. No difference. |
16 |
> |
17 |
> > Do you get the same error if you try |
18 |
> > |
19 |
> > $ /usr/bin/firefox -P default -new-window "http://www.gentoo.org" |
20 |
> > |
21 |
> > without using urlview? |
22 |
> |
23 |
> Yes and No! I've solved the problem, but this is weird; really |
24 |
> really weird. Let me explain. I use ICEWM window manager. For the |
25 |
> firefox launchbar command I have always used... |
26 |
> |
27 |
> /usr/bin/firefox -width 950 -height 1050 -P default -no-remote |
28 |
> |
29 |
> and manually opened new windows with {CTRL-N}. Urlview was always |
30 |
> able to lauch a new window. But now if one firefox window is opened |
31 |
> with "-no-remote", I can *NOT* programatically open any more new |
32 |
> Firefox windows. |
33 |
> |
34 |
> *EVEN IF I USE "-new-window" TO OPEN ADDITIONAL WINDOWS*. Only the |
35 |
> manual {CTRL-N} command works. |
36 |
|
37 |
You never should have been able to. -no-remote was always supposed to |
38 |
prevent that instance of a Mozilla app from listening to signals from |
39 |
"remote" things like xterms or urlview. The mystery here is how you |
40 |
were able to do it before! |
41 |
|
42 |
-no-remote has always been discouraged by the Mozilla folks. It's |
43 |
there so that devs can handle multiple Firefoxen (and Seamonkeys, &c.) |
44 |
with multiple profiles without one clobbering another's profile. (A |
45 |
properly locked Firefox profile was what got you the "running but not |
46 |
responding" message you were getting.) |
47 |
|
48 |
> After some trial and error, I changed ICEWM's launchbar command to |
49 |
> |
50 |
> /usr/bin/firefox -width 950 -height 1050 -P default -new-window |
51 |
> |
52 |
> Now I can open new windows all over the place with Urlview and your |
53 |
> commandline example. Problem solved. ***ALWAYS USE "new-window"***. |
54 |
> Can you pop open 2 xterms and try the following? The first pair |
55 |
> should work... |
56 |
> |
57 |
> in xterm 1 ==> /usr/bin/firefox -new-window "http://www.gentoo.org" |
58 |
> in xterm 2 ==> /usr/bin/firefox -new-window "http://www.cnn.com" |
59 |
> |
60 |
> Now close both Firefox windows and try... |
61 |
> |
62 |
> in xterm 1 ==> /usr/bin/firefox -no-remote "http://www.gentoo.org" |
63 |
> in xterm 2 ==> /usr/bin/firefox -new-window "http://www.cnn.com" |
64 |
> |
65 |
> The first firefox opens, but the second one fails. |
66 |
|
67 |
You should get the same results if you drop the -new-window arguments. |
68 |
-new-window and -new-tab just override Firefox's setting for how you |
69 |
want new pages opened. |
70 |
|
71 |
As long as you only have one Firefox profile, you can do away with the |
72 |
-P default argument. If there's a Firefox already running, it's |
73 |
ignored anyway. |