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