FAQ: Mention how to escape from a dead screen locker
Browse files at this commite837e39623457dc5ad29c34a5ce4d4616e5fbf1eParent: 38507391 changed file +15 -0
- docs/wiki/FAQ.md +15 -0
docs/wiki/FAQ.mdmodified+15 -0
| @@ -109,3 +109,18 @@ To fix this, you can: | |||
| 109 | 109 | ||
| 110 | - Use `focus-follows-mouse max-scroll-amount="0%"`, which will prevent `focus-follows-mouse` from triggering when it would cause scrolling. | 110 | - Use `focus-follows-mouse max-scroll-amount="0%"`, which will prevent `focus-follows-mouse` from triggering when it would cause scrolling. |
| 111 | - Set `prefer-no-csd` which will generally cause clients to remove those resizing margins. | 111 | - Set `prefer-no-csd` which will generally cause clients to remove those resizing margins. |
| 112 | + | ||
| 113 | +### How do I recover from a dead screen locker / from a red screen? | ||
| 114 | + | ||
| 115 | +When your screen locker dies, you will be left with a red screen. | ||
| 116 | +This is niri's locked session background. | ||
| 117 | + | ||
| 118 | +You can recover from this by spawning a new screen locker. | ||
| 119 | +One way is to switch to a different TTY (with a shortcut like <kbd>Ctrl</kbd><kbd>Alt</kbd><kbd>F3</kbd>) and spawning a screen locker to niri's Wayland display, e.g. `WAYLAND_DISPLAY=wayland-1 swaylock`. | ||
| 120 | + | ||
| 121 | +Another way is to set `allow-when-locked=true` on your screen locker bind, then you can press it on the red screen to get a fresh screen locker. | ||
| 122 | +```kdl | ||
| 123 | +binds { | ||
| 124 | + Super+Alt+L allow-when-locked=true { spawn "swaylock"; } | ||
| 125 | +} | ||
| 126 | +``` | ||