cheers,
I may have missed the discussion on this, but I'm having trouble triggering Mozilla from hotlinks embedded in emails on evolution 1.2.3. I have set Moz as my default browser using gnome-control-center (Red Hat 8.0). Moz then activates when I click on links in Red Carpet's news section. It also works with links embedded in email pulled in by an unnamed alternate email program. I suspect I'm missing a silly setting somewhere...
I should write a perl script, that automagically answers this... ;-)
That's a GNOME setting. For Gnome1 you can use the Gnome Control Center,
for Gnome2 there is no GUI yet:
Check your ~/.gnome/Gnome file. You need something like that:
[URL Handlers]
default-show=gnome-moz-remote --newwin "%s"
If there are http-show or similar entries, change them, too.
gnome-moz-remote %s
will only open a new mozilla, when none running
displays the URL in the current mozilla (old content overwritten)
gnome-moz-remote --newwin %s
will only open a new mozilla, when none running
displays the URL in a new mozilla window
I use the following default-show entry:
default-show=/home/guenther/bin/mozilla-remote "%s"
With the attached mozilla-remote script (must be executable) it acts
like the --newwin option, but displays the new URL in a new *tab* if
there is already a mozilla running.
I don't lose the displayed URL and can even click multiple URLs and see
them all in the same mozilla.
Hope that answers all your questions...
...guenther
--
char *t="\10pse\0r\0dtu\0 ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}
Attachment:
mozilla-remote.sh
Description: Text Data