← 返回命令列表

Linux command

screenkey 命令

文本

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

常用示例

Example

screenkey

Example

screenkey -M

Example

screenkey --show-settings

Example

screenkey -p bottom

Example

screenkey --mods-mode emacs

Example

screenkey --bg-color "#000000" -f "Monospace" --font-color yellow --opacity 0.8

Example

screenkey -p fixed -g 400x100+100+100

说明

screenkey is a screencast tool that displays pressed keys as an overlay on screen, making keyboard input visible to viewers during screencasts, tutorials, and live demonstrations. It captures all keystrokes system-wide and renders them in a customizable floating window. The display supports multiple modifier key formats (Emacs, Mac, Windows style), configurable positioning, custom fonts and colors, and adjustable opacity. Mouse button clicks can also be shown alongside keyboard input. The overlay window can be placed at fixed screen positions or use custom geometry. A settings GUI is available via --show-settings for interactive configuration. The tool integrates with X11 and runs as a background process, showing keys as they are pressed and fading them after a configurable timeout.

参数

-M, --mouse
Display mouse button clicks
--show-settings
Launch the settings menu
-p, --position POSITION
Set display position (top, center, bottom, fixed)
-g, --geometry GEOMETRY
Set window geometry (for fixed position)
--mods-mode MODE
Set modifier key display format (normal, emacs, mac, win, tux)
--bg-color COLOR
Set background color (hex format)
-f, --font FONT
Set display font
--font-color COLOR
Set font color
--opacity VALUE
Set window opacity (0.0 to 1.0)
-t, --timeout SECONDS
Time to display each key
--key-mode MODE
Set key display mode (composed, translated, raw, keysyms)
--no-systray
Do not show system tray icon
-d, --debug
Enable debug output

FAQ

What is the screenkey command used for?

screenkey is a screencast tool that displays pressed keys as an overlay on screen, making keyboard input visible to viewers during screencasts, tutorials, and live demonstrations. It captures all keystrokes system-wide and renders them in a customizable floating window. The display supports multiple modifier key formats (Emacs, Mac, Windows style), configurable positioning, custom fonts and colors, and adjustable opacity. Mouse button clicks can also be shown alongside keyboard input. The overlay window can be placed at fixed screen positions or use custom geometry. A settings GUI is available via --show-settings for interactive configuration. The tool integrates with X11 and runs as a background process, showing keys as they are pressed and fading them after a configurable timeout.

How do I run a basic screenkey example?

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

What does -M, --mouse do in screenkey?

Display mouse button clicks