One Liner Notification Dialog Box

Here’s another one liner in bash that can be used to notify of an event. The dialog box will pop up on the task bar or on the right top corner depending your version of Linux.
This example will display “hello world” every 60 minutes.

while [ 1 ]; do sleep 60m; notify-send "hello world"; done

Another option could be using Zenity

while [ 1 ]; do sleep 45m; zenity --info --text="hello world"; done
Share This!
One Comment

Add a Comment

Your email address will not be published.

Sign up for our Newsletter

Download "Google Search Pro"

Enter your email and stay on top of things,