Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: miltiadespro on 03 July 2024, 20:57:01

Title: Firefox doesn't prevent the screen from going blank while watching videos.
Post by: miltiadespro on 03 July 2024, 20:57:01
Hi!

Pretty much what the title says, the screen goes blank while watching videos/streams on firefox. Mpv and chromium work fine and prevent the screen from closing. How should I troubleshoot the issue? I'm currently using firefox 127.0.1 with artix-runit and tried many different DEs like gnome kde etc.

Thanks in advance.
Title: Re: Firefox doesn't prevent the screen from going blank while watching videos.
Post by: corysanin on 03 July 2024, 21:23:03
I've researched this issue in the past, pretty sure it's an upstream issue with Firefox.
Title: Re: Firefox doesn't prevent the screen from going blank while watching videos.
Post by: Surf3r on 04 July 2024, 09:22:37

 xfce has a feature called "inhibit screensaver for full screen applications". I for one I disabled all that and made a keybinding  "xfce4-screensaver-command -a". When I need the screen to go off I hit that key.

Title: Re: Firefox doesn't prevent the screen from going blank while watching videos.
Post by: gavincc on 04 July 2024, 10:31:41
caffeine-ng has always been my go to app to prevent blanking, in AUR
Title: Re: Firefox doesn't prevent the screen from going blank while watching videos.
Post by: miltiadespro on 20 July 2024, 20:01:58
Just made an archlinux vm to try firefox and it works fine. Does arch use something else that prevents the screen from going blank?
Title: Re: Firefox doesn't prevent the screen from going blank while watching videos.
Post by: cds on 20 July 2024, 22:15:45
128.0 worked perfectly well for me.
Title: Re: Firefox doesn't prevent the screen from going blank while watching videos.
Post by: miltiadespro on 23 July 2024, 02:05:12
Okay, after many hours I figured out there is something wrong with lutris or its dependencies. I'm using dwm and firefox for some reason doesn't prevent the screen from blanking after installing lutris with xdg-desktop-portal-gnome or xdg-desktop-portal-gtk. This looks very weird to me, maybe it has something to do with gnome-desktop being installed? Idk, if someone else has any clues let me know, I will mark the thread as solved soon.

Thanks.