Mailinglist Archive: opensuse (2114 mails)
| < Previous | Next > |
Re: [opensuse] Easy GUI or ncurses libraries/templates for kde3 or cli?
- From: Anders Johansson <ajohansson@xxxxxxx>
- Date: Mon, 27 Oct 2008 02:12:52 +0100
- Message-id: <200810270212.52491.ajohansson@xxxxxxx>
On Monday 27 October 2008 02:00:44 David C. Rankin wrote:
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_Dialogs
Anders
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
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_Dialogs
Anders
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |