xfce4-session-settings command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
xfce4-session-settings: command not found
or when using sudo you get the following error message
sudo: xfce4-session-settings: command not found
Solutions to xfce4-session-settings: command not found
How To Fix xfce4-session-settings: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu xfce4-session-settings is provided by xfce4-session package.
xfce4-session is:
xfce4-session is an X11-compliant “session manager” designed for use with the Xfce4 Desktop Environment. On log out, the session manager saves the state of all your running applications. When you log back in, the session manager restores the same applications with the same window positions.
To fix this problem, we can install more using the command below.
sudo apt-get -y install xfce4-session
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install xfce4-session.
sudo apt -y install xfce4-session
Or if you have aptitude installed you can use the following command.
sudo aptitude install xfce4-session
Summary
In this tutorial we learn how to fix xfce4-session-settings command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.