lxpanelctl command not found

In this troubleshooting guide we learn how to fix lxpanelctl command not found error message

Introduction

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

lxpanelctl: command not found

or when using sudo you get the following error message

sudo: lxpanelctl: command not found

Solutions to lxpanelctl: command not found

How To Fix lxpanelctl: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu lxpanelctl is provided by lxpanel package.

lxpanel is:

LXPanel is a GUI application for the Lightweight X11 Desktop Environment (LXDE).

It is derived from fbpanel and includes the following features:

  • User-friendly application menu automatically generated from .desktop files on the system
  • Launcher bar (small icons clicked to launch apps)
  • Task bar supporting ICCCM/EWMH `urgency’ hint (Pidgin IM windows can flash on new incoming messages)
  • Run dialog (type a command to run, without opening a terminal)
  • Net status icon plug-in (optional).
  • Volume control plug-in (optional).
  • Notification area (system tray).
  • Digital clock.
  • Keyboard LEDs plug-in (display caps/num locks).
  • lxpanelctl: control lxpanel from other programs. For example, “lxpanelctl run” will show the Run dialog in lxpanel, and “lxpanelctl menu” will show the application menu. This is useful in combination with window manager key bindings.

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

sudo apt-get -y install lxpanel

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

You can also use apt command to install lxpanel.

sudo apt -y install lxpanel

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

sudo aptitude install lxpanel

Summary

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