This question already has an answer here:

I want to prevent my laptop (running Ubuntu 12.04) from going to suspend mode(as wifi gets disconnected) while watching video(youtube, totem_player) and especially when downloading files from my Chrome browser. Also, is there a way to detect if the video is playing or not so that the computer may go to suspend mode only when video is not playing or paused. Further, I already tried Caffeine and it is continuously detecting open Video_Player even though nothing is playing (on pause or stop mode). Is there an efficient way of accomplishing this ?

marked as duplicate by Panther, Jorge Castro, Eric Carvalho, Radu Rădeanu, Kevin Bowen Jul 3 '13 at 4:54

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


find system settings, (in Unity, just start typing the word "system")

look for "Brightness and Lock". set this ==> "Turn Screen off when inactive for:" to "Never".

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