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



> > > #!/bin/bash
> > > netscape -remote='openURL('$1', new-tab)' || netscape $1 - This worked
> > > for netscape
> >
> >This is the same as I posted (basically, beside some very minor
> >changes). Just curious: Why did you do those changes?
>
> To be honest with you, this is all real new to me and I thought
> gnome-moz-remote applied specifically to gnome and mozilla. I didn't know > if gnome-netscape-remote would work. Does "sh" in #!/bin/sh stand for any > shell? Now, my script is like the one below, but I subsituted "netscape"
> for mozilla.

Hey, that's legitimate. As long as it works, the resolution is very
fine. :)

I was just curious. The substitution of netscape for mozilla was
mentioned by me -- but there was an additional '='. That was the reason
why I asked: Where did you get that from?

I think it was a combination of both of your scripts. I used your "mozilla-remote.sh" script before I got up the courage to post to the list. (I haven't been on Linux long, but long enough to know that, there are very few people as helpful as you. Even though, you learn the correct way to ask a question, Google yourself almost to death, look at the man pages, search forum & list archives, it's rare to get an answer to a specific question that is asked if it is answered at all.) Getting back to answering your question. Your reply to my post had your script for the mozilla binary, which is what I'm running now for netscape. Your script is my VERY FIRST :-) You mentioned there are disadvantages of calling the mozilla binary directly. Out of curiosity, what are they?

On most modern GNU/Linux systems, sh is simply a symlink to bash and
therefore it is really the same. It's just shorter... ;)

$ ls -la /bin/sh
lrwxrwxrwx    1 root     root            4 Mar 30 05:36 /bin/sh -> bash*


> guenther, thanks a million for your patience, understanding, and for helping
> others.  :-)

You're very welcome. :)

...guenther


guenther, thanks to you; Evolution and Netscape now work together the way that I want them to; I've created a shell script (yours); and not only was my question answered, but I've learned a little more as well. :-)

Celsun

_________________________________________________________________
Get MSN 8 and help protect your children with advanced parental controls. http://join.msn.com/?page=features/parental




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