Repository navigation
Conversation
Signed-off-by: radkawar <radkawar28@gmail.com>
Member
|
This is handled in Cinnamon now for the upcoming release. This daemon's main purpose is to forward inhibitors using the freedesktop screensaver api to Cinnamon's session manager. |
Author
|
Thanks for the explanation. I will keep the tested Mint 22.3 compatibility backport fork-only rather than pursue this for the upcoming Cinnamon release. |
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.
Watch logind's Lock signal for this daemon's own login session and activate the screensaver through the existing
cinnamon-screensaver-command --lockhelper. The helper preserves custom screensaver behavior. The listener belongs in the persistent proxy: cinnamon-screensaver normally exits after 30 seconds idle and cannot receive the signal then. Stop removes the subscription.Native testing: Linux Mint 22.3 Cinnamon X11, golden KVM guest admitted through the normal lab FIFO. Built an unmodified 6.6.2 daemon package and the same patch backported to 6.6.2, using
dpkg-buildpackage -b -us -uc -j2. With the screensaver's LockedHint patch from linuxmint/cinnamon-screensaver#521 installed, waited 35 seconds after each fresh graphical login and confirmed the screensaver bus name was unowned. Baseline:loginctl lock-sessionleftLockedHint=no. Patched: the same request activated the screensaver (GetActive=true,LockedHint=yes); logind unlock returned both to false/no.AI disclosure: Developed with AI assistance. The native baseline comparison described above was executed.