I want to notify the user when the UPS battery goes down. A simple text message is sufficient. Any user, working on any application on KDE/GNOME/Terminal... in that machine must be alerted. I have written the C program to monitor the UPS battery, but am not able to alert the user with some on-screen text. What is the easiest way to do this?