When playing videos with Firefox Flatpak laptop goes to sleep

I’m on Bazzite Nvidia edition with KDE Plasma recently switched from kubuntu, when playing youtube videos or twitch streams laptop goes to sleep even though when i check on battery (see Screenshot) Firefox should block sleep when video is playing, are there any solution? I tested this with Brave browser (Flatpak) and there are no issue with brave compared to firefox
Screenshot_20240513_210031

1 Like

I noticed this too, and the problem is that the Firefox flatpak doesn’t have the right permissions. I solved it with these steps:

  1. Open the Flatseal application, select Firefox
  2. Scroll down to Session Bus
  3. Add a new entry for org.freedesktop.ScreenSaver
3 Likes

Thank you for solution

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.