I apologize if this is not the correct Sub-Forum, but none of the others look like they appropriate. I realize that I can do something simple with cron, but I am looking for something more.
I need to have my system shutdown or hibernate or sleep at the end of the week. I would like something more interactive than just a wall message which does not create a KDE notification. What i would like is a pop up that lets be know that a shutdown is scheduled and then provides me with the option to postpone or cancel and requires a password to do either. I realize I can simply cancel the shutdown which shutdown -c and ultimately I may just do that, but again I would like something more interactive. At the risk of being flamed, I am looking for something like the dialog Windows pops up after automatically installing updates that provides a postpone option.
I am running OpenSuSE 12.3 with KDE as my primary interface. It was installed from the KDE live DVD and I have all updates installed. I am not pulling updates from Tumbleweed, Factory, etc.
> I am running OpenSuSE 12.3 with KDE as my primary interface. It was
> installed from the KDE live DVD and I have all updates installed. I am
> not pulling updates from Tumbleweed, Factory, etc.
you shouldn’t pull updates from factory or tumbleweed unless you know
what you are doing
The following are the repos you will need on openSUSE
==>and finally packman
Install and have a look at kcron. The package installs an entry in KDE’s Systemsettings (you may have to logout to see the new module). Add a new task, the only thing you have to enter is the command that executes hibernation / suspend
Thanks for the info. I don’t really need a GUI for cron, but it could come in handy. I am not finding anything that is built to automate shutdowns on inactivity during specific times of the week, so I will probably keep it simple or write a script.
On 2013-10-07 23:56, Rhongomiant wrote:
> Thanks for the info. I don’t really need a GUI for cron, but it could
> come in handy. I am not finding anything that is built to automate
> shutdowns on inactivity during specific times of the week, so I will
> probably keep it simple or write a script.
The command “batch” executes things when the load is low.
But your requirement is so specific that you really need to program it.
Cheers / Saludos,
Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))
I was not specific enough. It does show up in notifications, but in OpenSuSE the option to make notifications stay up is removed so if I am not sitting there when the notification pops up up there is a when I get back to my PC I will not notice the little notification indicator right away. I wish that for selected notifications you could additionally have an in your face pop up.
I have looked at KShutdown and there are some issues.
It only notices inactivity in the session for which it is running, not across all sessions, which I realize may be a bit impossible.
I do not see a way to determine if there is an active alarm.
This is basically what I need. I need to automatically schedule a shutdown every 30 minutes starting Friday evening and ending at about 4AM on Monday. I need this to happen repeatedly because if I am using the system I will cancel the shutdown. I was thinking that I need to be able to determine if a shutdown operation is in progress as I do not want a new one to reset another, but I guess I can set the shutdown for 30 minutes and the run to run every 40 minutes.
That was a change in KDE a while ago.
If you disable the notifications plasmoid, those notifications should pop up in your face and only disappear if you click on them I think.
Right-click on the small green up-arrow in the system tray (just left of the digital clock), select “System Tray Settings” and disable it there.
You may have to logout/login for the notifications to work then.
PS: You don’t have to completely disable it. Click on the arrow (to show the hidden icons), right-click on the “Notifications” symbol and choose “Notification Settings”. You can then disable the “Application notifications” specifically. Things like file-copy progress information will then still be shown by the plasmoid. And this setting should take effect immediately, you don’t have to logout.