Firefox and inhibiting DPMS

andre at andre at
Tue Dec 21 20:02:22 CET 2021

Hi Paul,
Thanks for the investigation and fixing this on Firefox side.
Yes, this patch seems to make sense, can you please create a Merge Request for power-manager? (You now have permission to create forks). Thanks.

Andre Miranda

Dec 20, 2021, 08:00 by xfce-request at

> Message: 1
> Date: Sun, 19 Dec 2021 17:51:45 +0100
> From: Paul Ezvan <paul at>
> To: xfce at
> Subject: Firefox and inhibiting DPMS
> Hello,
> I've always had the issue with Xfce and Firefox that the screen would 
> suspend while watching a video.
> Note that when using Chromium the screen doesn't suspend as expected.
> My first assumption was that it is because Firefox is not calling the 
> correct DBus API in Xfce as described in 
> I made a code change in Firefox to fix this which landed in Firefox 95: 
> Now I correctly get from the Power manager applet "Firefox is inhibiting 
> power management" (or something like that as my desktop uses the French 
> locale), BUT the screen still suspends!
> After some investigation, I believe that this is because 
> xfce4-power-manager doesn't inhibit DPMS when getting the inhibit 
> request, whereas it does it when entering presentation mode. I made a 
> small change to inhibit DPMS in this case (patch attached), and this 
> fixes the issue for me, the screen doesn't suspend any more while 
> watching a video with Firefox.
> Does it look like a good approach to fix this issue?
> Thanks!
> Paul

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Xfce mailing list