Not logged in
Log in now
Create an account
Subscribe to LWN
Recent Features
LWN.net Weekly Edition for February 9, 2012
XBMC 11 "Eden"
LWN.net Weekly Edition for February 2, 2012
A tempest in a toybox
LWN.net Weekly Edition for January 26, 2012
mozilla-xremote-client -a firefox "openurl($1,new-window)"
Should work
Bugs Abound
Posted Jun 18, 2004 13:39 UTC (Fri) by tjw.org (guest, #20716) [Link]
mozilla-xremote-client -a firefox "openurl($1,new-window)" Should work
Posted Sep 10, 2004 4:00 UTC (Fri) by recbo (guest, #24624) [Link]
Spaces in openURL() params OK now, see below.
In debian, thunderbird is actually checking /etc/alternatives/www-browser so I had to
ln -s /usr/local/bin/firefox /etc/alternatives/www-browser
as well as set the Tools Options HTML text handler to the /usr/local/bin/firefox(ignored for url passing).
_____________________________________________________________________
# ~/.thunderbird/default/gpdz162a.slt/prefs.js user_pref("network.protocol-handler.app.http", "/usr/local/bin/firefox");
#!/bin/sh # /usr/local/bin/firefox
if [ -z "$1" ] then /usr/local/firefox/run-mozilla.sh /usr/local/firefox/firefox & else /usr/local/firefox/mozilla-xremote-client -a firefox \ "openURL( $1, new-tab )" \ # new-tab && exit 0 \ || /usr/local/firefox/firefox $1 & # new-window fi
Copyright © 2012, Eklektix, Inc. Comments and public postings are copyrighted by their creators. Linux is a registered trademark of Linus Torvalds