LavaUI docs GitHub

message LockState

Control plane

message LockState

Compositor → lock screen.

idl/lava.npidl:1096

Fields

capsLock: boolean

The keyboard as the compositor reads it — the lock screen has no way to ask, and a password typed with Caps Lock on, Num Lock off or the other layout active is a wrong password nobody can see the reason for.

idl/lava.npidl:1110

failures: u32

Wrong attempts since this lock began, so a lock screen can say so.

idl/lava.npidl:1099

layout: string

The active xkb layout's name, "English (US)". Empty with only one.

idl/lava.npidl:1113

message: string

What PAM said about the last attempt, if anything: pam_faillock's "the account is locked" is the one that matters, because while it holds even the right password is refused and nothing else would say why.

idl/lava.npidl:1106

numLock: boolean

Not documented.

idl/lava.npidl:1111

status: LockStatus

Not documented.

idl/lava.npidl:1097

user: string

The account whose password is asked for — the user the compositor runs as, which is the only one it can check.

idl/lava.npidl:1102