LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 10-16-2014, 10:45 AM   #1
electrovalent
LQ Newbie
 
Registered: Oct 2014
Distribution: Debian, Xubuntu
Posts: 12

Rep: Reputation: Disabled
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.
 
Old 10-18-2014, 05:59 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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.
 
Old 10-21-2014, 11:35 AM   #3
electrovalent
LQ Newbie
 
Registered: Oct 2014
Distribution: Debian, Xubuntu
Posts: 12

Original Poster
Rep: Reputation: Disabled
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.
 
Old 10-21-2014, 04:08 PM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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.
 
Old 10-22-2014, 11:58 AM   #5
electrovalent
LQ Newbie
 
Registered: Oct 2014
Distribution: Debian, Xubuntu
Posts: 12

Original Poster
Rep: Reputation: Disabled
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.
 
Old 10-22-2014, 04:25 PM   #6
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
hello electrovalent, please take a look at "caffeine", a small systray utility that will do what you want.
I read recently that is is now a daemon and not there is no "systray utility" any more.
 
Old 10-23-2014, 01:47 AM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
^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).

Last edited by ondoho; 10-23-2014 at 01:52 AM.
 
Old 10-24-2014, 01:59 PM   #8
electrovalent
LQ Newbie
 
Registered: Oct 2014
Distribution: Debian, Xubuntu
Posts: 12

Original Poster
Rep: Reputation: Disabled
Smile

How much harder? If i could monitor/record video output then xdg-utils could do the rest. Maybe..
 
Old 10-24-2014, 03:21 PM   #9
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
sorry, you lost me there.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Disable KDE4 screensaver while watching a movie laitcg Linux - Desktop 4 10-31-2013 01:32 PM
Xfce -- when watching video, LCD auto-adjusting to lowest brightness fastestOS Slackware 2 09-04-2009 11:17 AM
watching tv on web browser at http://oftheworld.tv/ aus9 Linux - General 1 09-13-2008 01:18 AM
how can I disable the auto screen blanking? r0dr0ddy Linux - Newbie 9 02-03-2004 01:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 05:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration