Need help suppressing automatic monitor standby while playing online videos

Support and discussions for the x86/x64 Linux version of Pale Moon and specific Linux distribution questions related to the browser.

Moderator: trava90

Forum rules
If your question is about general use of the browser and not specific to Linux, then please use the General Support board.
Post Reply
User avatar
matogoro
Newbie
Newbie
Posts: 4
Joined: 2020-06-15, 15:04

Need help suppressing automatic monitor standby while playing online videos

Post by matogoro » 2020-06-15, 15:20

Hi all, I've been using Pale Moon on Linux for some time now and I really like it. I have a quick question regarding functionality while watching online videos (YouTube, etc.)

There seems to be some built-in feature in Firefox and Chromium that actively prevents my monitors from going on standby while watching videos online, full-screen or otherwise. This is handy since otherwise I'd have to be pressing keys or moving my mouse to keep the screen awake if I want the monitor to stay on longer than 10 minutes. For whatever reason, Pale Moon doesn't seem to trigger this and the screen falls asleep every time.

I can brute-force this by manually disabling my computer's DPMS (i.e. "xset s off -dpms"), but I feel that there must be a way to do this within Pale Moon as well. Is there some sort of internal setting or add-on that can replicate this functionality?

Thanks in advance!

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 8039
Joined: 2012-10-09, 19:37
Location: I'm.. over there.

Re: Need help suppressing automatic monitor standby while playing online videos

Post by New Tobin Paradigm » 2020-06-15, 15:53

We have this capability. I wonder why it isn't working for you.

I don't normally do this but I need to establish a timeline. Could you please test Firefox 52 and see if it works as expected.
Your computer has too much computer in it and not enough typewriter.
Image

User avatar
matogoro
Newbie
Newbie
Posts: 4
Joined: 2020-06-15, 15:04

Re: Need help suppressing automatic monitor standby while playing online videos

Post by matogoro » 2020-06-15, 16:36

Thanks for the quick reply! I think you're on to something. I downloaded Firefox 52 and tested a random YouTube video, as you suggested. Screen blanks out on the 10-minute mark as well.

I should provide some additional details: I'm running Void Linux, with bspwm/polybar, proprietary Nvidia drivers, triple-monitor setup (using xrandr). Newest version of Pale Moon 28.10.0 (64-bit).

Also, not sure how relevant this is, but when the screen goes on standby with Firefox 52, the audio keeps playing. When it goes on standby with Pale Moon 28.10.0, the audio cuts out (it resumes when I move the mouse and the screens turn back on).

Definitely would appreciate any further insight you may have into this. Thanks!

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 8039
Joined: 2012-10-09, 19:37
Location: I'm.. over there.

Re: Need help suppressing automatic monitor standby while playing online videos

Post by New Tobin Paradigm » 2020-06-15, 18:03

Is the video full screen when you expect it to block the display going off?
Your computer has too much computer in it and not enough typewriter.
Image

User avatar
matogoro
Newbie
Newbie
Posts: 4
Joined: 2020-06-15, 15:04

Re: Need help suppressing automatic monitor standby while playing online videos

Post by matogoro » 2020-06-15, 20:43

Yes, the screen blanks when the video is full screen.

User avatar
EMH_Mark_I
Apollo supporter
Apollo supporter
Posts: 45
Joined: 2017-06-09, 22:23

Re: Need help suppressing automatic monitor standby while playing online videos

Post by EMH_Mark_I » 2020-06-15, 21:18

I've tested this from a few of my systems and the SessionManager inhibitor is working as intended with Pale Moon.

Ubuntu 20.04 GNOME desktop
Image

MX Linux 19 XFCE desktop
Image

Debian Bullseye XFCE desktop
Image

I don't have an install of Void Linux to test with however.
Xubuntu | XFCE4

"It's said the road to hell is paved with good intentions. It is with the same good intentions that we blindly place our trust in those with power, the architects of our future and all too often, the manipulators of our ultimate fate." -- The Outer Limits

User avatar
matogoro
Newbie
Newbie
Posts: 4
Joined: 2020-06-15, 15:04

Re: Need help suppressing automatic monitor standby while playing online videos

Post by matogoro » 2020-06-15, 21:51

Hm, yeah, I think you may be getting to the core of the issue. I don't see any SessionManager inhibitors running when playing a full-screen video:

Image

I think Void Linux (or at least my particular installation of Void Linux) may have some sort of specialized or stripped down version of dbus, which is weird since I honestly just installed it from the main repository. Ironically enough, it was dbus-like errors that drove me to leave the newer versions of Firefox and come to Pale Moon in the first place.

That all being said, do you all have any insight on how to send this sort of inhibitory signal to dbus? If the problem is on my end, maybe some sort of external script is the answer.

User avatar
EMH_Mark_I
Apollo supporter
Apollo supporter
Posts: 45
Joined: 2017-06-09, 22:23

Re: Need help suppressing automatic monitor standby while playing online videos

Post by EMH_Mark_I » 2020-06-16, 00:51

I should probably have clarified that the previous images are demonstrating the inhibitor being set then unset by playing and stopping a video from YouTube. Playing a video should be enough to set the inhibitor, pausing a video should also unset.

I did test to make sure that the display didn't blank during the viewing, by setting the display blanking / power settings to idle out at 1 minute and then letting a 10 minute video play out. The video wasn't interrupted at any point.
Xubuntu | XFCE4

"It's said the road to hell is paved with good intentions. It is with the same good intentions that we blindly place our trust in those with power, the architects of our future and all too often, the manipulators of our ultimate fate." -- The Outer Limits

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 8039
Joined: 2012-10-09, 19:37
Location: I'm.. over there.

Re: Need help suppressing automatic monitor standby while playing online videos

Post by New Tobin Paradigm » 2020-06-16, 01:09

So it does seem distro specific. Cause I know it also works on Fedora-based distros from the last time I tried to switch but that was some months ago and I doubt it has busted. Especially seeing as ESR52 for you displays the same behavior. But I wanted to see if our resident hologram could figure out the nature of this screen blanking emergency.
Your computer has too much computer in it and not enough typewriter.
Image

User avatar
The Squash
Fanatic
Fanatic
Posts: 164
Joined: 2020-03-25, 19:31
Location: Off the wall

Re: Need help suppressing automatic monitor standby while playing online videos

Post by The Squash » 2020-06-18, 01:26

matogoro: Do you even have a screensaver application installed? If so, what is it?

Also I'd like to point out that if the monitor is going into standby, the screensaver doesn't deal with that. It's the power manager that deals with that.
UNIX VERSUS MS-DOS
THE EPOCH SHOWDOWN

ONE IS STUCK IN 1970. THE OTHER IS STUCK IN 1980. WHO WILL SURVIVE?

"One's disco era. One's funk era. Who do you think's going to win?" -- The New Porker
IN THEATERS NOW
Rated PG -- for some violent action.

Post Reply