How To Install lavalauncher on Fedora 34

lavalauncher is lavalauncher is a simple launcher for Wayland

Introduction

In this tutorial we learn how to install lavalauncher on Fedora 34.

What is lavalauncher

LavaLauncher is a simple launcher for Wayland. It displays a dynamically sized bar with user defined buttons. Buttons consist of an image, which is displayed as the button icon on the bar, and at least one shell command, which is executed when the user activates the button. Buttons can be activated with pointer and touch events. A single LavaLauncher instance can provide multiple such bars, across multiple outputs. The Wayland compositor must implement the Layer-Shell and XDG-Output for LavaLauncher to work. Beware design to LavaLauncher, which are often called “docks”, LavaLauncher does not care about .desktop files or icon themes nor does it keep track running applications. Instead, LavaLaunchers approach of manually defined buttons is considerably more flexible buttons not just for launching applications, but for practically anything you could do in your shell, like for ejecting your optical drive, rotating your screen, sending your cat an email, playing a funny sound, muting all audio, toggling your lamps and a lot more. Be creative! LavaLauncher is opinionated, yet remains configurable. The configuration syntax is documented in the man page. LavaLauncher has been successfully tested on sway, wayfire (Wayfire currently does not respect subsurfaces ordering used by LavaLauncher), river and hikari.

We can use yum or dnf to install lavalauncher on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install lavalauncher.

Install lavalauncher on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install lavalauncher using dnf by running the following command:

sudo dnf -y install lavalauncher

Install lavalauncher on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install lavalauncher using yum by running the following command:

sudo yum -y install lavalauncher

How To Uninstall lavalauncher on Fedora 34

To uninstall only the lavalauncher package we can use the following command:

sudo dnf remove lavalauncher

lavalauncher Package Contents on Fedora 34

/usr/bin/lavalauncher
/usr/lib/.build-id
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/941fce3388b9fb2fcbf6eb44c3372862222a40
/usr/share/doc/lavalauncher
/usr/share/doc/lavalauncher/README.md
/usr/share/licenses/lavalauncher
/usr/share/licenses/lavalauncher/LICENSE
/usr/share/man/man1/lavalauncher.1.gz

References

Summary

In this tutorial we learn how to install lavalauncher on Fedora 34 using yum and dnf.