LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-17-2011, 12:00 PM   #1
AMA
Member
 
Registered: Sep 2008
Distribution: Arch
Posts: 44

Rep: Reputation: 15
Disable screen going blank after inactivity in some applications


Hello,

In my power manager I chose to have the screen going blank after a certain period of inactivity. I want to keep this feature, but disable it in some applications, for example in VLC or mplayer so that I don't need to move the mouse every ten minutes of a movie...

I'm using Gnome + Compiz on Archlinux, can anyone help me find a solution ?

Thanks.
 
Old 09-17-2011, 12:53 PM   #2
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 384
Blog Entries: 2

Rep: Reputation: 96
Hi, for mplayer you can use this configuration:

Code:
stop-xscreensaver=1
heartbeat-cmd="xscreensaver-command -deactivate &"
Place it in either ~/.mplayer/config or /etc/mplayer/config

It should work with gnome-screensaver.


For VLC, open [Tools > Preferences] at the bottom left of the menu click "all", there should be an option "Disable Screensaver" under the video category.

If you applied those settings and the screen still "blanks", you might want to run this in a startup script:
Code:
xset -dpms
This explains the above command nicely: http://www.shallowsky.com/linux/x-screen-blanking.html
 
1 members found this post helpful.
  


Reply


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
[SOLVED] disable blank cd autostart izghitu Linux - Newbie 2 01-27-2011 02:05 PM
[SOLVED] Fedora live cd - Screen goes blank right before login screen loads deadalus.globalnode Fedora 5 04-21-2010 04:36 PM
Screen saver does not start after period of inactivity statguy Slackware 3 02-27-2009 08:52 PM
Blank Screen after short period of inactivity SweetLou Debian 6 12-13-2006 09:45 PM
after inactivity screen becomes flickery yzman Linux - Newbie 2 11-17-2003 07:22 AM


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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration