>         Where do I set which browser is loaded when I click a link
> inside an email in Evolution?  I have Ximian Desktop 2, and Evolution
> version 1.4.0.  Right now it pulls up Galleon, but I'd like it to use
> Mozilla instead.  I've tried going into the XD2 version of the Gnome
> Control Panel, File Associations, Documents, World Wide Web, HTML Pages
> and setting the default action to "Mozilla", but it still launches
> Galeon...

Well, the FAQ is back after a couple of very quiet weeks... ;)


Evolution 1.4 / Gnome 2.x
-------------------------

Open the "Gnome Control Center" > Preferred Applications > Web Browser
or simply run:
# gnome-default-applications-properties

 check 'Custom Web Browser'
 Command: gnome-moz-remote --newwin "%s"

This will present you every link (clicked in a Gnome 2 app) in a new
mozilla window. If you prefer tabs (instead of new windows) like me,
change it similar like that:

 Command: mozilla-remote.sh "%s"

Have the attached script in your path (or change the command to have the
whole path) and make the script executable.


-- 
char *t="[EMAIL PROTECTED]";
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; }}}
#!/bin/sh

gnome-moz-remote --remote='openURL('$1', new-tab)' || gnome-moz-remote $1

Reply via email to