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 @ and Hz in 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 --pos overwrites 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