Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm planning out a Raspberry Pi project, and I want to make it very easy to use. My dad will be using it, and I'd like for it to be usable without having to interact with the terminal. I just want a basic GUI that prompts for values to be input, processes them, and allows my program to act on them. I want the values to be repeatedly used, but easy to change when the conditions change, there's an error, etc. I thought the easiest way to do this would be a light weight Ubuntu app, but I may be wrong. Any suggestions?

share|improve this question
Is this going to run on the pi or on Ubuntu? – Seth May 11 '13 at 22:30
up vote 8 down vote accepted

You should go for Qt framework (What is Qt?) which offers great and well documented GUI libraries which work across multiple platforms.

For Python there is PyQt (What is PyQt?) which offers python bindings for the Qt framework.

sudo apt-get install python-qt4 pyqt4-dev-tools

To get started, here is a simple "Hello World"-tutorial:

Create a file ~/tmp/

import sys
from PyQt4.QtGui import *
app = QApplication(sys.argv)
button = QPushButton("Hello World", None)

Run it:

python ~/tmp/

In addition, you can use the Qt Designer IDE which is available in the ubuntu repositories and offers some nice development features for GUIs.

sudo apt-get install qt4-designer 
share|improve this answer
This looks nice. Would it be able to be put into an application of sorts? Or at least an executable file to make it very point-and-clickable? – Hollis Scriber May 11 '13 at 21:58
Of course you can compile your code and create an executable for various platforms. I'm doing that with cmake and qt-creator. But that's another question. :) – 5chdn May 11 '13 at 22:00
Thanks for your help! – Hollis Scriber May 11 '13 at 22:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.