On Monday 27 October 2008 02:00:44 David C. Rankin wrote:
Listmates:
I have a number of BASH scripts that I would like to develop a menu to display and then call the ones that I want to call. For example, I have a number of scripts for mounting CIFS/SMB shares on a number of different servers. I would like to develop a simple interface that lists all the scripts and lets me pick one (or more) to execute. Something like calling a file-open dialog and passing the results to be executed would work.
For a quickie solution, I would suggest looking at kdialog. For example scr=$(kdialog --radiolist "Which script do you want torun" script1 "mount foo on bar" off script2 "mount baz on baq" off) test -n $scr && exec $scr kdialog can also give you a full kde file dialog http://techbase.kde.org/Development/Tutorials/Shell_Scripting_with_KDE_Dialo... Anders -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org