I use my laptop to watch movies (crazy, I know), sometimes in a browser (Firefox) and sometimes in Totem. Either way, while I'm watching, the screen dims and eventually locks, per my Brightness and Lock settings.
I want that to happen basically any time that I'm not watching a movie, but I'd like it to stop happening while I watch movies.
Any suggestions?
Can I write a script to disable the screen lock for an hour or so? Is there a tool that does this?
caffeine
. https://launchpad.net/~caffeine-developers/+archive/ubuntu/ppa thensudo apt-get install caffeine
Make sure you are in full-screen when watching movies, I'm not sure if the program can detect other events. So, as a bonus, full screen anything to prevent screen lock, though I haven't tested this. – ThisIsNotAnId Mar 15 '17 at 15:18