← 返回命令列表

Linux command

unclutter 命令

文本

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

常用示例

Hide cursor after idle

unclutter

Custom timeout

unclutter -idle [3]

Ignore window

unclutter -not [window-name]

Run in background

unclutter -b

Don't touch root window

unclutter -noevents

说明

unclutter automatically hides the mouse cursor on X11 desktops after a configurable period of inactivity. When the user moves the mouse, the cursor immediately reappears, making the hiding completely transparent during normal use. The tool is particularly useful for presentations, kiosk displays, and keyboard-focused workflows where a stationary mouse pointer is a visual distraction. It can run as a background daemon and supports excluding specific windows from cursor hiding, allowing the cursor to remain visible in applications that need it. Two main implementations exist: the original X11 version and unclutter-xfixes, which uses the XFixes extension for a more modern approach. Both serve the same purpose but differ in implementation details and compatibility with compositing window managers.

参数

-idle _SEC_
Seconds before hide.
-b
Background daemon.
-not _NAME_
Ignore window.
-noevents
No root events.
-display _DPY_
X display.

FAQ

What is the unclutter command used for?

unclutter automatically hides the mouse cursor on X11 desktops after a configurable period of inactivity. When the user moves the mouse, the cursor immediately reappears, making the hiding completely transparent during normal use. The tool is particularly useful for presentations, kiosk displays, and keyboard-focused workflows where a stationary mouse pointer is a visual distraction. It can run as a background daemon and supports excluding specific windows from cursor hiding, allowing the cursor to remain visible in applications that need it. Two main implementations exist: the original X11 version and unclutter-xfixes, which uses the XFixes extension for a more modern approach. Both serve the same purpose but differ in implementation details and compatibility with compositing window managers.

How do I run a basic unclutter example?

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

What does -idle _SEC_ do in unclutter?

Seconds before hide.