| wl-mirror(1) | General Commands Manual | wl-mirror(1) |
نام (NAME)
wl-mirror - a simple Wayland output mirror client
خلاصه دستور (SYNOPSIS)
wl-mirror [-h,-V,-v,-c,-i,-f,-s S,-b B,-t T,-r R,-S] <output>
گزینهها (OPTIONS)
-h, --help
-V, --version
-v, --verbose --no-verbose
-c, --show-cursor --no-show-cursor
-i, --invert-colors --no-invert-colors
-f, --freeze --unfreeze --toggle-freeze
-F, --fullscreen
--no-fullscreen
--fullscreen-output O
--no-fullscreen-output
-s f, --scaling fit
-s c, --scaling cover
-s e, --scaling exact
-s l, --scaling linear
-s n, --scaling nearest
-b B, --backend B
-t T, --transform T
-r R, --region R
-S, --stream
--title T
BACKENDS
auto
The current fallback order is:
- extcopy-dmabuf (if compiled with libGBM)
- screencopy-dmabuf (if compiled with libGBM)
- export-dmabuf
- extcopy-shm
- screencopy-shm
export-dmabuf
screencopy-dmabuf
screencopy-shm
screencopy
extcopy-dmabuf
extcopy-shm
extcopy
TRANSFORMS
Transforms are specified as a dash-separated list of flips followed by a rotation amount. Flips are applied before rotations, both flips and rotations are optional. Custom transformations are applied after adjusting for the wayland output transform, so that if no custom transformations are applied, the mirrored surface is displayed right-side-up.
normal
flipX, flipY
0cw, 90cw, 180cw, 270cw
0ccw, 90ccw, 180ccw, 270ccw
The following transformation options are provided for compatibility with sway-output(5) transforms:
flipped
0, 90, 180, 270
REGIONS
Regions are specified in the format used by the slurp(1) utility:
In slurp(1) syntax, this would be specified as follows (the last part with %o is optional):
When processing the region option, the region is translated into output coordinates, so when the output moves, the captured region moves with it. When a region is specified, the output positional argument is optional.
STREAM MODE
In stream mode, wl-mirror interprets lines on stdin as additional command line options.
- Arguments can be quoted with single or double quotes, but every argument must be fully quoted.
- Unquoted arguments are split on whitespace.
- No escape sequences are implemented.
Option lines on stdin are processed asynchronously, and can override all options and the captured output. Stream mode is used by wl-present(1) to add interactive controls to wl-mirror.
TITLE PLACEHOLDERS
The title string supports the following placeholders:
- {width}, {height}: size of the mirrored area
- {x}, {y}: offsets on the screen
- {target_width}, {target_height}, {target_output}: info about the mirrored device
A few perhaps useful examples:
--title '{target_output}:{width}x{height}+{x}+{y}'
--title 'resize set {width} {height} move position {x} {y}'
نویسندگان (AUTHORS)
Maintained by Ferdinand Bachmann <ferdinand.bachmann@yrlf.at>. More information on wl-mirror can be found at https://github.com/Ferdi265/wl-mirror.
همچنین ببینید (SEE ALSO)
| 2026-02-10 |