Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I watch VLC for a while, then about 15 min. later, it sleeps.

Where can i find the how to disable the screen-saver or how to disable sleep?

share|improve this question
add comment

6 Answers

go to System Settings -> Power -> Suspend when inactive -> don't suspend

share|improve this answer
add comment

Settings > Power

Go to settings and choose the power option

share|improve this answer
add comment
  1. Open VLC's preferences.

  2. Select All in Show settings at the bottom of the window.

  3. Pick the Video section at the vertical tree.

  4. Tick the Disable screensaver checkbox.

  5. Save settings.

enter image description here

share|improve this answer
add comment

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:

#!/bin/bash

#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
exit
share|improve this answer
add comment

Just for one session

     sudo service sleepd stop
share|improve this answer
add comment

in kubuntu you can click on battery icon at left-bottom corner and then click on wrench icon again at left-bottom corner of popped window.

The Configure-KDE Control Module will be opened,there you can change suspend status or other settings like what happen when you close your lid even when system is on battery or it is plugged in.

hope it can be useful.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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