Iceweasel and `new tab'

2009-12-18 Thread Merciadri Luca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello all,

In a bash script that I have written, I am using
iceweasel -new-tab somedefinedurl
where somedefinedurl depends on some home-made parameters.

The problem is that, when the script is launched, somedefinedurl
being modified, say, n times, the
iceweasel -new-tab somedefinedurl
command opens a new tab (or a new window, if Iceweasel is not active),
but the next URLs are not loaded at all by Iceweasel. When I close
Icweasel, my script launches the following URL, and this process needs
to be repeated until the end. The major problem is that I want all
these URLs to be opened simultaneously, and not Iceweasel to be closed
to be able to launch a new tab according to my command!

Any idea?

Thanks.
- -- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/

iEYEARECAAYFAksrbkIACgkQM0LLzLt8Mhw1JwCeLWoFiuG8lhVJfY+kVrytwpOp
aDgAoIAEDQZIJ0q3TDi8pnfOAPOndjpM
=mand
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Iceweasel and `new tab'

2009-12-18 Thread Boyd Stephen Smith Jr.
In 87tyvo8pfh@merciadriluca-station.merciadriluca, Merciadri Luca wrote:
In a bash script that I have written, I am using
iceweasel -new-tab somedefinedurl
where somedefinedurl depends on some home-made parameters.

The problem is that, when the script is launched, somedefinedurl
being modified, say, n times, the
iceweasel -new-tab somedefinedurl
command opens a new tab (or a new window, if Iceweasel is not active),
but the next URLs are not loaded at all by Iceweasel. When I close
Icweasel, my script launches the following URL, and this process needs
to be repeated until the end. The major problem is that I want all
these URLs to be opened simultaneously, and not Iceweasel to be closed
to be able to launch a new tab according to my command!

Any idea?

iceweasel -new-tab somedefinedurl 

The ampersand tell the shell no to wait until the command finishes.

If you get multiple iceweasel instances using this method, try a short sleep 
after each backgrounded iceweasel call.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net   ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/


signature.asc
Description: This is a digitally signed message part.


Re: Iceweasel and `new tab'

2009-12-18 Thread Merciadri Luca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Boyd Stephen Smith Jr. b...@iguanasuicide.net writes:

 In 87tyvo8pfh@merciadriluca-station.merciadriluca, Merciadri Luca wrote:
In a bash script that I have written, I am using
iceweasel -new-tab somedefinedurl
where somedefinedurl depends on some home-made parameters.

The problem is that, when the script is launched, somedefinedurl
being modified, say, n times, the
iceweasel -new-tab somedefinedurl
command opens a new tab (or a new window, if Iceweasel is not active),
but the next URLs are not loaded at all by Iceweasel. When I close
Icweasel, my script launches the following URL, and this process needs
to be repeated until the end. The major problem is that I want all
these URLs to be opened simultaneously, and not Iceweasel to be closed
to be able to launch a new tab according to my command!

Any idea?

 iceweasel -new-tab somedefinedurl 

 The ampersand tell the shell no to wait until the command finishes.

 If you get multiple iceweasel instances using this method, try a short sleep 
 after each backgrounded iceweasel call.
Thanks. I knew it, but I did not think about it. How stupid one can
be! Sorry, trivial question. Thanks for reminding me.

- -- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/

iEYEARECAAYFAksrs98ACgkQM0LLzLt8MhxOWACeLCaObVh8N2wkfnnGu+hX4yOB
Z3MAnRvRuJ8fVl02gPs/HI6pJ3RV+v6p
=2ENx
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Iceweasel and `new tab'

2009-12-18 Thread Clive Standbridge
 The major problem is that I want all
 these URLs to be opened simultaneously, and not Iceweasel to be closed
 to be able to launch a new tab according to my command!
 
 Any idea?

The following will open a new tab in a running iceweasel or open a new
instance as necessary:

if firefox -remote ping() /dev/null 21
then
firefox -remote openURL($1,new-tab)
else
firefox $1 
fi

Use iceweasel instead of firefox if you prefer.

-- 
Cheers,
Clive


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Iceweasel and `new tab'

2009-12-18 Thread Merciadri Luca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Clive Standbridge clive.standbri...@myriadgroup.com writes:

 The major problem is that I want all
 these URLs to be opened simultaneously, and not Iceweasel to be closed
 to be able to launch a new tab according to my command!
 
 Any idea?

 The following will open a new tab in a running iceweasel or open a new
 instance as necessary:

 if firefox -remote ping() /dev/null 21
 then
   firefox -remote openURL($1,new-tab)
 else
   firefox $1 
 fi

 Use iceweasel instead of firefox if you prefer.
Nice! Thanks. :-)
- -- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/

iEYEARECAAYFAksr1ngACgkQM0LLzLt8MhzaOgCgmWjXBhydhICgZE4Txna992bJ
DoEAni6IvjmT8wzRtCQcgMnQ8jqP5/lZ
=E+xr
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org