I'm sure this is a silly question

Birt, Jeffrey birtj at umr.edu
Thu Apr 7 13:32:36 UTC 2005




--- "Birt, Jeffrey" <birtj at umr.edu> wrote:
> I'm sure this is a silly question, but.....
> I have an application that is started by a script in
> .kde/Autostart.
> When this app is started a console window appears,
> if the console window
> is closed the app stops.  I know, duh! (of course
> the same thing happens
> when you launch it manually from a console window)
> (BTW, it's a helper
> app for MetaVNC that handles clipboard functions)
> 
> I'd like to hide this console window.  I know in
> Windows .cmd scripts
> you can use something like, 'start app.exe', which
> starts the
> application and does not bind it to your script; the
> script can continue
> and close and the application launched keeps going. 
> Is there a way to
> do this in Linux?
> 
> Thanks,
> 
> Jeff Birt
> Electronics Engineer
> Integrated Systems Facility
> University of Missouri - Rolla
> 573.341.6058 
>
>--------------------------------------------------------
>
>Hi Birt,
>
>This one threw me for ages, I was trying to get the
>VNC server running on my desktop but hated the
>terminal always there.
>
>As always the answer is simple and obvious, (they are
>always the trickiest!).
>
>Open Konqueror, navigate to
>/home/yourusername/.kde/Autostart/
>
>Right click in the autostart window space, select:
>Create New->File->Link to Application
>
>Give it a name in the first box, in the applet
>Application, enter the command with the full path or
>alternatively click on browse and look for it that
>way.
>
>Hope this helps, regards.......KEv :)
-----------------------------------------------------

I tried both:
 	gedit &
	gedit >/dev/null 2>&1 &

Both would give me back the console window, which I could then close but
it still killed the process.  The good part is that I got to learn how
to use top to monitor the process from another console window ;'>

I just tried the link idea and it works great!  Now if the clipboard
helper app would have been worth the effort;  when it's running it won't
let you cut/copy/paste files, it gets confused and only wants to save
their path as a text file!

Thanks again!


Jeff Birt
Electronics Engineer
Integrated Systems Facility
University of Missouri - Rolla
573.341.6058





More information about the users mailing list