Results 1 to 6 of 6
Anyone know how to start a console based executable from within the Graphical Destop Environment? e.g. KDE
What I'm trying to do is make a console program run at startup ...
- 11-17-2005 #1
starting a console program from DE
Anyone know how to start a console based executable from within the Graphical Destop Environment? e.g. KDE
What I'm trying to do is make a console program run at startup by opening a shell window, can't seem to figure it out. I tried googling for answers but couldn't find any!PTL x10 Hallelujah!
AMD Athlon XP 2600+ 512MB RAM Dual 80G WD HD 8MB Cache (1 WinXP Home, 1 CentOS 4.2) GeForce Ti4200 128MB SB Live! 5.1
Registered Linux user #391521
- 11-17-2005 #2Linux Engineer
- Join Date
- Jan 2005
- Location
- Chicago (USA)
- Posts
- 1,028
Put a .desktop in ~/.kde/Autostart
- 11-17-2005 #3
I've done that already, but the part i'm stuck with is starting _console_ programs which do nothing when clicked.
PTL x10 Hallelujah!
AMD Athlon XP 2600+ 512MB RAM Dual 80G WD HD 8MB Cache (1 WinXP Home, 1 CentOS 4.2) GeForce Ti4200 128MB SB Live! 5.1
Registered Linux user #391521
- 11-17-2005 #4I'm not sure what you're asking. Do you want a terminal window to open up when you boot and run a console program? If so, you can make a shell script and put it in your .kde/Autostart directory like a thing suggested. Say for instance you wanted to start 'top'. Create a file and chmod it so it's executable. In the file, put this:
Originally Posted by GNU_man
Then stick the file in your .kde/Autostart.Code:xterm -e top
Registered Linux user #270181
TechieMoe's Tech Rants
- 11-17-2005 #5Linux Engineer
- Join Date
- Jan 2005
- Location
- Chicago (USA)
- Posts
- 1,028
Konsole also has the -e option.
- 11-18-2005 #6
Thanks guys, that's what I was looking for!
...I got it working now. It was a text mode console program that I wrote with Free Pascal that I wanted to run on startup. :PPTL x10 Hallelujah!
AMD Athlon XP 2600+ 512MB RAM Dual 80G WD HD 8MB Cache (1 WinXP Home, 1 CentOS 4.2) GeForce Ti4200 128MB SB Live! 5.1
Registered Linux user #391521


Reply With Quote
