wlr-randr command not found

In this troubleshooting guide we learn how to fix wlr-randr command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

wlr-randr: command not found

or when using sudo you get the following error message

sudo: wlr-randr: command not found

Solutions to wlr-randr: command not found

How To Fix wlr-randr: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu wlr-randr is provided by wlr-randr package.

wlr-randr is:

Command line interface which allows setting the size, scale, orientation of the output for a screen. This is the wayland equivalent to xrandr under X11. This utility requires the compositor to implement the wlr output management protocol. Currently, only wlroots based compositor support this protocol.

To fix this problem, we can install more using the command below.

sudo apt-get -y install wlr-randr

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install wlr-randr.

sudo apt -y install wlr-randr

Or if you have aptitude installed you can use the following command.

sudo aptitude install wlr-randr

Summary

In this tutorial we learn how to fix wlr-randr command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.