Gentoo Archives: gentoo-user

From: Florian Philipp <lists@×××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: OT: urlview+Firefox 9 not co-operating
Date: Sun, 29 Jan 2012 12:31:36
Message-Id: 4F253BDA.9080506@binarywings.net
In Reply to: Re: [gentoo-user] Re: OT: urlview+Firefox 9 not co-operating by Walter Dnes
1 Am 29.01.2012 03:36, schrieb Walter Dnes:
2 > On Sat, Jan 28, 2012 at 03:53:11PM -0600, ??Q?? wrote
3 >> On Sat, 28 Jan 2012 15:35:46 -0500
4 >> "Walter Dnes" <waltdnes@××××××××.org> wrote:
5 >>
6 >>> On Sat, Jan 28, 2012 at 11:08:12AM +0100, Florian Philipp wrote
7 >>>
8 >>>> Add --no-remote to firefox's parameters.
9 >> ^^
10 >> -no-remote
11 >> ^
12 >
13 > I did notice that, and tried it both ways. No difference.
14 >
15 >> Do you get the same error if you try
16 >>
17 >> $ /usr/bin/firefox -P default -new-window "http://www.gentoo.org"
18 >>
19 >> without using urlview?
20 >
21 > Yes and No! I've solved the problem, but this is weird; really really
22 > weird. Let me explain. I use ICEWM window manager. For the firefox
23 > launchbar command I have always used...
24 >
25 > /usr/bin/firefox -width 950 -height 1050 -P default -no-remote
26 >
27 > and manually opened new windows with {CTRL-N}. Urlview was always able
28 > to lauch a new window. But now if one firefox window is opened with
29 > "-no-remote", I can *NOT* programatically open any more new Firefox
30 > windows. That includes urlview and your commandline example *EVEN IF I
31 > USE "-new-window" TO OPEN ADDITIONAL WINDOWS*. Only the manual {CTRL-N}
32 > command works.
33 >
34 > After some trial and error, I changed ICEWM's launchbar command to
35 >
36 > /usr/bin/firefox -width 950 -height 1050 -P default -new-window
37 >
38 > Now I can open new windows all over the place with Urlview and your
39 > commandline example. Problem solved. ***ALWAYS USE "new-window"***.
40 > Computers never cease to amaze me. Can you pop open 2 xterms and try
41 > the following? The first pair should work...
42 >
43 > in xterm 1 ==> /usr/bin/firefox -new-window "http://www.gentoo.org"
44 > in xterm 2 ==> /usr/bin/firefox -new-window "http://www.cnn.com"
45 >
46 > Now close both Firefox windows and try...
47 >
48 > in xterm 1 ==> /usr/bin/firefox -no-remote "http://www.gentoo.org"
49 > in xterm 2 ==> /usr/bin/firefox -new-window "http://www.cnn.com"
50 >
51 > The first firefox opens, but the second one fails.
52 >
53
54 It kind-of makes sense. -no-remote apparently does not only deactivate
55 the "attach-to-other-process" functionality but also the
56 "be-ready-that-others-attach-to-you" function. So the second firefox
57 tries to attach to the first but that doesn't react, therefore it panics.
58
59 Regards,
60 Florian Philipp

Attachments

File name MIME type
signature.asc application/pgp-signature