Home Alpine Linux How to Install LXQt Desktop on Alpine Linux

How to Install LXQt Desktop on Alpine Linux

Based on Qt, LXQt is an open-source and minimalistic desktop environment for all major Linux and BSD systems. LXQt is an implementation of Razor-Qt, a discontinued desktop environment, and LXDE. the latter is based on GTK while the former was based on Qt.

LXQt is a lightweight desktop environment popular for its low resource utilization and is, hence, recommended for old PCs or systems with low computing specifications. In fact, LxQt is said to only use up to 95 MB of RAM while Openbox, its default window manager, uses only 78 MB of RAM.

In this guide, you will learn how to install the LXQt desktop environment on Alpine Linux.

Installing LXQt in Alpine Linux

Before anything else, log in to your Alpine Linux instance and update the local package index using the following apk command as shown.

$ apk update

Next, install Xorg, or simply X, is a fully-featured and popular display server for Linux / UNIX systems that run on Intel x86 systems. It is massively adopted in most Linux distributions as the Display server of choice.

To install Xorg, run the setup-xorg-base installation script as shown

$ setup-xorg-base

This installs a host of packages for the Display server as shown in the output below.

Install Xorg in Alpine Linux
Install Xorg in Alpine Linux

With the Xorg display server in place, install the LXQt desktop environment and associated LXQt packages including Openbox windows manager which is the default windows manager for LXQt desktop manager.

$ apk add lxqt-desktop lxqt-core lxqt-panel lxqt-admin lxqt-config lxqt-notificationd lxqt-powermanagement lxqt-themes openbox
Install LXQT in Alpine Linux
Install LXQT in Alpine Linux

Even though LXQt uses Openbox as the default Window manager, it also supports other Window managers such as KWin, a windows manager for the KDE Plasma Desktop, and Xfwm4 which is a window manager for the Xfce environment.

Once the installation is complete, add the regular user to the input and video groups as shown.

# addgroup tecmint input
# addgroup tecmint video

Finally, to launch LXQt, run the startx command as shown.

# startx 

The login screen will appear as shown. Provide the username and password for the user and hit ENTER.

Start LXQT in Alpine Linux
Start LXQT in Alpine Linux

Once logged in, you will be prompted to select the default Window manager. Feel free to pick your preferred option and click ‘Ok’.

LXQT Window Manager
LXQT Window Manager

Due to the minimalistic nature of the LXQt desktop environment, a lot of the graphical features are stripped down. Only the very essential menu options are provided.

LXQT Desktop
LXQT Desktop

LXQt is an excellent desktop environment of choice for old systems or systems will low computational specifications. However, despite its lightweight nature, it lacks the polish and modern look compared to other desktop environments such as GNOME and KDE. It’s quite minimalistic and stripped down.

And there you have it. We have successfully installed LXQt GUI on Alpine Linux! Your comments and suggestions are welcome.

Ravi Saive
I am an Experienced GNU/Linux expert and a full-stack software developer with over a decade in the field of Linux and Open Source technologies. Founder of TecMint.com, LinuxShellTips.com, and Fossmint.com. Over 150+ million people visited my websites.

Each tutorial at UbuntuMint is created by a team of experienced writers so that it meets our high-quality standards.

Was this article helpful? Please add a comment to show your appreciation and support.

1 thought on “How to Install LXQt Desktop on Alpine Linux”

  1. The login screen does not appear when I write startx.

    Only appear a black screen with the mouse pointer. If I right-click on the mouse, a menu appears. It means that Openbox is working, but I don’t know why the lxde does not start.

    Reply

Got something to say? Join the discussion.

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published or shared. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.