While I am currently doing a lot of coding and writing some programs for the next PostX version 0.3. here is a program called Power manager, which I originally released with the current PostX version.
Power manager is a simple little program which lets you shutdown, reboot and suspend your computer. The program will need zenity and gksu installed. The program will prompt you for a sudo/root password. As Power manager was crafted to use sudo the default execution command used is gksudo – you may need to change this to gksu if you use a regular root account+ normal user account combo (for example in default Debian installation).
You can start Power manager by executing the following command within a terminal client – provided that you terminal is sitting on a same directory as the program in question:
sh power.sh
And here is the download link (powerman.zip.file)
“Power-manager 0.1 Copyright (C) 2015 JJ Posti from techtimejourney.net
This program comes with ABSOLUTELY NO WARRANTY; for details see:
http://www.gnu.org/copyleft/gpl.html
This is free software, and you are welcome to redistribute it
under GPL Version 3, 29 June 2007.”