LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-24-2010, 05:21 PM   #1
danix85
LQ Newbie
 
Registered: Apr 2007
Location: italy
Distribution: Slackware64-current
Posts: 7

Rep: Reputation: 0
Question 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
 
Old 04-24-2010, 06:49 PM   #2
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,252

Rep: Reputation: 630Reputation: 630Reputation: 630Reputation: 630Reputation: 630Reputation: 630
mplayer has the -heartbeat-cmd option that is probably what you want. I use it to prevent xscreensaver from kicking in.
 
Old 04-25-2010, 02:29 PM   #3
danix85
LQ Newbie
 
Registered: Apr 2007
Location: italy
Distribution: Slackware64-current
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by T3slider View Post
mplayer has the -heartbeat-cmd option that is probably what you want. I use it to prevent xscreensaver from kicking in.
Hi, thanks for replying, I think this is the way to go, but since I don't use xscreensaver I don't know what command should I use to let powerdevil know that I'm using the system...

I'll try to investigate, thanks for your suggestion...
 
  


Reply

Tags
kde4, mplayer, slackware


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mplayer .mp4 playback Cyber Maid Linux - Software 4 10-11-2007 10:14 AM
Monitor suspension g4j31a5 Linux - General 5 01-12-2007 12:43 AM
MPlayer playback problems ben_dsr Linux - Software 2 05-28-2005 10:20 PM
mplayer xv playback problem rejser Linux - Software 4 05-22-2004 10:20 AM
DVD playback in Mplayer subservant Linux - Software 8 02-15-2003 05:23 PM


All times are GMT -5. The time now is 11:26 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration