How to Install and Uninstall devilspie2 on Ubuntu 22.04

Updated: August 26, 2022

Devilspie2 is a window matching utility, allowing the user to perform scripted actions on windows as they are created. For example, you can script a terminal program to always be positioned at a specific screen position, or automatically position a window on a specific workspace. In this guide, I will show you how to install devilspie2 on Ubuntu 22.04.

Software Requirement

  • OS: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Verify that you can execute the sudo commands line.

Prerequisites to install devilspie2 on Ubuntu 22.04

Install devilspie2 Ubuntu 22.04

devilspie2 is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one you believe is simple and easy to follow.

Install devilspie2 using APT

This is a popular method for installing any Ubuntu packages because it is simple to understand, even if you are a Linux beginner. Following these instructions to get devilspie2 on your Ubuntu.

Step 1: Update the APT database to download new packages from Ubuntu. Opening the terminal and executing the following Linux command:

sudo apt update

Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install devilspie2 Ubuntu by executing this command in the terminal.

sudo apt-get -y install devilspie2

Install devilspie2 using Aptitude

Users can manage their installation, upgrade, and removal of packages with Aptitude and view a list of the packages that are currently available. If you haven’t already installed it on Ubuntu, run this command to do so.

sudo apt-get -y install aptitude

After installing it, you can now install devilspie2, just following these steps:

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Obtain new packages from Ubuntu by updating the APT database. Launch the terminal and enter the following Linux command:

sudo apt-get update

Step 2: Start the package installation on Ubuntu 22.04. You can now install devilspie2 Ubuntu by executing this command in the terminal.

sudo aptitude -y install devilspie2

Uninstall devilspie2 on Ubuntu 22.04

Have you ever thought about how difficult it is to uninstall an application from Ubuntu? You are mistaken; anyone can easily uninstall any program, not just a package.

You can uninstall devilspie2 Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove devilspie2

To uninstall devilspie2 and remove its data and dependencies, you can also use the following command:

sudo apt autoremove --purge devilspie2

Ending

In this tutorial, I showed you ways to install devilspie2 on Ubuntu 22.04 and ways to uninstall devilspie2 too. If you need any help, don’t hesitate to contact me. I’m very glad to answer them.