osdir.com
mailing list archive F.A.Q. -since 2001!



Subject: Re: Cannot open firefox from link if it is already
running - msg#00036

List: xfce.user

Mail Archive Navigation:
by Date: Prev Next Date Index by Thread: Prev Next Thread Index

Hi,

I tried the script and got the same issue. I finally got it to work by adding the following to the prefs.js in the /usr/lib/mozilla-thunderbird directory:

user_pref("network.protocol-handler.app.http","/usr/bin/firefox");
user_pref("network.protocol-handler.app.https","/usr/bin/firefox");
user_pref("network.protocol-handler.app.ftp","/usr/bin/firefox");



cheers,

ski

Jens Luedicke wrote:
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@xxxxxxxxxxx> 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@xxxxxxxx
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@xxxxxxxxxxx, 435-681-0092


_______________________________________________
Xfce mailing list
Xfce@xxxxxxxx
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@xxxxxxxxxxx, 435-681-0092

_______________________________________________
Xfce mailing list
Xfce@xxxxxxxx
http://lunar-linux.org/mailman/listinfo/xfce
http://www.xfce.org



Thread at a glance:

Previous Message by Date:

Re: Cannot open firefox from link if it is already running

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@xxxxxxxxxxx> 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@xxxxxxxx > > 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@xxxxxxxxxxx, 435-681-0092 > > > _______________________________________________ > Xfce mailing list > Xfce@xxxxxxxx > http://lunar-linux.org/mailman/listinfo/xfce > http://www.xfce.org > -- Jens Luedicke <jens@xxxxxxxxxxx> web: http://public.fh-wolfenbuettel.de/~luedickj/ blog: http://www.livejournal.com/users/perldude/ _______________________________________________ Xfce mailing list Xfce@xxxxxxxx http://lunar-linux.org/mailman/listinfo/xfce http://www.xfce.org

Next Message by Date:

Re: Cannot open firefox from link if it is already running

My installation (in an older slack distro) of thunderbird 0.7.3 has no /usr/lib/mozilla-anything directory. No prefs.js under the thunderbird installation directory (/usr/local/thunderbird). I tried adding it to ~/.thunderbird/default/xxx.slt/prefs.js, but thunderbird overwrites this. Tried user.js in the same directory, but no joy. Bob S. Chris Kacoroski wrote: Hi, I tried the script and got the same issue. I finally got it to work by adding the following to the prefs.js in the /usr/lib/mozilla-thunderbird directory: user_pref("network.protocol-handler.app.http","/usr/bin/firefox"); user_pref("network.protocol-handler.app.https","/usr/bin/firefox"); user_pref("network.protocol-handler.app.ftp","/usr/bin/firefox"); cheers, ski Jens Luedicke wrote: 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@xxxxxxxxxxx> 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@xxxxxxxx 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@xxxxxxxxxxx, 435-681-0092 _______________________________________________ Xfce mailing list Xfce@xxxxxxxx http://lunar-linux.org/mailman/listinfo/xfce http://www.xfce.org _______________________________________________ Xfce mailing list Xfce@xxxxxxxx http://lunar-linux.org/mailman/listinfo/xfce http://www.xfce.org

Previous Message by Thread:

Re: Cannot open firefox from link if it is already running

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@xxxxxxxxxxx> 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@xxxxxxxx > > 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@xxxxxxxxxxx, 435-681-0092 > > > _______________________________________________ > Xfce mailing list > Xfce@xxxxxxxx > http://lunar-linux.org/mailman/listinfo/xfce > http://www.xfce.org > -- Jens Luedicke <jens@xxxxxxxxxxx> web: http://public.fh-wolfenbuettel.de/~luedickj/ blog: http://www.livejournal.com/users/perldude/ _______________________________________________ Xfce mailing list Xfce@xxxxxxxx http://lunar-linux.org/mailman/listinfo/xfce http://www.xfce.org

Next Message by Thread:

Re: Cannot open firefox from link if it is already running

My installation (in an older slack distro) of thunderbird 0.7.3 has no /usr/lib/mozilla-anything directory. No prefs.js under the thunderbird installation directory (/usr/local/thunderbird). I tried adding it to ~/.thunderbird/default/xxx.slt/prefs.js, but thunderbird overwrites this. Tried user.js in the same directory, but no joy. Bob S. Chris Kacoroski wrote: Hi, I tried the script and got the same issue. I finally got it to work by adding the following to the prefs.js in the /usr/lib/mozilla-thunderbird directory: user_pref("network.protocol-handler.app.http","/usr/bin/firefox"); user_pref("network.protocol-handler.app.https","/usr/bin/firefox"); user_pref("network.protocol-handler.app.ftp","/usr/bin/firefox"); cheers, ski Jens Luedicke wrote: 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@xxxxxxxxxxx> 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@xxxxxxxx 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@xxxxxxxxxxx, 435-681-0092 _______________________________________________ Xfce mailing list Xfce@xxxxxxxx http://lunar-linux.org/mailman/listinfo/xfce http://www.xfce.org _______________________________________________ Xfce mailing list Xfce@xxxxxxxx http://lunar-linux.org/mailman/listinfo/xfce http://www.xfce.org
blog comments powered by Disqus

Home | News | Sitemap | FAQ | advertise | OSDir is an Inevitable website. GBiz is too!