Comment 1 for bug 987664

Revision history for this message
hakaishi (hakaishi) wrote : Re: allow to set restart/resume time

Hmm... So you would like to have an option or something like that for qshutdown?
The problem is that qshutdown usually is used by users without admin rights and rtcwake seems to need these rights...
So there are two solutions: add the user or group you want to the sudoers for rtcwake and enter the commands in the advanced settings (aviable from version 1.6.4 on. Upload to Debian and the Launchpads PPA on 29th April) for qshutdown, or make a little script that first executes your rtcwake command and then starts qshutdown. You'll either need to add the user to the sudoers, or start the script and let it first ask for the password with gksudo or something like that.
I hope to have shed a bit light to the problem. :)