Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-17-2011, 11:00 AM   #1
Registered: Sep 2008
Distribution: Arch
Posts: 44

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


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 ?

Old 09-17-2011, 11:53 AM   #2
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 477
Blog Entries: 2

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

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:
xset -dpms
This explains the above command nicely:
1 members found this post helpful.


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

All times are GMT -5. The time now is 09:30 AM.

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