Registered Member
|
Recently I wrote a small script to use rtcwake. All you do is enter a time (eg 7:00) and it sends your computer into standby until then. This is really useful for me because I use my computer as an alarm at night, and I don't want it to be turned on the entire time.
So, why can't we add some sort of feature like that to KDE? In the shutdown options, you could have a option to put your computer to sleep in ram or disk until a certain time or date. It would probably be very useful for those with media computers as well. |
KDE Developer
|
Oh, that would be great. (When not in holidays) I use it as alarm clock too. But if the only application of it would be as alarm clock, I think this should be done somehow involving KAlarm (maybe marking some alarm in KAlarm as "wake the computer", KDE detecting it when you try to shutdown and offers you to sleep the computer until KAlarm's alarm time?).
|
KDE Developer
|
I think just adding a large selection of timers and buttons to the shutdown dialog would be a mistake. It would get overcomplicated and confusing.
I think realistically the best options would be integration with another alarm manager app as suggested above (which is a good idea, but a somewhat large task) or a dedicated program/applet. A dedicated "sleep until" utility would be pretty easy to make, and would be a good starting point in any case. If you promise to do all the beta testing, I'll even write it for you over the weekend. If you get interest from that, then you can think about more complex, exciting ideas. |
Registered Member
|
instead of kalarm we should stick to sleep button from the menu, which can be qualified with option - sleep till *time*.
|
Manager
|
I would think that kshutdown might be the place
|
KDE Developer
|
But in order to wake you up, it could not be enough just to start the PC (wake it up), I would need something to be done once the system is back (i.e. playing music).
|
Manager
|
you all seem to want it to:
sleep @ nn minutes from now sleep @ hh:mm sleep after finishing a task or when cpu <10% hibernate to disk hibernate to ram shutdown wake up @ hh:mm wake up in hh hours and mm minutes @ wake up do a task(s) @ wake play a sound file (act as an alarm) seems to me an app is needed |
Registered Member
|
Hmmm, so maybe we need a power scheduling program? Sleep @ 4:00 pm, wake @ 5:00 pm, run X, and sleep, wake @ 7:00 am, disable screensaver, lock screen, and run the alarm? It sounds like cron to me...
All I really wanted was to be able to specify "Sleep until [ ]" in shutdown because I already have programs to manage all the rest. Maybe we just need to unify some of these ideas? I don't know. |
Registered Member
|
I think a lot of application could use this functionality. eg KTV to record a show at a particular time.
The Issue I see is that only RTCwake tool to set this and the next app that wants to set it would overwrite it. There needs to be a system wide tool for handling this. Ideally cron should handle it and each app could set wake up time through it but Ubuntu's Upstart project (sys V init replacment) is set to replace cron and cron is outside KDE desktop |
KDE Developer
|
As soon as you turn a simple idea into a super complex mega awesome system, it won't get done. It happens all over this site.
If you have realistic goals and work towards them in small steps you might actually change KDE. Evolution and improvement of the idea can then happen afterwards once you've proved that it really is a good idea and have many users. Sorry for the slightly off topic rant. |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]