LinuxCommandLibrary

wf-recorder

Screen recording for Wayland compositors

TLDR

Record to MP4 file

$ wf-recorder -f [output.mp4]
copy
Record with audio
$ wf-recorder -a -f [path/to/file_with_audio.webm]
copy
Record region with slurp
$ wf-recorder -g "$(slurp)"
copy

SYNOPSIS

wf-recorder [OPTIONS]

DESCRIPTION

wf-recorder is a screen recording tool for Wayland compositors. It captures the screen to video files with optional audio, supporting various output formats and codecs.
Stop recording with Ctrl+C. Region selection can be done interactively with slurp.

PARAMETERS

-f, --file PATH

Output file path
-a, --audio
Include audio in recording
-g, --geometry WxH+X+Y
Record specified region
-c CODEC
Video codec to use
-C CODEC
Audio codec to use

CAVEATS

Wayland only. Audio recording requires PipeWire or PulseAudio. Some compositors may require specific configuration for screen capture.

SEE ALSO

slurp(1), grim(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community