qshutdown


Depencies: libqt4-dev, libqt4-dbus, build-essential


If you want to install from source, open a terminal and change into this folder.
To install type:

qmake
make
sudo make install distclean



For admins:
You can achive "parental lock" if you do the following:

sudo cp /usr/share/qshutdown/root_autostart/qshutdown.desktop /etc/xdg/autostart/

now add the following line to the sudoers (for example with "EDITOR=nano sudo -E visudo"):

* ALL = NOPASSWD:/usr/bin/qshutdown_script

the * replaces the username or %groupname (Don't forget the % if it's a group).
And one more thing:
Edit the /root/.qshutdown/qshutdown.conf (after starting qshutdown once as root) and set
the option Lock_all to true.



To uninstall type:

qmake     (if the Makefile has been removed)
sudo make deinstall

(note that ~/.qshutdown/qshutdown.conf and
 ~/.qshutdown/log.txt won't be removed)
