WLR-RANDR(1)
β¨ wlr-randr β the glow-up your screens deserve β¨
okay so bestie, the manual page name is wlr-randr(1) and it lives in section 1 of the General Commands Manual, and it is literally the tool you use to manage the outputs of a Wayland compositor. that's the whole vibe. π
πΈ NAME πΈ
wlr-randr β a utility to manage outputs of a Wayland compositor π«Ά
π SYNOPSIS π
wlr-randr [options...]
π¦ DESCRIPTION π¦
so it's a command line interface, right, and what it does is let you set the size, the scale, and the orientation of the output for a screen. iconic. that's it, that's the job. π
but here's the catch, and it's giving plot twist: this utility requires the compositor to implement the wlr-output-management protocol. no protocol, no slay. that's non-negotiable, i don't make the rules. π
β¨ OPTIONS β¨
--helpβ shows the help message. the "wait what does this do again" button. π--dryrunβ performs all the actions you specified, except that no changes are applied. it's the dress rehearsal bestie, nothing actually happens on your screen. π--jsonβ prints the current state as JSON. for the girlies who like their data structured and their vibes immaculate. π--output <name>β selects an output to reconfigure. this option must be set when making changes to the output using the options below. lowkey mandatory for any actual reconfiguring, iykyk. π―--onβ enables the selected output. wake up queen. β--offβ disables the selected output. she's resting. π--mode|--custom-mode <width>x<height>[@<refresh>Hz]β sets the output resolution, and optionally the refresh rate. put that@andHzin there only if you want to be specific about the refresh, bestie. π₯οΈ--pos <x>,<y>β positions the output using absolute layout coordinates. yes, comma between them, don't come for me. π--left-of,--right-of,--above,--below <another-output>β positions the output relative to an existing output. and here's the tea: absolute positioning via--posoverwrites a previously established relative position, and vice versa. whichever positioning option you pass last on the command-line takes precedence. periodt. π«Ά--transform normal|90|180|270|flipped|flipped-90|flipped-180|flipped-270β transforms the output by rotating it following the value you provided. all those exact values, no improvising. π--scale <factor>β scales the specified output by the specified scale factor. an integer is recommended, but fractional values are also supported. β οΈ but if you go fractional, be warned: it's not possible to faithfully represent the contents of your windows β they will be rendered at the next highest integer scale factor and then downscaled. so like, it works, but it's not giving pixel-perfect, and you should know that going in. π
π SEE ALSO π
xrandr(1)β the cousin. different era, same energy.
π AUTHORS π
maintained by Simon Ser <contact@emersion.fr> π
for more information about wlr-randr development, see <https://gitlab.freedesktop.org/emersion/wlr-randr>.
ngl bestie, always do a --dryrun first. your future self will thank you. π«Ά
and that's the whole page, mwah π β dated 2025-03-19, from the wlr-randr(1) manual, General Commands Manual. go forth and configure those outputs, you absolute icon. π§π
π¦ where this page comes from
- alpine 3.24: wlr-randr-doc 0.5.0-r1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms