lxrandr command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
lxrandr: command not found
or when using sudo you get the following error message
sudo: lxrandr: command not found
Solutions to lxrandr: command not found
How To Fix lxrandr: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu lxrandr is provided by lxrandr package.
lxrandr is:
LXRandR is a GUI application for the Lightweight X11 Desktop Environment (LXDE).
This is a very basic monitor config tool utilizing the X extension called RandR. It can let you change the screen resolution on the fly. Besides, when you run lxrandr with external monitor connected, its GUI will change, and show you some quick options to get your projector or external monitor working correctly.
This tool doesn’t aim to be a full randr frontend. If you need the full power of RandR, get xrandr (console) or grandr (GUI) and read some tutorials.
LXRandR only gives you some easy and quick options which are intuitive. It’s very suitable for laptop users who frequently uses projectors or external monitor and just want to get their work done without reading a lot of “geek-centered” manuals or command line tutorials.
To fix this problem, we can install more using the command below.
sudo apt-get -y install lxrandr
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install lxrandr.
sudo apt -y install lxrandr
Or if you have aptitude installed you can use the following command.
sudo aptitude install lxrandr
Summary
In this tutorial we learn how to fix lxrandr command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.