← 返回命令列表

Linux command

caffeine 命令

文本

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

常用示例

Example

caffeine

Example

caffeine -h

Example

caffeine -V

说明

caffeine prevents the desktop from becoming idle when running full-screen applications. It monitors for full-screen windows and automatically inhibits screensavers and suspend during that time. Unlike manual inhibition, caffeine works automatically based on window state.

参数

-h, --help
Display help information
-V, --version
Display version information

FAQ

What is the caffeine command used for?

caffeine prevents the desktop from becoming idle when running full-screen applications. It monitors for full-screen windows and automatically inhibits screensavers and suspend during that time. Unlike manual inhibition, caffeine works automatically based on window state.

How do I run a basic caffeine example?

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

What does -h, --help do in caffeine?

Display help information