LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-13-2015, 01:32 PM   #1
electrovalent
LQ Newbie
 
Registered: Oct 2014
Distribution: Debian, Xubuntu
Posts: 12

Rep: Reputation: Disabled
Proper web browser for linux


Hi,

I am trying to find a web browser for linux which is able to disable screen power management or screen saver while i am watching a video online. Firefox and Chrome are not able to do that. Any suggestions?
 
Old 02-13-2015, 02:59 PM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
I installed Cairo Dock specifically for that purpose.
Default panel has a "[Disable..|enable...] 1 click function.
 
Old 02-13-2015, 04:03 PM   #3
fogpipe
Member
 
Registered: Mar 2011
Distribution: Slackware 64 -current,
Posts: 550

Rep: Reputation: 196Reputation: 196
Turn off the screensaver program and run these two commands at a prompt:
Code:
xset s off
xset -dpms
That will probably take care of the screen blanking while watching a video. You could also put all that in a script so that you could do all three things with one click.

Last edited by fogpipe; 02-15-2015 at 01:32 PM. Reason: script - didnt like it
 
Old 02-15-2015, 05:09 AM   #4
DJ Shaji
Member
 
Registered: Dec 2004
Location: Yo Momma's house
Distribution: Fedora Rawhide, ArchLinux
Posts: 518
Blog Entries: 15

Rep: Reputation: 106Reputation: 106
This is completely relevant though:
http://xkcd.com/196/
 
Old 02-15-2015, 05:14 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
 
Old 02-15-2015, 08:07 AM   #6
Teufel
Member
 
Registered: Apr 2012
Distribution: Gentoo
Posts: 616

Rep: Reputation: 142Reputation: 142
my little script which I start when going to bed to watch movies online:

Code:
#!/bin/bash
timer=$(kdialog --title "Input dialog" --inputbox "Enter countdown timer value" "45")
cmd="xset -dpms && sudo shutdown -h -P +$timer"

if [[ $timer = *-* ]]
    then
	sudo shutdown -c
    else
	eval $cmd
fi
it disables monitor power management and powers off the PC if I fell asleep while watching a movie

I have this script added to KMenu Favorites section.

Last edited by Teufel; 02-15-2015 at 08:08 AM.
 
Old 02-15-2015, 11:36 AM   #7
electrovalent
LQ Newbie
 
Registered: Oct 2014
Distribution: Debian, Xubuntu
Posts: 12

Original Poster
Rep: Reputation: Disabled
Thank you all for your suggestions. I am looking for something to do this automaticaly when video in fullscreen mode is running. I do forget to enable/disable every time i want to watch a video. And except that if i leave my house and forget to run this script, my laptop will stay on power for 2,3,4 days until i get back and this is something nobody wants. This is the reason i am looking for a web browser smart enough to do this.
As described in XVideo Extension protocol (Xorg), specifically XVideoNotify Events are generated when a video starts, stops etc.
Does anyone know where these events are logged and if it is possible to use them to trigger these scripts automatically.
Thank you very much.
 
Old 02-15-2015, 04:49 PM   #8
Teufel
Member
 
Registered: Apr 2012
Distribution: Gentoo
Posts: 616

Rep: Reputation: 142Reputation: 142
I doubt that there is any browser that smart enough to manage PC and monitor. They doesn't intended for such a things.
 
Old 02-16-2015, 02:04 PM   #9
electrovalent
LQ Newbie
 
Registered: Oct 2014
Distribution: Debian, Xubuntu
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
I doubt that there is any browser that smart enough to manage PC and monitor. They doesn't intended for such a things.
Most web browsers are already smart enough for some years now but not on Linux. Since they are able to do that on different OS they are probably intended for such things. But what makes the difference when it comes to Linux port? I 've made some questions to Mozilla community if Firefox for example is able to do that since it does it in Windows and Mac OS and i didn't get any answer except that it's difficult to develop on Linux.
 
  


Reply



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
Web Browser Linux? linus72 Linux - General 1 08-02-2009 04:16 PM
how to set proper pdf plugin in mozzila browser bajaj Linux - Software 0 07-04-2003 05:40 PM
Linux Newbie seeking advice on proper security for 7.3 web server... marvc Linux - Security 3 03-24-2003 02:42 PM
what's the best web browser for linux? drclaw Linux - General 2 12-13-2000 08:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:43 AM.

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