LinuxCommandLibrary

xtrlock

Transparent X display screen locker

TLDR

Lock display

$ xtrlock
copy
Lock with blank screen
$ xtrlock -b
copy
Lock and fork to background
$ xtrlock -f
copy

SYNOPSIS

xtrlock [OPTIONS]

DESCRIPTION

xtrlock locks the X display until the user supplies their password. While locked, the cursor changes to a padlock icon and keyboard input is captured for authentication.
The lock is transparent, showing the desktop but preventing interaction.

PARAMETERS

-b

Blank the screen in addition to locking
-f
Fork to background and return immediately

CAVEATS

X11 only. Does not blank screen by default. Requires proper PAM configuration for authentication.

SEE ALSO

xlock(1), i3lock(1), vlock(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community