Autor |
Nachricht |
|
Titel: Launching console program at startup
Verfasst am: 27.06.2006, 01:38 Uhr
|
|
Anmeldung: 21. Apr 2006
Beiträge: 152
Wohnort: Ice and Snow
|
|
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. |
|
|
|
|
 |
|
Titel: RE: Launching console program at startup
Verfasst am: 27.06.2006, 01:47 Uhr
|
|
Anmeldung: 12. Mar 2005
Beiträge: 1005
|
|
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. |
|
|
|
|
 |
|
Titel: RE: Launching console program at startup
Verfasst am: 27.06.2006, 08:23 Uhr
|
|
Anmeldung: 21. Nov 2004
Beiträge: 1018
|
|
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 |
|
|
|
|
 |
|
Titel: RE: Launching console program at startup
Verfasst am: 02.07.2006, 06:03 Uhr
|
|

Anmeldung: 18. Jul 2005
Beiträge: 293
Wohnort: EST US
|
|
|
|
 |
|
Titel: RE: Launching console program at startup
Verfasst am: 02.07.2006, 07:14 Uhr
|
|

Anmeldung: 21. Jun 2006
Beiträge: 193
Wohnort: Switzerland
|
|
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  |
_________________ Arlekin's Dream Ltd. | http://www.arlekin.ch/
- Bernd Villiger et al. | http://www.penguin.ch/
|
|
|
|
 |
|
Titel: RE: Launching console program at startup
Verfasst am: 02.07.2006, 14:53 Uhr
|
|
Anmeldung: 09. Jan 2006
Beiträge: 1720
|
|
"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. |
|
|
|
|
 |
|
Titel: RE: Launching console program at startup
Verfasst am: 02.07.2006, 15:01 Uhr
|
|

Anmeldung: 22. Jan 2006
Beiträge: 1296
Wohnort: Budapest
|
|
|
|
 |
|
Titel: RE: Launching console program at startup
Verfasst am: 02.07.2006, 15:03 Uhr
|
|
Anmeldung: 08. Dez 2005
Beiträge: 300
|
|
perhaps run that Windows program under wine... |
|
|
|
|
 |
|
Titel: Re: Launching console program at startup
Verfasst am: 02.07.2006, 15:48 Uhr
|
|

Anmeldung: 21. Jun 2006
Beiträge: 193
Wohnort: Switzerland
|
|
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
(At least to me the kicker applet looks more interesting than a console window as a solution to your problem ...) |
_________________ Arlekin's Dream Ltd. | http://www.arlekin.ch/
- Bernd Villiger et al. | http://www.penguin.ch/
|
|
|
|
 |
|