Lock screen
[lock] configures the lock screen, opened from Lock in the power menu (or by the power button with [power] key_action = "lock"). The compositor hides every other surface while locked and blanks any monitor without a lock surface.
[lock]background = "/home/user/wallpapers/lock.jpg"fit = "fill"show_username = trueblur_sigma = 18.0| Key | Type | Default | Description |
|---|---|---|---|
background |
string | shipped wallpaper | Absolute path to an image or video |
fit |
string | "fill" |
Same values as [background] |
show_username |
boolean | true |
Show your name above the unlock button |
blur_sigma |
number | 18.0 |
Wallpaper blur while the password field shows, 0–100; 0 is none |
- One wallpaper, no rotation. Images as for
[background], plus MP4, MKV, WebM, MOV, AVI and M4V videos, which loop silently. - If
backgroundis unset or missing, the shippedlock-wallpaper.jpgis used, then a plain dark fill. - Press Unlock, Enter or any key to show the password field; a typed character goes into it. Escape once leaves the field, twice hides it.
Requirements
libgtk-session-lock0. Without it Lock does nothing (the reason is only logged).- A compositor with
ext-session-lock-v1(Mir and Miracle have it). - Passwords are checked with PAM. Run
sudo make install-pamto install themoonswingservice; without it theloginservice is used, so attempts are logged aslogin.