You are not logged in.
Basically, I have some scripts that sudo netcfg <profile> that I have a launcher menu setup for in my KDE panel.
The scripts work fine. They are just bash scripts. What would be nice is if I could get some visual feedback on the script running, like maybe call open a konsole terminal, run the script, then exit the konsole terminal. I'm just not sure how to make that happen.
Any ideas?
Thanks!
Last edited by d_logan (2010-04-25 20:23:18)
Offline
xterm -e <script>
(that means you create a launcher which executes "xterm -e <script"
Last edited by flamelab (2010-04-25 19:24:31)
Offline
Sure, the command for the launcher should be something like this:
konsole -e /path/to/bash/script
You may need to put a sleep or 'press enter to continue' read at the end of the script if it just runs and exits. The -e option causes konsole to execute your command and then exit the terminal.
--empthollow
Check out my Arch based live distro http://fluxcapacity.99k.org
Offline
konsole -e worked. Thanks a lot. I knew this wouldn't be a tough one.
I even went ahead and added some ifconfig | grep 'inet addr' and sleep commands.
Offline
Cool, glad to help.
--empthollow
Check out my Arch based live distro http://fluxcapacity.99k.org
Offline