Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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 have a minimal installation with xfce as the default window manager. Is it somehow possible to write a shell script with simple gui elements? Or do I to install something else (which I am reluctant to do, I want to keep the number of installed packages (size) to a minimum).

share|improve this question
up vote 1 down vote accepted

Try Zenity:

" Zenity allows you to display GTK+ dialogs from shell scripts".

It's pretty minimalistic, here are the dependencies, many of these should already be present on an xfce system:

Depends: libc6 (>= 2.4), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.24.0), libgtk-3-0 (>= 3.0.0), libnotify4 (>= 0.7.0), libpango1.0-0 (>= 1.14.0), libwebkitgtk-3.0-0 (>= 1.3.10), libx11-6, zenity-common (= 3.2.0-0ubuntu1)
share|improve this answer

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.