How to Send Desktop Notification From command line in linux

To send desktop notification use notify-send command in Linux.

notify-send "Hello Vijay"

it will pop a notification window with message Hello Vijay.

-t  Specifies the timeout in milliseconds at which to expire the notification.

notify-send -t 5000 "Hello Vijay"

the above command will pop up a notification window for 5 seconds

 

Advertisements
This entry was posted in Linux, Tips tricks. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s