lxhotkey command not found

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

Introduction

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

lxhotkey: command not found

or when using sudo you get the following error message

sudo: lxhotkey: command not found

Solutions to lxhotkey: command not found

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

In Ubuntu lxhotkey is provided by lxhotkey-core package.

lxhotkey-core is:

LXHotkey is an universal application for the Lightweight X11 Desktop Environment (LXDE) which allows view and change global keyboard shortcuts for Window Manager actions, including ones to start applications.

This package contains no plugins so the most probably will do nothing useful unless you also install a plugin supporting the Window Manager you are using and probably some GUI plugin.

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

sudo apt-get -y install lxhotkey-core

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

You can also use apt command to install lxhotkey-core.

sudo apt -y install lxhotkey-core

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

sudo aptitude install lxhotkey-core

Summary

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