Linux Command Line GUI

Posted on 2009-04-23
Medium Priority
Last Modified: 2012-06-21
For the life of me, I cannot find how to create an interactive window that runs on the command line.

The best way I can describe it is, similar to the non-graphical installer for most linux distros; being a blue screen with options you can arrow around with.

(Similar to make-menuconfig for the kernel)

Any pointers would be greatly appreciated!

To expand on what I'm shooting for:
I want a user interface that can be used for configuring an app.
Afterwhich the app writes some config files (or executes some other scripts) and exits.
I don't have any strong C, C++, C# or Java background. But I do know bash, and bits of perl.
Question by:mtchs
  • 2
LVL 35

Accepted Solution

Duncan Roe earned 1000 total points
ID: 24220206
Possibly the dialog package is what you want. From the man page:

"Dialog is a program that will let you to present a variety of questions or display messages using dialog boxes from a shell script"

If you have it installed, you can read about it by typing "man dialog".
To get an appreciation of the look and feel, type "make menuconfig" instead of "make xconfig" in the Linux source directory.
dialog doesn't need X - it is an ncurses program.

Author Closing Comment

ID: 31574007
Exactly what I was looking for!

Author Comment

ID: 24220575
Exactly what I was looking for!

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can use conditional statements using Python.
This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month17 days, 2 hours left to enroll

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question