How to Install i3 Window Manager on Ubuntu

I3 is a tiling Windows manager specially designed for the Linux operating system. Tilling is how the desktop environment organizes Windows in a grid-like structure. The i3 is known for its efficient, minimalist, and highly configurable features in the tiling Windows manager.  

This blog will explain how to install the i3 Window Manager on Ubuntu so let’s start with the features of the i3 Window Manager. 

What are the Features of the i3 Window Manager?

The important features of the i3 Window Manager are:

  • Tiling Layout: Multiple Tiling layouts including the vertical and horizontal stacking tabbed layouts are supported by the i3 Window Manager. 
  • Keyboard-Driven: It allows its users to control the Window Manager with the help of keyboard shortcuts. 
  • Community Support: It has an active community that is ready to help the new users as well as the old ones. 
  • Customization: The i3 Window Manager consists of a text-based configuration file that can be customized with the help of the key bindings and appearance. 

What is the Method to Install i3 Window Manager on Ubuntu?

The i3 Window Manager can be installed on Ubuntu using one of the two methods:

  • Using the Default Ubuntu’s Repository
  • By adding its Repository

Method 1: Install i3 Window Manager Using the Ubuntu’s Default Repository

The recommended method of installing the i3 Window Manager on Ubuntu is from its default repository by the following steps.

Step 1: Upgrade All the Packages

First update all the packages and then upgrade them to ensure all the packages are up to date:

$ sudo apt update && sudo apt upgrade -y
Install i3 Window Manager on Ubuntu a

Step 2: Show the i3 Windows Manager Package

To show the available version of the i3 Window Manager package, run the command:

$ sudo apt show i3
Install i3 Window Manager on Ubuntu

Step 3: Install the i3 Window Manager on Ubuntu

To install the available package of the i3 Window Manager on Ubuntu, use the command:

$ sudo apt install i3 -y
Install i3 Window Manager on Ubuntu c

Step 4: Verify the Installation of i3

To verify the installation of the i3 Window Manager on Ubuntu, display the installed version:

$ i3 --version
Install i3 Window Manager on Ubuntu  c

How to Uninstall i3 Window Manager on Ubuntu?

To uninstall the i3 Window Manager on Ubuntu, execute the command:

$ sudo apt purge i3 -y
Install i3 Window Manager on Ubuntu d

Method 2: Install i3 Window Manager on Ubuntu by Adding the Repository

Another method of installing the i3 Window Manager by adding the repository with the following steps. 

Step 1: Add the Keyring

First, add the keyring of i3 Window Manager on Ubuntu using the command:

$ /usr/lib/apt/apt-helper download-file https://debian.sur5r.net/i3/pool/main/s/sur5r-keyring/sur5r-keyring_2023.02.18_all.deb keyring.deb SHA256:a511ac5f10cd811f8a4ca44d665f2fa1add7a9f09bef238cdfad8461f5239cc4
Install i3 Window Manager on Ubuntu e

Step 2: Install the Keyring

Next install the Debian package of the keyring:

$ sudo apt install ./keyring.deb
Install i3 Window Manager on Ubuntu f

Step 3: Add the Repository of i3

To add thei3 Window Manager repository, run the following command:

$ echo "deb http://debian.sur5r.net/i3/ $(grep '^DISTRIB_CODENAME=' /etc/lsb-release | cut -f2 -d=) universe" | sudo tee /etc/apt/sources.list.d/sur5r-i3.list
Install i3 Window Manager on Ubuntu g

Step 4: Update the Repository

Now update the default repository of Ubuntu using the command:

$ sudo apt update
Install i3 Window Manager on Ubuntu h

Step 5: Install i3 Window Manager on Ubuntu

Install the i3 Window Manager on Ubuntu with the command:

$ sudo apt install i3 -y
Install i3 Window Manager on Ubuntu i

Step 6: Display the Installed Version of i3

Display the installed version of the i3 Window Manager:

$ i3 --version
Install i3 Window Manager on Ubuntu j

How to Switch the i3 Window Manager on Ubuntu?

To switch the i3 Window Manager on Ubuntu, at the time of login, choose the “i3” by clicking the “gear icon”:

Install i3 Window Manager on Ubuntu k

How to Configure the i3 Window Manager on Ubuntu?

When the user login using the i3 Window Manager, a message will be prompted on the screen to suggest you either go with the default by pressing the ESC key or press the ENTER key to set the first configuration. 

Install i3 Window Manager on Ubuntu l

Press the ENTER key to generate the config file at the mentioned location. Then it will ask users to set a modifier either the “Win” key or the “Alt” key, choose the “Win” key:

Install i3 Window Manager on Ubuntu m

The basic configuration of the i3 Window Manager on Ubuntu. 

How to Use the i3 Window Manager on Ubuntu?

After the basic configuration of the i3 Window Manager, only a strip with different options can be seen at the bottom:

Install i3 Window Manager on Ubuntu n

Launch the Terminal

To launch the terminal, press the Win+ENTER key because we set “Win” as the modifier key:

Install i3 Window Manager on Ubuntu o

Search Application

For searching some other applications, use the “Win+d” keyboard keys combination:

Install i3 Window Manager on Ubuntu p

In the above output, it can be seen that the “file” has been searched and its related results are shown. 

Launch Multiple Applications

To run multiple applications on the same screen, use the combination of the Win+SPACE+SHIFT key:

Install i3 Window Manager on Ubuntu r

Use the Full-Screen Resolution

To use the full-screen resolution, press the keyboard shortcut of “Win+f”:

Install i3 Window Manager on Ubuntu s

Press the Win+f again, to undo the action. 

Closed the Application

To close the launched application, try the “Win+SHIFT+q” shortcut key:

Install i3 Window Manager on Ubuntu t

Restart the i3 Window Manager

To restart the i3 Window Manager repository, press Win+SHIFT+R. 

Exit the i3 Window Manager

To exit the i3 Window Manager, press the keys combination of “Win+SHIFT+E”:

Install i3 Window Manager on Ubuntu u

This is all about the installation and basic usage of the i3 Window Manager. 

Conclusion

Open the terminal and type “sudo apt install i3 -y” to install the i3 Window Manager on Ubuntu. Another method of installing the i3 Window Manager is by adding its repository. Both the specified installation methods for i3 Window Manager have been explained with their basic usage.