![]() |
avoiding system suspension during mplayer playback
Hi everybody,
I'd like to know if there's a way to disable system suspension during mplayer playback, I'm using kde 4.4.2 by AlienBob on my slackware64-current, and powerdevil as the power manager. In powerdevil I've setup the performance profile to suspend the system after 30 minutes with no user interaction, and the presentation profile is setup not to use suspension at all, but I always forget to switch the profile before playing some long video on mplayer and the system goes down after 30 minutes of playback... Does someone knows a way, a hidden mplayer setting (powerdevil setting would be ok too) that lets me disable suspension only when mplayer is working and nobody is using the system for more than 30 minutes?? Thanks a lot in advance ;) |
mplayer has the -heartbeat-cmd option that is probably what you want. I use it to prevent xscreensaver from kicking in.
|
Quote:
I'll try to investigate, thanks for your suggestion... ;) |
| All times are GMT -5. The time now is 11:33 AM. |