Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

qshutdown(1) [debian man page]

qshutdown(1)						      General Commands Manual						      qshutdown(1)

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 qshut- down.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. FILES
The configurationfile (and logfile) is located at ~/.qshutdown/ (under Linux/Unix). The maximum Number of countdown_minutes is 1440 (24 hours). KNOWN ISSUES
There is no system tray icon for qshutdown in Ubuntu 11.04. SOLUTION: Type the following line in a terminal: $ gsettings set com.canonical.Unity.Panel systray-whitelist "['all']" HINTS ON USAGE
If you want qshutdown to stop "bugging" you, just remove the hook from "warnings on?". HOTKEYS
Ctrl+I information window Ctrl+Q Quit Ctrl+P Prefereces Ctrl+L write the run time once into the logfile (works only if qshutdown quits. To make it permanent set it in the preferences.) Ctrl+S set to shutdown Ctrl+R set to restart Ctrl+U set to suspend to RAM Ctrl+H set to hibernate Ctrl+E stop timer (only if the countdown has started and the admin didn't restrict the access) Shift+E to edit the config file (for this a password is necessary. If you are a user, you can set an "empty password" (leave the password field empty)). AUTHOR
Christian Metscher <hakaishi@web.de> 2011-10-23 qshutdown(1)

Check Out this Related Man Page

shutdown(8)						      System Manager's Manual						       shutdown(8)

Name
       shutdown - close down the system at a given time

Syntax
       /etc/shutdown [ -k ] [ -r ] [ -h ] [ -o ] time [ warning-message ... ]

Description
       The command provides an automated shutdown procedure that a superuser can use to notify users when the system is shutting down.

       The  time is the time at which will bring the system down.  It may be the word `now', indicating an immediate shutdown, or specify a future
       time in one of two formats: + number or hour : min.  The first form brings the system down in number minutes.  The second brings the system
       down at the time of day indicated, using a 24-hour clock format.

       At intervals which get shorter as shutdown nears, warning messages are displayed at the terminals of all users on the system.  Warning mes-
       sages are also sent to users who are logged in to a remote system that has mounted a file system or directory from the local  system  using
       NFS.   Five  minutes  before  shutdown, or immediately if shutdown is timed for less than five minutes, logins are disabled by creating and
       writing a message there.  If this file exists when a user attempts to log in, prints its contents and exits.   The  file  is  removed  just
       before exits.

       At  shutdown  time, a message is written in the file This message contains the time of shutdown, who ran shutdown, and the reason.  Then, a
       terminate signal is sent at to bring the system to single-user state.

       If the or options are used, then executes or avoids shutting the system down (respectively).  The option is for use by only.  It  indicates
       to that it is being called by and not to return to the user.

       You should place the time of the shutdown and the warning message in Use the message to inform the users about when the system will be back
       up and why it is going down.

Restrictions
       You can kill the system only between now and 23:59, if you use the absolute time for shutdown.

Files
       Tells login not to let anyone log in

       Log file for successful shutdowns

See Also
       login(1), wall(1), halt(8), opser(8), reboot(8), rwalld(8c)

																       shutdown(8)
Man Page