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 am on Ubuntu 12.04.

I was running the Ubuntu customization kit but it disappeared with the following message: "The application zenity closed unexpectedly". When I further ran it, it just closed after selecting the language option. It was running well on previous Ubuntu versions and I made many remix of Ubuntu with the application.

Thanks for your time.

share|improve this question

Zenity is lean tool for creating very simple GUI-Applications from the commandline.

Use zenity --help to see the options:

zenity --help
  zenity [OPTION...]

Help Options:
  -h, --help                                     Show help options
  --help-all                                     Show all help options
  --help-general                                 Show general options
  --help-calendar                                Show calendar options
  --help-entry                                   Show text entry options
  --help-error                                   Show error options

... and so on.

For example, if you issue the command:

zenity --info  --text "Just a Demo"

displays a small dialog with a light bulb, an OK-Button, and the text "Just a Demo", try it yourself.

The usual way to do more useful things is, to capture the message, produced by zenity:

msg=$(zenity ...) 

To your second question, why it failed: From the short message you reported, it can't be answered.

share|improve this answer
Thank you for the info.The failure message showed when I was running Ubuntu customization kit.After I closed the dialogue box,I couldn't run the application any more but it starts with a terminal,and a window to select the language but disappear after i clicked "ok". – beeju Apr 30 '12 at 6:01

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.