Re: Netscape as default browser (was: Re: [Evolution] Improper Mozillastart aft

> >#!/bin/sh
> >gnome-moz-remote --remote='openURL('$1', new-tab)' || gnome-moz-remote $1
> 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.

netscape -remote='openURL('$1', new-tab)' || netscape $1 - This worked for netscape

I already modified the script for a guy, who appears
to have a disfunctional gnome-moz-remote -- I called the mozilla binary
directly (which had some slight disadvantages but does no harm), instead
of the gnome remote.

The following script uses the mozilla binary to open the link in a new
tab, if mozilla already running:

--- snipp --
mozilla -remote 'openURL('$1', new-tab)' || mozilla $1 &
--- snipp ---

What is the "&" for at the end? Should this be added to my script?

Now, as Netscape and Mozilla are very similar, I assume substituting
netscape for mozilla in the above script should do it.

Save the resulting script as in your path and set the
executable right (for you).

Is it okay that I created a symlink? /usr/local/netscape/netscape netscape

The script is saved in the new /bin (subdirectory of /home) that I created. Does "set the executable ... etc" mean the permissions? If so, is 755 okay? I'm the only user.

Also, following your previous post, in gnome-default-applications-properties, the following is inserted:
command: /home/user/bin/ "%s"


Thank you.  It helps a whole lot.


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; }}}

Get MSN 8 and enjoy automatic e-mail virus protection.

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