Skip to content

Inhibit idle and screensaver when browsers or video web apps are fullscreen - #12606

Open
murdawkmedia wants to merge 1 commit into
omacom:quattrofrom
murdawkmedia:fix/browser-fullscreen-idle-inhibit
Open

murdawkmedia wants to merge 1 commit into
omacom:quattrofrom
murdawkmedia:fix/browser-fullscreen-idle-inhibit

Conversation

@murdawkmedia

Copy link
Copy Markdown

Problem

Web browsers (Firefox, Chromium-based browsers, and video web apps like Zoom and YouTube) do not reliably inhibit idle under Wayland during fullscreen video calls (e.g., Google Meet, Zoom, Teams), presentations, or media playback.

With Omarchy's default idle.screensaver timeout (150s), participating in a fullscreen video call triggers the Omarchy screensaver (and later DPMS/lock) mid-call because the user is listening and watching without continuous keyboard or mouse input.

Related context: #12579 (which addressed idle inhibition for VLC).

Fix

Add window rules in default/hypr/apps/browser.lua setting idle_inhibit = "fullscreen" for:

  • firefox-based-browser
  • chromium-based-browser
  • Video web apps (youtube.com / zoom.us)

While a browser or video web app is in fullscreen mode, Hyprland will inhibit idle so the screensaver and screen lock do not take over. Once the user exits fullscreen, standard idle timing resumes.

Verification

  • Validated with hyprctl reload and hyprctl configerrors (clean, 0 errors).
  • Confirmed against active Firefox video call window with tag matching.
  • Ran ./test/cli (all tests pass cleanly).

@murdawkmedia

Copy link
Copy Markdown
Author

I saw the comparisons with #7877, #8955 and #10414. At fbc445f, this PR's rules inhibit idle for every matching fullscreen browser or video web app. That includes calls and presentations, but also static fullscreen pages; the rules do not cover windowed playback. #7877 instead targets Firefox's native media wake-lock backend. I want to make that tradeoff explicit for the maintainer's choice. I have not run a new playback/static-page comparison or established that the alternatives cover every call and presentation case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants