Hello,

I have a script that will start conkeror with:

for DISPLAY=":0.0"

    run-conkeror -P 0.0

for DISPLAY=":0.1"

    run-conkeror -P 0.1



This gets around the xulrunner limitation of only being able to have one
copy of conkeror running on one particular display at the time.

This works fine if conkeror is not already running on the display.

If conkeror is running though, its like the -P flag is dropped but the
0.0 isn't droped - ie. like I executed:

run-conkeror 0.0

Where 0.0 is parsed as an IP address, and becomes localhost (on this
computer at least).

If I execute:

run-conkeror -P 0.0


run-conkeror calls:

exec /usr/lib/xulrunner-1.9.0.7/xulrunner 
/home/brian/tree/conkeror/application.ini -P 0.0


xulrunner calls:

/usr/lib/xulrunner-1.9.0.7/run-mozilla.sh 
/usr/lib/xulrunner-1.9.0.7/xulrunner-bin 
/home/brian/tree/conkeror/application.ini -P 0.0


run-mozilla.sh calls:

/usr/lib/xulrunner-1.9.0.7/xulrunner-bin 
/home/brian/tree/conkeror/application.ini -P 0.0


conkeror starts and displays the page for 0.0, which somehow translates
to localhost.

At which stage I am not really sure if the problem is xulrunner or conkeror.


--- script ---
#!/bin/sh -e

CONKEROR="$HOME/tree/conkeror"
PROFILE="`echo $DISPLAY | sed 's/^://'`"

"$CONKEROR/contrib/run-conkeror" -P "$PROFILE"

-- 
Brian May <[email protected]>

_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror

Reply via email to