kanotix.com

General Support - Launching console program at startup

LRC - 27.06.2006, 01:38 Uhr
Titel: Launching console program at startup
I would like to launch $ /archive/FAH504-Linux.exe at startup (must be in console). My gui is KDE 3.5.3. I know there is a very simple way of doing it, but I am a total newbie, and must sites that would deal with examples of how to do something like that tend to be very confusing because they deal with things much more complicated than this.
h2 - 27.06.2006, 01:47 Uhr
Titel: RE: Launching console program at startup
If you want some non gui program to launch, you just add that to the relevent init.d file, you can use /etc/init.d/bootmisc.sh

go down the page to this line, after add your program stuff, end it with space &

rm -f /tmp/.clean /var/run/.clean /var/lock/.clean

yourprogrampath &
}

If you want it to open the console window itself with the program inside of it, in kde desktop, I'm not sure how to do that.
Neuer_User - 27.06.2006, 08:23 Uhr
Titel: RE: Launching console program at startup
If you want to start a program in KDE automatically that runs within a console, make a new file in ~/.kde/Autostart with the following content:
Code:

#!/bin/sh
konsole -e PROGRAM &

Exchange PROGRAM with your program name.

Cheers,

Michael
op4latino - 02.07.2006, 06:03 Uhr
Titel: RE: Launching console program at startup
What the "&" means?
arlekin - 02.07.2006, 07:14 Uhr
Titel: RE: Launching console program at startup
The process will be running in the background, not (!) blocking your console while doing so. The downside: if you're not familiar with job controle, it might get tricky to bring the process back to the foreground where you can manipulate it. So, to make a start, forget about the <&> - until you're sure the process is running the way you want it and the blocked console is annoying you Winken
schnorrer - 02.07.2006, 14:53 Uhr
Titel: RE: Launching console program at startup
"I would like to launch $ /archive/FAH504-Linux.exe at startup (must be in console). "

This time you want to start a WINDOWS-programm at boot-Time with Linux. Why to hell a windowsprogramm with linux.
Because Linux is part of the programms-name?

Linux-Programms has a X-Flag set. That kind can started at boottime.

Sorry for my harsh words.
hubi - 02.07.2006, 15:01 Uhr
Titel: RE: Launching console program at startup
Schnorrer, he's right to do it. Look here:
http://folding.stanford.edu/linux.html

hubi
DeepDayze - 02.07.2006, 15:03 Uhr
Titel: RE: Launching console program at startup
perhaps run that Windows program under wine...
arlekin - 02.07.2006, 15:48 Uhr
Titel: Re: Launching console program at startup
LRC hat folgendes geschrieben::
I would like to launch $ /archive/FAH504-Linux.exe at startup (must be in console)

I suppose that in this thread in the FOLDING@home forum you'll find the answers you're looking for Winken
(At least to me the kicker applet looks more interesting than a console window as a solution to your problem ...)
Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007