When I play a movie on VLC the screen turns off after 10 minutes. I used to run Ubuntu and this didn't happen there.


There are couple of settings that you should check in VLC:
1) Tools --> Preferences --> Show All --> Video --> Disable screensaver
2) Tools --> Preferences --> Show All --> Advanced --> Inhibit the power management daemon during playback
If both of this options are checked, you could try a simple wrapper script which disables the monitor modes that will power down, standby or blank the screen prior to calling VLC:


#Disable modes
/usr/bin/xset -dpms &
/usr/bin/xset s off &

#Open VLC
/usr/bin/vlc "$@"

#Re-enable modes
/usr/bin/xset dpms
/usr/bin/xset s on
| improve this answer | |
  • Both of the options were already checked. – sashoalm Feb 8 '12 at 11:36
  • so, you could try a wrapper script – Denis Feb 8 '12 at 14:17
  • 1
    How to use the script? – Benjamin Mar 10 '13 at 14:13

For me the solution was to access System Settings as root by pressing Alt+F2 to open the run dialog at the top of the screen and run

kdesudo systemsettings

then go to 'Display and Monitor' to get to the 'Screen Saver' selection screen and uncheck the checkbox next to 'Automatically start after:', then click 'Apply'. For some reason it seems that the screen saver setting is active on the root account in various versions of Kubuntu (probably in Ubuntu as well since I've seen posts for Ubuntu users experiencing this problem too). Doing this worked for me after first trying the suggested options of disabling Display Power Management and disabling the Screen Saver on my user account. I have not tested to see if the problem returns when those items are re-enabled but as I indicated with all of those items disabled I no longer have a problem with the screen going blank while watching videos with VLC.

| improve this answer | |

Have you tried to disable the "Screen Energy Saving" from the Power Management ?

System Settings > (Hardware) Power Management > Power Profiles

enter image description here

A bit older: http://www.kubuntuforums.net/showthread.php?51579-SOLVED-video-standby-every-10-minutes-when-mouse-is-not-used-(watching-a-video)

| improve this answer | |
  • I unchecked "Screen Energy Saving" and the monitor still turns off after 10 min. I also tried to set it to 360 min and it still turns of after 10 minutes. I did the changes on the performance profile, and this is the profile that's currently selected because my laptop is plugged. It's as if the option is ignored. I'll try using 'xset -dpms' from the link you gave. – sashoalm Feb 8 '12 at 11:43

There is a separate setting in system/settings/display-monitor that is independent from power management settings. Just go there and disable screen saver. This will take care of your problem.

| improve this answer | |

It may also help starts vlc with the "--inhibit" option. You can put that option in the VLC startup line editing the KickOff launcher menu: /usr/bin/vlc --inhibit %U that works on Debian Wheezy 7.8.0 vlc version 2.0.6 Twoflower (2.0.6-0-gbe9623c)

| improve this answer | |

You could install tool like Caffeine:


Caffeine is a system applet that allows the user to temporarily inhibit both the screensaver and the sleep power saving mode, simply by clicking on it.

This could be useful for example when watching long flash videos or playing certain full screen games that don't inhibit the screensaver by themselves. Caffeine can be set to automatically activate when any user specified application is running.

More info at: http://ubuntu-tweak.com/app/caffeine/

Installation steps:

sudo add-apt-repository ppa:caffeine-developers/ppa
sudo apt-get update
sudo apt-get install caffeine
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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