← 返回命令列表

Linux command

xtrlock 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Lock

xtrlock

Example

xtrlock -b

Example

xtrlock -f

说明

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.

参数

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

FAQ

What is the xtrlock command used for?

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.

How do I run a basic xtrlock example?

Run `xtrlock` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -b do in xtrlock?

Blank the screen in addition to locking