Cannot open firefox from link if it is already running

Jens Luedicke jens.luedicke at gmail.com
Mon Sep 6 23:08:57 CEST 2004


Hi...

I have the following script in /usr/local/bin:

#!/bin/bash

MOZILLA=/usr/bin/firefox

if ($MOZILLA -a firefox -remote "ping()"); then
        $MOZILLA -a firefox -remote "openURL("$1",new-tab)"
else
        $MOZILLA $1
fi

This works for me. 

On Mon, 06 Sep 2004 14:11:57 -0700, Chris Kacoroski
<kacoroski at comcast.net> wrote:
> I have this problem also.  Did not happen with mandrake and
> thunderbird/firefox and kde.  Does happen with debian, xfce,
> thunderbird/firefox
> 
> ski
> 
> 
> 
> Jasper Huijsmans wrote:
> > Bob Snyder wrote:
> > ...
> >
> >>
> >> When I click on a link in an email, for example, firefox opens a new
> >> tab, but the URL displayed is like this: file:///tmp/0qgcwitz-1.html.
> >> Firefox has copied the whole page to my /tmp, and opened it from
> >> there. Obviously the relative links don't work, but the absolute links
> >> do.
> >>
> >> Does anyone else observe this behavior?
> >>
> >> Sorry, this has gotten kind of off-topic.
> >>
> >
> > Thunderbird seems to be a bit broken. I have this too now, didnt used
> > to. Anyway, instead of feeding it the link, TB downloads the file to
> > /tmp and opens that with the browser.
> >
> >     Jasper
> > _______________________________________________
> > Xfce mailing list
> > Xfce at xfce.org
> > http://lunar-linux.org/mailman/listinfo/xfce
> > http://www.xfce.org
> >
> 
> --
> "When we try to pick out anything by itself, we find it
>   connected to the entire universe"            John Muir
> 
> Chris "Ski" Kacoroski, kacoroski at comcast.net, 435-681-0092
> 
> 
> _______________________________________________
> Xfce mailing list
> Xfce at xfce.org
> http://lunar-linux.org/mailman/listinfo/xfce
> http://www.xfce.org
> 



-- 
Jens Luedicke <jens at irs-net.com>
web: http://public.fh-wolfenbuettel.de/~luedickj/
blog: http://www.livejournal.com/users/perldude/



More information about the Xfce mailing list