Desktop briefly visible before showing lock screen after waking from boot #20

Closed
opened 2026-08-21 21:09:50 +01:00 by joshquinlan · 1 comment
Owner

When the machine has been sleeping, on wake the desktop is briefly visible before showing the lock screen.

This is potentially a privacy risk, particularly as this is a work device.

When the machine has been sleeping, on wake the desktop is briefly visible before showing the lock screen. This is potentially a privacy risk, particularly as this is a work device.
Author
Owner

hypridle spawns before_sleep_cmd with runAsync and releases its logind delay inhibitor as soon as the spawn returns, so "loginctl lock-session" only had to be handed off, not obeyed, before the machine suspended.

general:inhibit_sleep=3 holds the inhibitor until the compositor reports the session locked over hyprland-lock-notify-v1, which is the moment the lock surface is presented. Verified from hypridle 0.1.8 source and from its own log line, and the compositor fires lock-notify reliably with the Quickshell locker.

Landed in acfc02f, with test/shell.d/hypridle-test.sh guarding that every profile that can suspend takes the shared general block.

hypridle spawns before_sleep_cmd with runAsync and releases its logind delay inhibitor as soon as the spawn returns, so "loginctl lock-session" only had to be handed off, not obeyed, before the machine suspended. general:inhibit_sleep=3 holds the inhibitor until the compositor reports the session locked over hyprland-lock-notify-v1, which is the moment the lock surface is presented. Verified from hypridle 0.1.8 source and from its own log line, and the compositor fires lock-notify reliably with the Quickshell locker. Landed in acfc02f, with test/shell.d/hypridle-test.sh guarding that every profile that can suspend takes the shared general block.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
joshquinlan/dotfiles#20
No description provided.