Registered Member
|
Hello, I'm working on a script so that I can watch movies without the computer screen blanking or the computer going to sleep. I've figured out how the do the former but I need to learn how to do the later. I'd like to be able to disable suspend or change it's value from the command line. I was hoping that somebody knows how to do this??? Thank you.
|
Moderator
|
If you use KDE 4 try
Replace <Profilename> with the name of a preconfigured profile you added (I think there's something like this called "Presentation" or something similar) |
Registered Member
|
Hmm, good thinking, JanGerrit. Hadn't thought of that. I'd like to be able to write this script generically so that other people can use it to. Came across today that dbus has an inhibit command i can use. Not the same thing but looks like powerdevil doesn't have the ability to disable power management.
Probably will have to use this instead then. |
Administrator
|
The FreeDesktop Power Management interface is likely similar to MPRIS, and is therefore probably provided by Powerdevil ( it appears to be on my system... )
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]