Mark Montague <[EMAIL PROTECTED]> writes:

> 
> SUMMARY: I want to run a second firefox process in my 32bit chroot,
> without it just sending a remote command to open a new window from my
> 64-bit firefox. This was possible with script-fu until recently, but
> now I can't figure out how to make firefox-bin ignore another firefox
> on the same X display.

After poking around the source code, I found a solution:

env MOZ_NO_REMOTE=1 do_dchroot_run firefox -P secondary

where do_dchroot_run is similar to do_dchroot in the faq, but runs its
argument:

#!/bin/sh

com=$1
shift
exec /usr/bin/dchroot -c ia32 -d "$(basename $com) $@"


Of course, you need to create the secondary profile first-- if you're
running the same profile as the 64bit firefox, it pops up a complaint
window... if anyone knows a way to deal with that, I'm still
interested, but at least I'm now at the "this is a pain" level rather
than "this is driving me nuts."

I think I'll file a wishlist bug for the debian package to add a
-noremote flag to the firefox-runner (installed as /usr/bin/firefox)
script that sets MOZ_NO_REMOTE.

                                - M

-- 
Mark "Monty" Montague | [EMAIL PROTECTED]  | I don't do Windows(tm)
If a tree falls when there's no one observing, does its wave function collapse?
          <URL:http://www.gg.caltech.edu/~monty/monty.shtml>
 X-GNUPG-Fingerprint: E1E3 E513 3687 94E3 5C61  C97B CBC7 2CA6 01B1 F0A7


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to