I only noticed this now, but oddly, the script works when called with no 
arguments, and no previous instance.

With a previous instance I get the message:

[EMAIL PROTECTED] firefox-installer]$ ./launcheme.sh
/home/unholy/firefox-installer/mozilla-xremote-client: error while loading 
shared libraries: libplds4.so: cannot open shared object file: No such file 
or directory


On Monday 03 January 2005 03:55 pm, Paul wrote:
> Op Mon, 3 Jan 2005 20:19:20 -0500 schreef JR:
> >Now when I click a link from anywhere, firefox is lauched - but only
> >if  another firefox instance isn't already running.
> >
> >If firefox is already running, I get the bouncing icon for a few
> >seconds and  then nothing.
>
> There is a trick to it in shape of a script:
>
>
> browserPath="/usr/bin/mozilla-firefox"
> Fox="firefox"
> Client="mozilla-xremote-client"
> if [ "${1:0:1}" = "/" ]
> then url="file://"$@
> else url="$@"
> fi
>
> if [ $(ps aux | grep firefox | wc -l) -ge 4 ]; then
>         exec $browserPath$Client -a firefox openURL"($url,new-tab)"
> else
>         $browserPath$Fox $url
> fi
> exit
>
>
>
> Save this script and tell your system to use the script instead of
> launching firefox directly.
>
> Good luck
> Paul

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to