I have a shell script which installs a program in RedHat. I need to add a GUI for entering some parameters so that it looks like an installation wizard . I tried Xdialog, Zenity, and Yad, but they each only support a single data input per window; I need to display all the steps in a single window. What can I use to do that?
|
Bash wasn't realy designed with this kind of persistence in mind. Nonetheless you need to use full-blown GTK. You could either code your GUI in an actual programming language (C, C++, Python, etc) designing with a bash interface in mind like some D-Bus or other IPC mechanism to communicate with the running application. Or you could code GTK directly in Bash with the use of a some binding such as http://www.gtk-server.org EDIT: Just an opinion, but the second option feels like a bit of an overkill to me. |
|||||||||
|
Not a GUI solution, however it may be very usefull for you. Try such things as |
|||||
|
The best choice http://code.google.com/p/gtkdialog/ |
|||||||||
|
The reason shell script not providing full fledged UI is that the response of the UI will be slow since shell script is composed of script files rather than the binaries. The solution is to use python (or any other language ) to create front end UI and then call the scripts within it. |
|||
|