I am using Fedora 20 with a MATE desktop and the Z shell.

Is there a way to display a message on the screen somewhere, sent from a shell program, when the terminal window is not visible?


You can use zenity (GTK+ dialog display):

zenity --warning --text="Warning text" --title="Warning title"

Change --warning to --error or --info for different window versions. And as always: man zenity is your friend.

| improve this answer | |
  • 1
    Can also use conky or dzen2... – Deer Hunter Sep 29 '14 at 14:53
  • Thank you jimmij for that answer, and for the reminder of zenity which I had completely forgotten about. It works exactly as I wanted. – Harry Weston Sep 29 '14 at 17:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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