[The Computer Kid] Display Popup Notification In Linux

0 views
Skip to first unread message

Conrad Sykes

unread,
May 1, 2013, 2:26:41 AM5/1/13
to the-comp...@googlegroups.com
I work for a company managing over a hundred client Linux machines and when I'm going to be doing something that will effect the user it's nice to be able to notify them. Thus whenever I'm about to make a change on a system or all the systems I will SSH into those systems and display a popup notification message. I accomplish this with the following line of code in my scripts

DISPLAY=:0 notify-send "Very Important Message Here" 

This allows me to inform users that their systems will be shutting down for maintenance or other important information. Anyways, I hope you find this useful and are able to make good use of it. 

--
Posted By Conrad Sykes to The Computer Kid at 4/30/2013 11:26:00 PM
Reply all
Reply to author
Forward
0 new messages