Monday, September 5, 2011

Show message on X desktop from cron.

Following will show an info message "Hello World" on the default desktop every hour.

0 * * * * DISPLAY=:0.0 /usr/bin/zenity --info --text "Hello World"

1 comment:

  1. Dear! It's my great honor to be on your blog,I benefit a lot from reading your blog.
    This ubuntu data recovery software also give me help .I want everybody to know it.