I’ve been a Firefox user for 15+ years. I love its flexibility, privacy, and (absent that rough patch in the mid 2010s) its speed. It really is a great browser. But I’ve hit a limitation.
One of my machines is an HTPC running Linux. I watch almost all my movies in the browser via streaming sites. At first, Firefox was ideal for this: it handles fullscreen browsing well (better than Brave) by letting me access tabs just by moving my mouse to the top of the screen. And I’m able to adjust the scale of the Firefox interface to make it more HTPC-friendly via about:config. That’s not possible in Brave.
But Firefox has 2 issues that make it virtually unusable as an HTPC browser.
- When Firefox plays fullscreen video (on Linux), it can’t stop the screensaver from coming on. This issue has sprung up repeatedly for over a decade and been reported multiple times.
- Extensions like Keep Awake/Caffeine do not work with Firefox on Linux. I use these extensions so that I can keep non-video sites (like Rollgator) on my TV screen persistently, without the screensaver coming on.
I’m bummed. I would rather use Firefox, with its great interface and its long history. I still use Firefox on my phone, laptop, and desktop. But at the moment, Brave is the only browser (of the two) that has addressed these issues on Linux. If that ever changes, I will happily come back to Firefox on my HTPC. (It would be great, because then I could easily send tabs from my devices to my TV!) Until then, I’m sticking with Brave.
Interesting, that isn’t a problem I’ve ever run into, being a daily user of both Firefox nightly and Fedora. Videos have always prevented the screen from locking.
Maybe it’s something with the screensaver functionality? I don’t use screensavers, instead I always lock before I walk away.
why not disable the screensaver when using firefox with a simple script?
I’ve tried disabling the screensaver in power settings (not via script). But I have to keep some power settings so that my machine goes to sleep when not in use and the TV turns off.
So whatever my power settings are, they will kick in. If I disable screensaver but I have a 30 min sleep timer, the comp will go to sleep, even if I’m watching a movie in Firefox.
Typically, turning off my TV looks like this:
- I close a tab that’s playing a movie.
- Firefox reverts to my home tab, showing all my streaming sites.
- I get up and walk away
- My computer goes to sleep
- My TV, not getting any input from the computer, turns off.
If I go the script route, it might screw up that sequence, right?
If I go the script route, it might screw up that sequence, right?
not if your script either disables to changes those power settings to stay on.
So I’m looking for a script that disables all power settings when Firefox is playing a full screen video, but then re-enables them when the video closes.
Does anyone have that script?
Does anyone have that script?
i would presume that you would have to create it since you’re something of an edge case.
i used to use distos that were geared towards home entertainment in the past like mythbuntu; did none of those work for your circumstances?
I think that would be something related to your DE. In my case, I have the Plasma Integration plugin in both Firefox and Chromium-based browsers, allowing me to play videos full screen for long periods, the only nag being that if I have it full screen on one of my displays but there is any other window focused, it triggers the screensaver. For those cases, there are a few ways on KDE to prevent the displays to enter any saving mode with no more than 2 clicks, or a shortcut if you prefer to configure those
UPDATE: Switching to Firefox ESR seems to have solved this issue!