19.03.2024, 09:59 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
LRC
Titel: Launching console program at startup  BeitragVerfasst 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.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
h2
Titel: RE: Launching console program at startup  BeitragVerfasst 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.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Neuer_User
Titel: RE: Launching console program at startup  BeitragVerfasst 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
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
op4latino
Titel: RE: Launching console program at startup  BeitragVerfasst am: 02.07.2006, 06:03 Uhr



Anmeldung: 18. Jul 2005
Beiträge: 293
Wohnort: EST US
What the "&" means?
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
arlekin
Titel: RE: Launching console program at startup  BeitragVerfasst 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 Winken

_________________
Arlekin's Dream Ltd. | http://www.arlekin.ch/
- Bernd Villiger et al. | http://www.penguin.ch/
 
 Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
schnorrer
Titel: RE: Launching console program at startup  BeitragVerfasst 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.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
hubi
Titel: RE: Launching console program at startup  BeitragVerfasst am: 02.07.2006, 15:01 Uhr



Anmeldung: 22. Jan 2006
Beiträge: 1296
Wohnort: Budapest
Schnorrer, he's right to do it. Look here:
http://folding.stanford.edu/linux.html

hubi

_________________
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
DeepDayze
Titel: RE: Launching console program at startup  BeitragVerfasst am: 02.07.2006, 15:03 Uhr



Anmeldung: 08. Dez 2005
Beiträge: 300

perhaps run that Windows program under wine...
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
arlekin
Titel: Re: Launching console program at startup  BeitragVerfasst 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 Winken
(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/
 
 Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.