Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 03-16-2006, 12:50 AM   #1
Registered: May 2003
Location: Canada
Distribution: Debian
Posts: 105

Rep: Reputation: 15
Building front end for shell scripts


I'm just wondering howto build a gui front end for:
1. A shell script (say bash or csh)
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?

Old 03-16-2006, 03:30 AM   #2
Senior Member
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
As you already said TK is one of the easier paths to accomplish what you want. For other possibilities you should go to 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.
Old 03-16-2006, 03:50 AM   #3
Senior Member
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,594

Rep: Reputation: 125Reputation: 125
For very simple dialogues you can also use dialog (command line), xdialog, kdialog (KDE) or zenity (Gnome).
Old 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
Blog Entries: 2

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
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.
Old 03-16-2006, 04:22 AM   #5
Senior Member
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
getgui is another commandline based GUI.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
vB forum front-end? General Linux - Software 3 10-18-2005 12:14 AM
Front End Advice Please thadco Programming 2 06-21-2005 04:02 AM
Front- End for Qmail Koven Linux - Software 1 03-09-2005 02:56 PM
What does it mean to unpack your front end? dns21 Linux - Newbie 5 08-02-2004 01:03 AM
after a web front end acid_kewpie Linux - Networking 1 08-15-2002 05:51 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:49 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration