Been trying to figure out how to run a script that will start a small or minimized terminal window in KDE 3.3.x on the desktop and then run a command in it automatically. Then when done I close the minimized window and the program quits. Or something I can control on the desktop. The script is to start the app ' slmodemd --alsa ' command to start access to my internal intel win modem.
Create a script called startmodem
In startmodem it needs to open a terminal screen ( options smaller than normal or minimized sized). Then when the terminal is open run slmodemd --alsa.
When I am done I can hit the close or X in the conner.
Then the orginal script startmodem then terminates
Another option is create a script called startmodem
In startmodem it needs a create tool box or something that indicates that slmodemd --alsa might be running. When I am done I can hit the close or X in the conner.
Another option is possible write one script to start slmodemd --alsa then a second script that finds the running process and can kill it.
I just want to click an icon on the desktop to do either above ideas.
Thank you for your time and help.
" Google the Linux way @ http://www.google.com/linux