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.
|
hello electrovalent, please take a look at "caffeine", a small systray utility that will do what you want.
what distro are you on atm? caffeine might or might not be in the repos. |
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.
|
Quote:
|
^the AUR has both versions.
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). |
How much harder?:) If i could monitor/record video output then xdg-utils could do the rest. Maybe..
|
sorry, you lost me there.
|
All times are GMT -5. The time now is 11:19 AM. |