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 want to do something to create a window, preferably marked as on-top, with a configurable message. Is there an Ubuntu package for that?

The idea to put the relevant command inside a script:

docommand "hello world"
share|improve this question
up vote 3 down vote accepted

The application you're looking for is called zenity. Here's your hello world:

zenity --info --text="Hello World"
share|improve this answer
There is also older xmessage. It is uglier, but has fewer dependencies. – Boris Bukh Dec 11 '11 at 17:59

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.