LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Building front end for shell scripts (https://www.linuxquestions.org/questions/linux-software-2/building-front-end-for-shell-scripts-425273/)

endfx 03-16-2006 12:50 AM

Building front end for shell scripts
 
Hi,

I'm just wondering howto build a gui front end for:
1. A shell script (say bash or csh)
and
2. An already existing command line program. For example, lets say I wanted to build a gui for cdrecord (I'm not actually doing this, I know front ends already exist for cdrecord, just using cdrecord as an example)

What would I do to start this. I'm not asking for someone to explain the whole process, just looking for what type of language I could use to do something like this. I've heard TK easy and convenient for building graphical front ends but I can't find a good tutorial that will explain designing gui's for already existing programs.

Is it possible to do such a thing?

Thanks!

/bin/bash 03-16-2006 03:30 AM

As you already said TK is one of the easier paths to accomplish what you want. For other possibilities you should go to freshmeat.net and type gui development into the search box. You will have alot of researching to do then.

Another possibility is java. Sun has just recently released their Java Studio Creator 2 for FREE and it is available for Linux too. It takes a fairly heafty amount of computing power to run it though.

titopoquito 03-16-2006 03:50 AM

For very simple dialogues you can also use dialog (command line), xdialog, kdialog (KDE) or zenity (Gnome).

macemoneta 03-16-2006 03:53 AM

If you want to create TK GUIs fast, use Visual TCL.

For simple stuff, you can just use bash with zenity, which seems to be included with (or available for) the mainstream distributions.

/bin/bash 03-16-2006 04:22 AM

getgui is another commandline based GUI.


All times are GMT -5. The time now is 07:12 PM.