LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Proper web browser for linux (https://www.linuxquestions.org/questions/linux-software-2/proper-web-browser-for-linux-4175533934/)

electrovalent 02-13-2015 01:32 PM

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?

Habitual 02-13-2015 02:59 PM

I installed Cairo Dock specifically for that purpose.
Default panel has a "[Disable..|enable...] 1 click function.

fogpipe 02-13-2015 04:03 PM

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.

DJ Shaji 02-15-2015 05:09 AM

This is completely relevant though:
http://xkcd.com/196/

syg00 02-15-2015 05:14 AM

:cool:

Teufel 02-15-2015 08:07 AM

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.

electrovalent 02-15-2015 11:36 AM

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.

Teufel 02-15-2015 04:49 PM

I doubt that there is any browser that smart enough to manage PC and monitor. They doesn't intended for such a things.

electrovalent 02-16-2015 02:04 PM

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.


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