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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
02-13-2015, 01:32 PM
|
#1
|
LQ Newbie
Registered: Oct 2014
Distribution: Debian, Xubuntu
Posts: 12
Rep:
|
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?
|
|
|
02-13-2015, 02:59 PM
|
#2
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep:
|
I installed Cairo Dock specifically for that purpose.
Default panel has a "[Disable..|enable...] 1 click function.
|
|
|
02-13-2015, 04:03 PM
|
#3
|
Member
Registered: Mar 2011
Distribution: Slackware 64 -current,
Posts: 550
Rep:
|
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
|
|
|
02-15-2015, 05:09 AM
|
#4
|
Member
Registered: Dec 2004
Location: Yo Momma's house
Distribution: Fedora Rawhide, ArchLinux
Posts: 518
Rep:
|
This is completely relevant though:
http://xkcd.com/196/
|
|
|
02-15-2015, 05:14 AM
|
#5
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,236
|
|
|
|
02-15-2015, 08:07 AM
|
#6
|
Member
Registered: Apr 2012
Distribution: Gentoo
Posts: 616
Rep:
|
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.
|
|
|
02-15-2015, 11:36 AM
|
#7
|
LQ Newbie
Registered: Oct 2014
Distribution: Debian, Xubuntu
Posts: 12
Original Poster
Rep:
|
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.
|
|
|
02-15-2015, 04:49 PM
|
#8
|
Member
Registered: Apr 2012
Distribution: Gentoo
Posts: 616
Rep:
|
I doubt that there is any browser that smart enough to manage PC and monitor. They doesn't intended for such a things.
|
|
|
02-16-2015, 02:04 PM
|
#9
|
LQ Newbie
Registered: Oct 2014
Distribution: Debian, Xubuntu
Posts: 12
Original Poster
Rep:
|
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 02:14 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|