qshutdown - Online in the Cloud

This is the command qshutdown that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


qshutdown - An avanced shutdown tool

SYNOPSIS


qshutdown [options]

DESCRIPTION


qshutdown is a simple tool to choose a time or a number of minutes to shutdown, reboot,
suspend or hibernate after.

qshutdown will show itself 3 times as a warning if there are less than 70 seconds left.
(if 1 Minute or local time +1 Minute was set it'll appear only once.)

This program uses qdbus to send a shutdown/reboot/suspend/hibernate request to either
the gnome- or kde-session-manager, to HAL/ConsoleKit/DeviceKit/UPower and if none of
these works, the command 'sudo shutdown' will be used.

OPTIONS


-h --help
Prints options with description.

-i Prints information about qshutdown.

-v Prints all errors and warnings.

NOTES


When sending the request to HAL or ConsoleKit, or the shutdown command is used, the
Session will never be saved. If the shutdown command is used, the program will only be
able to shutdown and reboot.

If nothing happens when the shutdown- or reboot-time is reached, it means that one lacks
the rights for the shutdown command. In this case one can do the following: Post the
following in a terminal:

$ EDITOR=nano sudo -E visudo

and add this line:

* ALL = NOPASSWD:/sbin/shutdown

whereas * replaces the username or %groupname.

For admins:


If you want qshutdown to run with "parental lock" for every user, you can do

$ sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/

and set the option Lock_all in /root/.qshutdown/qshutdown.conf to true. Note that
qshutdown has to start once to generate the qshutdown.conf. Furthermore there is a need
to do

$ EDITOR=nano sudo -E visudo

and add the following line to the sudoers:

* ALL = NOPASSWD:/usr/bin/qshutdown

If you should ever forget your set password, just remove the whole line starting with
Password manually from the qshutdown.conf.

Use qshutdown online using onworks.net services



Latest Linux & Windows online programs