EnglishFrenchSpanish

OnWorks favicon

qshutdown - Online in the Cloud

Run qshutdown in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

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


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • 2
    gMKVExtractGUI
    gMKVExtractGUI
    A GUI for mkvextract utility (part of
    MKVToolNix) which incorporates most (if
    not all) functionality of mkvextract and
    mkvinfo utilities. Written in C#NET 4.0,...
    Download gMKVExtractGUI
  • 3
    JasperReports Library
    JasperReports Library
    JasperReports Library is the
    world's most popular open source
    business intelligence and reporting
    engine. It is entirely written in Java
    and it is able to ...
    Download JasperReports Library
  • 4
    Frappe Books
    Frappe Books
    Frappe Books is a free and open source
    desktop book-keeping software that's
    simple and well-designed to be used by
    small businesses and freelancers. It'...
    Download Frappe Books
  • 5
    Numerical Python
    Numerical Python
    NEWS: NumPy 1.11.2 is the last release
    that will be made on sourceforge. Wheels
    for Windows, Mac, and Linux as well as
    archived source distributions can be fou...
    Download Numerical Python
  • 6
    CMU Sphinx
    CMU Sphinx
    CMUSphinx is a speaker-independent large
    vocabulary continuous speech recognizer
    released under BSD style license. It is
    also a collection of open source tools ...
    Download CMU Sphinx
  • More »

Linux commands

Ad