Re: [Evolution] Improper Mozilla start after 1.43 upgrade



Subject: Re: [Evolution] Improper Mozilla start after 1.43 upgrade
From: guenther <guenther rudersport de>
To: "William A. Yohman" <evolution designsco com>
Cc: evolution lists ximian com
Date: Thu, 21 Aug 2003 15:13:27 +0200


--=-OQ7mc1CWoFLbIEjRztM4
Content-Type: text/plain
Content-Transfer-Encoding: 7bit


> 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="\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; }}}

--=-OQ7mc1CWoFLbIEjRztM4
Content-Disposition: attachment; filename=mozilla-remote.sh
Content-Type: text/x-sh; name=mozilla-remote.sh; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit

#!/bin/sh

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



guenther,

Can this script be customized for Netscape 7.1? For the past couple of months, I've been searching for a way to use Netscape w/ Evo instead of Mozilla. Netscape is set as "default", but I need to know how to make a new window or tab open while one window or tab is already open.

I'm using MDK 9.1, KDE 3.1.3, Evolution 1.4.4, & Netscape 7.1.  Gnome 2

Thank you,

Celsun

_________________________________________________________________
MSN 8: Get 6 months for $9.95/month. http://join.msn.com/?page=dept/dialup




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]