> I'm using Mandrake 9.1 with the latest 1.43 Evolution. I have an entry
> in ~/.gnome/Gnome to use a perl script to start Mozilla. If Mozilla is
> already running, it opens the new URL in a tab otherwise it starts
> Mozilla (thanks Guenther).

You're welcome. :-)  Love my scripts running on other machines...


> After the change to 1.43, this script no longer works. Have these
> settings been moved? I tested the script from the command line and it
> still works.

As Itzchak already said, the Gnome settings changed. Here is the
solution I posted on this list since Evolution 1.3.x existed...

...guenther


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