Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-16-2006, 12:50 AM
|
#1
|
Member
Registered: May 2003
Location: Canada
Distribution: Debian
Posts: 105
Rep:
|
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!
|
|
|
03-16-2006, 03:30 AM
|
#2
|
Senior Member
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802
Rep:
|
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.
|
|
|
03-16-2006, 03:50 AM
|
#3
|
Senior Member
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 current
Posts: 1,649
Rep: 
|
For very simple dialogues you can also use dialog (command line), xdialog, kdialog (KDE) or zenity (Gnome).
|
|
|
03-16-2006, 03:53 AM
|
#4
|
Senior Member
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
|
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.
|
|
|
03-16-2006, 04:22 AM
|
#5
|
Senior Member
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802
Rep:
|
getgui is another commandline based GUI.
|
|
|
All times are GMT -5. The time now is 10:29 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|