Latest LQ Deal: Latest LQ Deals
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 04-22-2009, 08:48 AM   #1
Registered: Aug 2006
Location: Shen Zhen
Distribution: Ubuntu 22.04
Posts: 199

Rep: Reputation: 33
How to create text mode GUI?

Hi all,

I want to create a simply "GUI" in Linux text mode,just like those UIs when use "test mode install". My questions are below:

1. Which language would be the best choice for this task?
2. If use Perl, is there any relevant .pm?

Please give me some hints, thanks in advanced.

Old 04-22-2009, 09:01 AM   #2
Registered: Mar 2003
Location: Berkshire, England.
Distribution: SuSE 10.0
Posts: 299

Rep: Reputation: 32
The toolkit you're looking for is called ncurses.


ncurses is a programming library providing an API, allowing the programmer to write text user interfaces in a terminal-independent manner. It's a toolkit for developing "GUI-like" apps which run under a terminal emulator.
There are probably others available, but that's the one that is used for all the open source software I can think of.
Old 04-22-2009, 11:03 AM   #3
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
To me a "GUI" means that you can click on things with a mouse. The typical text-mode interaction just allows tabbing between options, and selecting with "enter". That you can do---eg---with dialog.
Old 04-22-2009, 10:39 PM   #4
Registered: Aug 2006
Location: Shen Zhen
Distribution: Ubuntu 22.04
Posts: 199

Original Poster
Rep: Reputation: 33

Thanks for your kindly help. I will try ncurses.



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
Change from GUI mode to text mode alexr186 Linux - Software 4 01-08-2009 06:56 AM
Profile variable exports in text mode, not in GUI mode....huh? duderancher Red Hat 1 09-13-2007 06:45 PM
LXer: Howto Boot debian in text mode instead of graphical mode (GUI) LXer Syndicated Linux News 0 09-09-2007 07:41 PM
flickering of screen while returning back to GUI mode from Text mode using Ctl+Alt+F7 varun_shrivastava Linux - Newbie 1 03-30-2007 10:12 AM
Text Mode vs. GUI Madone_SL_5.5 Linux - Server 7 12-01-2006 03:04 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:10 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
Open Source Consulting | Domain Registration