gnome-session-classic command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
gnome-session-classic: command not found
or when using sudo you get the following error message
sudo: gnome-session-classic: command not found
Solutions to gnome-session-classic: command not found
How To Fix gnome-session-classic: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu gnome-session-classic is provided by gnome-shell-extensions package.
gnome-shell-extensions is:
The GNOME Shell redefines user interactions with the GNOME desktop. In particular, it offers new paradigms for launching applications, accessing documents, and organizing open windows in GNOME. Later, it will introduce a new applets eco-system and offer new solutions for other desktop features, such as notifications and contacts management. The GNOME Shell is intended to replace functions handled by the GNOME Panel and by the window manager in previous versions of GNOME. The GNOME Shell has rich visual effects enabled by new graphical technologies.
GNOME Shell is extensible using extensions. This package contains official GNOME Shell extensions.
To fix this problem, we can install more using the command below.
sudo apt-get -y install gnome-shell-extensions
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install gnome-shell-extensions.
sudo apt -y install gnome-shell-extensions
Or if you have aptitude installed you can use the following command.
sudo aptitude install gnome-shell-extensions
Summary
In this tutorial we learn how to fix gnome-session-classic command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.