Linux command
betterlockscreen 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Lock
betterlockscreen -l
Example
betterlockscreen -u path/to/image.png
Example
betterlockscreen -l pixel --text "Custom text"
Example
betterlockscreen --off 5 -l
说明
betterlockscreen is a lock screen wrapper for i3lock-color that provides visually appealing lock screens with customizable background effects. It supports dim, blur, dimblur, and pixel effects applied to a wallpaper image. Before locking, the background image must be cached using the -u flag, which generates processed versions with each effect. This makes subsequent locks instant since the effects are pre-computed. The tool can also set the desktop wallpaper using the same cached images.
参数
- -l, --lock _effect_
- Lock the screen (effects: dim, blur, dimblur, pixel)
- -u, --update _image_
- Cache the lock screen background image, pre-generating all effect variants
- -t, --text _text_
- Display custom text on the lock screen
- --off _seconds_
- Turn off monitor after specified seconds when locked
- -w, --wall _effect_
- Set desktop wallpaper using the cached image
- --display _n_
- Set the display number to draw the login box on (for multi-monitor setups)
- --span
- Scale the image to span across multiple displays
FAQ
What is the betterlockscreen command used for?
betterlockscreen is a lock screen wrapper for i3lock-color that provides visually appealing lock screens with customizable background effects. It supports dim, blur, dimblur, and pixel effects applied to a wallpaper image. Before locking, the background image must be cached using the -u flag, which generates processed versions with each effect. This makes subsequent locks instant since the effects are pre-computed. The tool can also set the desktop wallpaper using the same cached images.
How do I run a basic betterlockscreen example?
Run `betterlockscreen -l` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -l, --lock _effect_ do in betterlockscreen?
Lock the screen (effects: dim, blur, dimblur, pixel)