How to auto disable screensaver/blanking while watching video from web browser
Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How to auto disable screensaver/blanking while watching video from web browser
Hello to everybody. Tested with multiple linux distros like debian, Mint, Ubuntu and some others (2-3 latest releases) and different hardware. Has anyone manage to have screensaver or screen blanking auto disabled when watching a video through a web browser? Like vlc does for example or like other OS act. Thanks in advance.
Thank you for the suggestion but caffeine is not able to do that. It has difficulties between screensavers and power management systems. Thats why i mentioned VLC which doesn't bother if i use xscreensaver or gnome-screensaver for example. I am experimenting different linux distros.
for each distro, you can write yourself a little script that does what you want.
all those utilities can be accessed without root priv's and most probably also via command line.
maybe even a simple "keep-alive signal" is enough, like hitting an (otherwise unused) key every minute.
I am looking for a way to have this automaticaly enabled. The script you describe if i understand well, will have to be (enabled/disabled) by me. If i forgot to disable after watching something the screen will stay active forever.
Last edited by electrovalent; 10-22-2014 at 11:59 AM.
electrovalent, such a script would check if certain multimedia applications are running and emit the signal only then.
(to check whether actual video is being played back is a little harder).
be aware that most distros have at least 2, maybe even 3 screensaver apps: the one built into the X server, the DE's screensaver (and maybe the power manager).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.