gnome-session-properties command not found

In this troubleshooting guide we learn how to fix gnome-session-properties command not found error message

Introduction

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

gnome-session-properties: command not found

or when using sudo you get the following error message

sudo: gnome-session-properties: command not found

Solutions to gnome-session-properties: command not found

How To Fix gnome-session-properties: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu gnome-session-properties is provided by gnome-startup-applications package.

gnome-startup-applications is:

The Startup Applications Preferences app allows configuring applications to run automatically when logging in to your desktop. This app complies with the FreeDesktop.org Desktop Application Autostart Specification so it will work even if your chosen desktop is not GNOME.

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

sudo apt-get -y install gnome-startup-applications

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

You can also use apt command to install gnome-startup-applications.

sudo apt -y install gnome-startup-applications

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

sudo aptitude install gnome-startup-applications

Summary

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