Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to switch power profiles in Powerdevil (the Power Management interface in KDE 4) between "Presentation" and "Performance" (default) from the command line.

Basically, I need this to disable screen locking/saver while watching a movie with vlc; vlc uses xdg-screensaver to disable the screensaver, but this apparently does not affect the Powerdevil profile (should it?) mplayer for example, is not affected by this, because it triggers manual keypresses (which has other drawbacks though).

It is probably possible via DBUS/qdbus, but I have not found anything.

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

A little googling found this:

qdbus org.kde.powerdevil /modules/powerdevil setProfile Profilename

but cannot test now (i'm on Gnome at work)...

Or you can assign a keyboard shortcut/input action to switch profiles if everything else fails ...

share|improve this answer
    
qdbus org.kde.powerdevil /modules/powerdevil setProfile Presentation works. Thanks! –  blueyed Sep 3 '10 at 19:43
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.