How To Install lxsession-edit on Debian 10

Learn how to install lxsession-edit on Debian 10 with this tutorial. lxsession-edit is configure what application start up automatically in LXDE

Introduction

In this tutorial we learn how to install lxsession-edit on Debian 10.

What is lxsession-edit

lxsession-edit is:

LXSession-Edit is a simple session editor GUI for autostarting applications which follows autostart specs from FreeDesktop.Org.

This package can be used without lxsession package as well.

There are three methods to install lxsession-edit on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install lxsession-edit Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install lxsession-edit using apt-get by running the following command:

sudo apt-get -y install lxsession-edit

Install lxsession-edit Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install lxsession-edit using apt by running the following command:

sudo apt -y install lxsession-edit

Install lxsession-edit Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install lxsession-edit using aptitude by running the following command:

sudo aptitude -y install lxsession-edit

How To Uninstall lxsession-edit on Debian 10

To uninstall only the lxsession-edit package we can use the following command:

sudo apt-get remove lxsession-edit

Uninstall lxsession-edit And Its Dependencies

To uninstall lxsession-edit and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove lxsession-edit

Remove lxsession-edit Configurations and Data

To remove lxsession-edit configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge lxsession-edit

Remove lxsession-edit configuration, data, and all of its dependencies

We can use the following command to remove lxsession-edit configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge lxsession-edit

Dependencies

lxsession-edit have the following dependencies:

References

Summary

In this tutorial we learn how to install lxsession-edit package on Debian 10 using different package management tools: apt, apt-get and aptitude.