In this guide, we will walk you through the process of installing i3-gaps on Ubuntu 22.04 Jammy Jellyfish. i3-gaps is an improved version of i3wm, a popular tiling window manager for Linux. It provides additional features not available in the original i3, such as gaps between windows, which can significantly improve the aesthetics of your desktop.
To install i3-gaps on Ubuntu 22.04 Jammy Jellyfish, you can either build it from source by cloning the i3-gaps repository from GitHub and following the installation steps, or you can use the Regolith PPA to install pre-built i3-gaps packages. Alternatively, you can wait for the next i3 release, which will include i3-gaps.
Before we begin, make sure that you have a working Ubuntu 22.04 installation. You should also have administrative access to your system, as the installation process will require the use of the
Method 1: Build from Source
The first step is to install the necessary dependencies. Open a terminal and run the following command:
sudo apt install meson asciidoc
sudo is used to run commands with administrative privileges.
apt is the package manager used by Ubuntu, and
install tells it to install the specified packages.
asciidoc are required to build i3-gaps from source.
Cloning the Repository
Next, we need to clone the i3-gaps repository from GitHub. First, create a temporary build directory and navigate to it:
Then, clone the repository:
git clone https://www.github.com/Airblader/i3 i3-gaps
git is a version control system, and
clone is used to copy a repository. The URL that follows is the location of the i3-gaps repository.
Building and Installing
Switch to the i3-gaps directory, update the repository, and build and install i3-gaps:
git checkout gaps && git pull
meson -Ddocs=true -Dmans=true ../build
meson compile -C ../build
sudo meson install -C ../build
checkout is used to switch to a different branch of the repository, in this case, the
pull updates the repository. The
meson commands are used to build and install i3-gaps.
Finally, log out and log back in to refresh the i3 configuration. Then, modify the i3 config file to enable gaps by adding the following lines:
gaps inner 5
gaps outer 5
These lines set the size of the inner and outer gaps, respectively.
Method 2: Use Regolith PPA
If you prefer not to build from source, you can use the Regolith PPA, which provides pre-built i3-gaps packages for Ubuntu.
Adding the PPA
First, add the Regolith PPA to your system:
sudo add-apt-repository ppa:regolith-linux/release
add-apt-repository is used to add a new PPA (Personal Package Archive) to your system. PPAs are repositories that provide additional packages for Ubuntu.
Next, update the package list and install i3-gaps:
sudo apt update
sudo apt install i3-gaps
update updates the package list, and
install i3-gaps installs the i3-gaps package.
Finally, log out and log back in to refresh the i3 configuration.
Method 3: Wait for the Next i3 Release
According to a Reddit post, i3-gaps has been integrated into i3 and will be available in the next version. If you prefer, you can wait for the next i3 release and install i3 directly from the official repositories.
We have covered two methods of installing i3-gaps on Ubuntu 22.04 Jammy Jellyfish: building from source and using the Regolith PPA. We have also discussed the possibility of waiting for the next i3 release, which will include i3-gaps. We hope this guide has been helpful in setting up i3-gaps on your system. Happy tiling!
i3-gaps is an improved version of i3wm, a tiling window manager for Linux. It provides additional features not available in the original i3, such as gaps between windows, which can significantly improve the aesthetics of your desktop.
There are three methods to install i3-gaps on Ubuntu 22.04 Jammy Jellyfish. You can either build it from source, use the Regolith PPA, or wait for the next i3 release where i3-gaps will be included. The guide provides detailed instructions for each method.
Before installing i3-gaps, make sure you have a working Ubuntu 22.04 installation and administrative access to your system. You will also need to install the
asciidoc packages, which can be done using the
sudo apt install meson asciidoc command.
After installing i3-gaps, you need to modify the i3 config file to enable gaps. Log out and log back in to refresh the configuration, then add the following lines to the i3 config file:
gaps inner 5
gaps outer 5
These lines set the size of the inner and outer gaps, respectively. You can adjust the values according to your preference.
As of now, i3-gaps is not available in the official Ubuntu repositories. However, you can use the Regolith PPA or build it from source using the instructions provided in the guide. Alternatively, you can wait for the next i3 release, as i3-gaps has been merged into i3 and will be included in the next version.