try executing it this way:
/usr/bin/netscape > /dev/null 2>&1

This will redirect all output to /dev/null. So gnome might not complain.


On Sat, 12 Jan 2002, Ric Tibbetts wrote:

> WEll, I'm not getting to far with this little adventure. 
> I can get the icon on the desk, and it even starts the application it's
> supposed to. But with varied results.
> 
> For example
> I set up a Netscape file in .gnome-desktop.
> It puts the icon on the desktop as it should. It even starts Netscape.
> (good start). But I get a pop-up window with the error:
>       could not fdopen() the new stderr:
>       invalid argurment
> 
> Netscape runs fine, after that.
> Ok, so it has no place to write stderr. But what controls that?
> So, I turn on terminal to see if it writes anything there. Nope. It
> stays empty. BUT, I don't get the error message any more. Turning off
> the terminal, gets the error message back. :|
> 
> This "should" be a simple matter. (Oh, and yes, I'm using Nautilus to
> control the desktop). I can't find anything the gnome, or nautilus
> documentation about how to do this.
> 
> Somebody has to know, RedHat, and Mandrake both put their stuff up
> there!
> 
> Thanks again!
> 
> Ric
> 
> 
> Bill Kenworthy wrote:
> > 
> > Your right, its a mystery on what is a "nice" way to do this.  I usually
> > edit an existing entry and save it under a new name.  If you change an
> > entry, you need to delete the original and copy the changed entry to the
> > directory before the changes are noted (or exit/relogin gnome!).  You
> > can set the "terminal" entry to true to see messages for apps that give
> > trouble.  Note also that giving the full path to the app seems to work
> > in some cases where the app name only does not.
> > 
> > BillK
> > 
> > On Sun, 2002-01-13 at 08:07, Ric Tibbetts wrote:
> > > I've been digging at this for a while. There "is" a way to add icons to
> > > the desktop in Gnome, for starting applications.
> > > I'm part way there, but stuck.
> > >
> > > If I add a deffinition file in ~/.gnome-desktop, I can get the icon on
> > > the desk, and even start the appication, but I always get errors (the
> > > exact error depends on the applicaion I'm launching).
> > >
> > > Does anyone know the secret behind making this work? It's a piece of
> > > cake in KDE, but a bit more of a mystery in Gnome.
> > >
> > > I know it "can" be done. RedHat & Mandrake both add their stuff to it.
> > > It's just not documented anywhere that I can find. I'd settle for being
> > > pointed at a document.
> > >
> > > Thanks!!!
> > >
> > >
> > > --
> > > Ric Tibbetts
> > >
> > > Linux registration number: 55684
> > > If you want to help advertise Linux - point your friends to
> > > http://counter.li.org/
> > >
> > > ----
> > >
> > 
> > > This message has been 'sanitized'.  This means that potentially
> > > dangerous content has been rewritten or removed.  The following
> > > log describes which actions were taken.
> > >
> > > Sanitizer (start="1010880923"):
> > >   Part (pos="2409"):
> > >     SanitizeFile (filename="unnamed.txt", mimetype="text/plain"):
> > >       Match (rule="2"):
> > >         Enforced policy: accept
> > >
> > >   Part (pos="3303"):
> > >     SanitizeFile (filename="message.footer", mimetype="text/plain"):
> > >       Match (rule="default"):
> > >         Enforced policy: defang
> > >
> > >       Replaced mime type with: application/DEFANGED-1
> > >       Replaced file name with: message_footer.DEFANGED-1
> > >
> > >   Total modifications so far: 1
> > >
> > >
> > > Anomy 0.0.0 : Sanitizer.pm
> > > $Id: Sanitizer.pm,v 1.32 2001/10/11 19:27:15 bre Exp $
> > 
> >   ------------------------------------------------------------------------
> > Want to buy your Pack or Services from MandrakeSoft?
> > Go to http://www.mandrakestore.com
> 
> -- 
> Ric Tibbetts
> 
> Linux registration number: 55684
> If you want to help advertise Linux - point your friends to
> http://counter.li.org/
> 
> 

--
Bryan Whitehead
SysAdmin - JPL - Interferometry Systems and Technology
Phone: 818 354 2903
[EMAIL PROTECTED]


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to