gtklock(1)
π¦ gtklock(1) β General Commands Manual, group-chat edition π¦
π NAME π
okay so bestie, gtklock is literally the GTK-based lockscreen for Wayland. that's the whole vibe. π
β¨ SYNOPSIS β¨
gtklock [options...]
π OPTIONS π
here's the command-line menu, no cap:
-h,--helpβ show help options.--help-configβ show options available in the config. see CONFIGURATION.-d,--daemonizeβ detach from controlling terminal.-c,--config <path>β specify the config file to use. by default, these paths are checked in this order:$XDG_CONFIG_HOME/gtklock/config.iniandgtklock/config.iniunder each directory in$XDG_CONFIG_DIRS.-p,--previewβ enable preview mode where any password can unlock.
yes bestie, preview mode is literally "any password can unlock" β that's what the page says, so use it with intention. π
πΈ CONFIGURATION πΈ
Configuration is stored in glib key file format. Options are specified as name=value and can be used from the command-line as --name=value. All options should be under the main group.
All available options are:
-g,--gtk-theme <string>β set the GTK theme.-s,--style <path>β load CSS style file.-x,--layout <path>β load XML layout file.-m,--modules <name>β load gtklock modules. module name can be an absolute path, relative path (starting with./or../) or name in system directory (such asexample-module.sofor/usr/lib/gtklock/example-module.so). the.sosuffix can be omitted.-b,--background <path>β load background. specified background can be overwritten by CSS.-t,--time-format <string>β set time format. seedate(1).-d,--date-format <string>β set date format. seedate(1).-f,--follow-focusβ follow focus between monitors. may not work for all compositors, recommended for hyprland.-H,--idle-hideβ hide input form when idle.-T,--idle-timeout <int>β idle timeout in seconds.-S,--start-hiddenβ start with input form hidden.-L,--lock-commandβ command to execute after locking. command is executed asynchronously.-U,--unlock-commandβ command to execute after unlocking. command is executed asynchronously.-I,--idle-commandβ command to execute after idle timeout. command is executed asynchronously.-M,--monitor-priority <name>β set monitor focus priority. option can be specified multiple times.
π EXAMPLE π
Example config:
[main]
gtk-theme=Adwaita-dark
Example style:
window {
background-image: url("background.png");
background-size: cover;
background-repeat: no-repeat;
background-position: center;
background-color: black;
}
π₯ SIGNALS π₯
SIGUSR1β unlock the screen and exit.
π AUTHORS π
Maintained by Jovan Lanik jox969@gmail.com, who is assisted by other contributors. for more information about gtklock development, see https://github.com/jovanlanik/gtklock.
and that's the page, bestie π β this was gtklock(1), dated 2026-10-28. mwah π stay cute and stay locked π«Ά
π¦ where this page comes from
- arch rolling: gtklock 5.0.0-1 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms