Update hypridle.conf because apps like Thunderbird fall asleep #1571
Open
escuco wants to merge 1 commit intomylinuxforwork:mainfrom
Open
Update hypridle.conf because apps like Thunderbird fall asleep #1571escuco wants to merge 1 commit intomylinuxforwork:mainfrom
escuco wants to merge 1 commit intomylinuxforwork:mainfrom
Conversation
…o focus Apps such as Thunderbird should fetch emails and execute scheduled rules even when the window is not currently in focus or the system is locked. Hyprland (via the Wayland protocol ext-idle-notify-v1) marks the system as "idle" as soon as Thunderbird loses focus – Thunderbird sends no or weak inhibitor signals, so hypridle triggers the idle listeners and throttles/pauses processes (timers, IMAP queries). Adding: - ignore_wayland_inhibit = true: Ignores Wayland protocol idle inhibitors (e.g. from Firefox/Thunderbird), so that hypridle is always considered idle, regardless of what apps signal. - ignore_dbus_inhibit = true: Ignores DBus inhibit requests (e.g. systemd-inhibit --what=idle from Mozilla apps), preventing apps from blocking idle events. Result: hypridle ignores all "I'm active" signals from Thunderbird and maintains its timeout logic without pausing background processes. Thunderbird continues to run as expected.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Apps such as Thunderbird should fetch emails and execute scheduled rules even when the window is not currently in focus or the system is locked. With the old setting, apps like thunderbird fall asleep, when not in window focus or hyprland is locked.
Hyprland (via the Wayland protocol ext-idle-notify-v1) marks the system as "idle" as soon as Thunderbird loses focus – Thunderbird sends no or weak inhibitor signals, so hypridle triggers the idle listeners and throttles/pauses processes (timers, IMAP queries).
Adding:
ignore_wayland_inhibit = true: Ignores Wayland protocol idle inhibitors (e.g. from Firefox/Thunderbird), so that hypridle is always considered idle, regardless of what apps signal.
ignore_dbus_inhibit = true: Ignores DBus inhibit requests (e.g. systemd-inhibit --what=idle from Mozilla apps), preventing apps from blocking idle events.
Result: hypridle ignores all "I'm active" signals from Thunderbird and maintains its timeout logic without pausing background processes. Thunderbird continues to run as expected and fetches mails, even when not in focus.
How Has This Been Tested?
[X ] Tested on Arch Linux/Based Distro.
start thunderbird
open console and enter
ps -C thunderbird -o timedifferent times (the Thunderbird window must not have the focus!)after some seconds, the value
TIMEno longer changes - Thunderbird is in freeze mode.point the focus to Thunderbird and do something with it
ps -C thunderbird -o timein your console again - the valueTIMEwill be higherWith this change, Thunderbird continues to work, even when the focus is not on it.