Например мне нужно, чтобы система каждый день в 7 утра переставала работать. По тырнету искал, и нашел что можно в терминале каждый раз писать. Но это как-то жутко неудобно.
Счас установил прогу из менеджера программ "qshutdown". Там есть 4 режима отключения по расписанию: отключение, перезагрузка, ждущий и спящий. Пробовал все, но выяснилось, что работает только, режим отключения.
Либо я неправильно настраивал режимы. Прога на английском поэтому ничего не понятно какие галочки нужно проставлять (хотя на сайте "qshutdown" написано, что есть русский перевод)
В общем подскажите как с этой прогой разобраться, либо какой-то другой способ
Попробовал справку перевести в транслейте - ничего не понял. Там в ждущем режиме еще 4 метода выхода:
gnome-session
HAL
UPower
DeviceKit
user defined
Короч, не знаю чо нужно?
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 (note that when sending the shutdown 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). So 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:
Paste the following in a terminal:
EDITOR=nano sudo -E visudo
and add this line:
* ALL = NOPASSWD:/sbin/shutdown
whereas * replaces the user name or %group name.
The maximum Number of countdown_minutes is 1440 (24 hours).
The configuration file (and logfile) is located at ~/.qshutdown/ (under Linux/Unix).
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 add the following line to the sudoers (as above):
* 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.
Hints on usage:
If you want qshutdown to stop "bugging" you, just remove the hook from "warnings on?".