openbox-lxde command not found

In this troubleshooting guide we learn how to fix openbox-lxde command not found error message

Introduction

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

openbox-lxde: command not found

or when using sudo you get the following error message

sudo: openbox-lxde: command not found

Solutions to openbox-lxde: command not found

How To Fix openbox-lxde: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu openbox-lxde is provided by openbox-lxde-session package.

openbox-lxde-session is:

LXDE (the Lightweight X11 Desktop Environment) is a project aimed to provide a desktop environment which is lightweight and fast.

It’s not designed to be powerful and bloated, but to be usable and slim enough, and keep the resource usage low. Different from other desktop environments, LXDE doesn’t tightly integrate every component. Instead, LXDE tries to make all components independent, and each of them can be used independently with fewer dependencies.

Features:

  • Lightweight, runs with reasonable memory usage
  • Fast, runs well even on older machines produced in 1999
  • Good-looking, GTK+ 2 internationalized user interface
  • Easy-to-use, the user interface is simple, but usable enough
  • Desktop independent (surprise! Every component can be used without LXDE)
  • Standard compliant, follows the specs on freedesktop.org

This package depends on minimal set of components (lxsession, openbox, and lxde-screenlock.desktop file), and contains all the session-specific configuration files required to start a LXDE desktop session from a display manager such as GDM.

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

sudo apt-get -y install openbox-lxde-session

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

You can also use apt command to install openbox-lxde-session.

sudo apt -y install openbox-lxde-session

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

sudo aptitude install openbox-lxde-session

Summary

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