A program written with C++ for system rebooting, suspension and powering off. The overall content is about 70 lines long.
/*++Power v.1 Copyright (c) 2017 JJ Posti <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 2, June 1991″)*/
You need something along the lines of libgtk-3-dev and build-essential
installed in order to compile ++Power. Also make sure to install pkg-config.
Compile with the command: Continue reading