![](https://seccdn.libravatar.org/avatar/9b3c3a790b500cdb2bbfe34f8db0e867.jpg?s=120&d=mm&r=g)
Randall R Schulz wrote:
I have a few little helper scripts through which I route all Firefox access from other applications. One opens a new window, another a new tab and the last reuses the currently displayed tab (in the most recently displayed window, I think).
-==-firewin-==--==-firewin-==--==-firewin-==--==-firewin-==- #!/bin/bash --norc
firefox -remote "openURL($1, new-window)" >~/.xsession-errors 2>&1
Just some small comment: You may want to append to that file, not overwrite it with every invocation. And you may want to add code like url=`echo "$1" | sed 's/,/%2c/g'` and use $url in openURL(); then you can also open URLs with a comma (some popular news sites use this). The OP may also want to have a look at the command gnome-moz-remote, call gnome-moz-remote --help. Hmm, on 9.2 it outputs a help message -- on 10.0 it says: Usage: gnome-moz-remote [OPTION...] GNOME options --disable-sound Disable sound server usage --enable-sound Enable sound server usage *** buffer overflow detected ***: gnome-moz-remote terminated --espeaker=HOSTNAME:PORT Aborted (core dumped) Therefore -- probably not a good idea to use gnome-moz-remote on 10.0. Obviously the SUSE folks (or the Ximian folks? ;-) garbled it in that release. Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany