Your message dated Sat, 14 Nov 2026 12:19:44 +0000
with message-id <[email protected]>
and subject line Bug#1126181: fixed in sway 1.12-2
has caused the Debian Bug report #1126181,
regarding sway: Firefox cannot inhibit idle screen blanking under sway
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1126181: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1126181
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: sway
Version: 1.11-3
Severity: normal
Dear Maintainer,
When Firefox plays full-screen video content (such as YouTube), it tries to
tell the desktop environment/window manager to avoid blanking the screen for
inactivity. If it fails, watching videos is incredibly frustrating since the
screen keeps turning itself off.
This works perfectly well in a full desktop environment like GNOME, but does
not work under sway.
According to investigations done by user "sincereshellfish" on Reddit[1], the
situation is this:
- when Firefox wants to inhibit screen blanking, it first tries the standard
DBus protocol org.freedesktop.impl.portal.Inhibit, which sway does not
implement
- If that fails, Firefox tries the regular Wayland "inhibit screen blanking"
protocol, which sway *does* implement
- The org.freedesktop.impl.portal.Inhibit DBus protocol is provided by the xdg-
desktop-portal proxy, which forwards it to one of the backends configured by
the /usr/share/xdg-desktop-portal/sway-portals.conf file
- Unfortunately, the protocol does not provide any way to report failure, so
once the proxy has accepted the request, it must either succeed or fail
silently
- As a result, when Firefox tries the standard DBus protocol to inhibit
blanking, it never gets a failure, so it never falls back to the mode that
works with sway
The workaround suggested by the Reddit post is to add the following line to the
sway-portals.conf file:
org.freedesktop.impl.portal.Inhibit=none
This tells xdg-desktop-portal not to advertise the DBus protocol at all, which
means Firefox gets a failure trying to invoke it, so it falls back to the
Wayland protocol, and it Just Works.
I think this would be a good thing to include in the sway-portals.conf file
packaged in Debian.
Thank you!
Timothy Allen
[1]:
https://www.reddit.com/r/swaywm/comments/1dqud2a/how_to_get_firefox_to_inhibit_idle_when_watching/
-- System Information:
Debian Release: forky/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.17.13+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8),
LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages sway depends on:
ii libc6 2.42-10+b1
ii libcairo2 1.18.4-3
ii libdrm2 2.4.129-1
ii libevdev2 1.13.6+dfsg-1
ii libgdk-pixbuf-2.0-0 2.44.4+dfsg-1
ii libgl1-mesa-dri 25.2.8-2+b2
ii libglib2.0-0t64 2.86.3-4
ii libinput10 1.30.0-1
ii libjson-c5 0.18+ds-1.1
ii libpango-1.0-0 1.57.0-1
ii libpangocairo-1.0-0 1.57.0-1
ii libpcre2-8-0 10.46-1+b1
ii libpixman-1-0 0.46.4-1+b1
ii libsystemd0 259-1
ii libudev1 259-1
ii libwayland-client0 1.24.0-2+b2
ii libwayland-cursor0 1.24.0-2+b2
ii libwayland-server0 1.24.0-2+b2
ii libwlroots-0.19 0.19.1-1+b1
ii libxcb-icccm4 0.4.2-1+b1
ii libxcb1 1.17.0-2+b2
ii libxkbcommon0 1.12.3-1
ii swaybg 1.2.1-1
Versions of packages sway recommends:
ii foot 1.25.0-1
ii polkitd 127-1
ii wmenu 0.2.0-1
Versions of packages sway suggests:
ii sway-backgrounds 1.11-3
ii swayidle 1.9.0-1
pn swaylock <none>
ii xdg-desktop-portal-gtk 1.15.3-2
pn xdg-desktop-portal-wlr <none>
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: sway
Source-Version: 1.12-2
Done: Sean Whitton <[email protected]>
We believe that the bug you reported is fixed in the latest version of
sway, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sean Whitton <[email protected]> (supplier of updated sway package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 14 Nov 2026 11:56:58 +0000
Source: sway
Architecture: source
Version: 1.12-2
Distribution: unstable
Urgency: medium
Maintainer: Sway and related packages team <[email protected]>
Changed-By: Sean Whitton <[email protected]>
Closes: 1126181
Changes:
sway (1.12-2) unstable; urgency=medium
.
* Team upload.
* debian/sway-portals.conf: Set org.freedesktop.impl.portal.Inhibit=none
(Closes: #1126181).
Checksums-Sha1:
840767af0344c655cc522f880a1d18286ea190e8 2600 sway_1.12-2.dsc
7e0bda0f8accdce6476363fb1ac47d235a663429 11320 sway_1.12-2.debian.tar.xz
b6ca0dc32758880cc26bed54b0751a2f65b5ce88 5726224 sway_1.12-2.git.tar.xz
8d1aea1d18bcad62b40881b91402896935db444f 17726 sway_1.12-2_source.buildinfo
Checksums-Sha256:
cdb268b0ff9cebd42e77b410d3a5079baf717369703ce4eaf128e896042a7829 2600
sway_1.12-2.dsc
66bc006ed6f326dcd71295c8472bc9791c227d2dc6452cfbd76d18558e70959d 11320
sway_1.12-2.debian.tar.xz
83b7ff14658ca96151c4e3b16c88515d04a49247ce230112a6e7919530cc98f2 5726224
sway_1.12-2.git.tar.xz
df5c66b4742327b59fd45a70e39aad3af88922f46516ff9ef3d50e33586711ad 17726
sway_1.12-2_source.buildinfo
Files:
ff9c027a3ada245310162617ccb51e23 2600 x11 optional sway_1.12-2.dsc
6ff7df8c0ee948e31192e2688b5b954c 11320 x11 optional sway_1.12-2.debian.tar.xz
4b992e27078ce462e517c514897e73b4 5726224 x11 None sway_1.12-2.git.tar.xz
c5c4c3152cf5cbe5305f0048397e6d8b 17726 x11 optional
sway_1.12-2_source.buildinfo
Git-Tag-Info: tag=11a7e34aa407fd18e5ec9d8d87df840646b9baba
fp=9b917007ae030e36e4fc248b695b7ae4bf066240
Git-Tag-Tagger: Sean Whitton <[email protected]>
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmr4TdIACgkQYG0ITkaD
wHkSvBAA5CbjWHwyAupEByURih7CVrLGkHGVLPjN9ok1UsTzaa0baWfpqX7t3NGo
3OREveCnjHEqkrjJYbVWXPUjRchtTrLI+qvfslMgpHF8Fe0Ak4I9IvOI+QZo33km
IFv88dw4yr2U4wZmeJ+WPAaRbwe0Ce6XDvfbkUKyfYul+hUoEUCvwzAZWnl07aHn
HDFossbYXpmODeg2tPUclnGlqBUd7AICy6k+jQAIAQg7FzN7YlyLr5eNTRaVym8t
m19lxqIkJIt6wPUD+V8P3SOE0RjEdzHU3IK9tcKsFju+cVRzapIwAXll+Nyq1e1M
86FJtUA5iGrrrLUWzz3DgXeYCQWR5iO5Jq5IPyyWlYclyiQvB11pWttW2rg5jXoO
VRXcl8RrRhhxG8VG6lNDsgPhwr1N9Eyl6dZJX71rm3MH9Duy1sFR6AgWMttxj7HQ
8fmXwA7G/psshCiPlSZA6PWi/mHJl1+AYhx2rmtrSRkPI5ho9nop4W4ZZh1+9aWO
2IqVlxQDTqFKgLRdLLryVrO+sGGfHr8OBqgM4XpXW6cSina6M1exPwpKouo2Axuq
CjZ0R18rtrgxfXZKL/H1DEDeIGhBj2VBVvrg6TxF0pEo0XfArXGucJfr5fZCXPtl
h/M9sHvMU19loczgAvn93y/mw6OctBmiaTJeyN1RKAsJ1Y8T5HI=
=RUdN
-----END PGP SIGNATURE-----
pgpYAuLuLOJXA.pgp
Description: PGP signature
--- End Message ---