DistroNews

The week in Linux, gathered from the distributions' own feeds

Mageia Blog

Potions in Mageia. 07 – A lightweight, functional desktop perfect for computer with limited resources

blog.mageia.org

Image from the original story at blog.mageia.org.

Key points

The seventh "Potions in Mageia" article on the Mageia Blog describes setting up LXQt on a netbook with a 64-bit Intel Atom processor and 2 GB of RAM. After testing, the author found LXQt the best balance of features, customisation and resource use on that machine. The author notes that results vary with hardware and that this netbook is mostly used for local work, because modern browsers strain it.

Installation

  • LXQt can be picked as the desktop when installing from the Classic ISO, or from the ISO installation over a wired network.
  • On an existing system it can be added later from the software manager or from the terminal. The software manager's "Graphical Desktop" section lists all available desktops.
  • After a reboot the LXQt session is available.
  • Mageia ships each desktop with its upstream default configuration, a few added applications and the release's official wallpaper.

Configuration tweaks

  • In the LXQt Configuration Center, the "Appearance" section sets the widget style, LXQt theme and icon theme.
  • For a Plasma-like look, install the Breeze package, which adds a Breeze entry under "Qt Style".
  • "Gtk Style" can also be set to Breeze.
  • Under "Session settings" > "Basic settings", disabling "application launcher" keeps LXQt-runner (Alt+F2) from starting, which saves about 55 MB of RAM.
  • "Automatic Startup" sets which applications launch with the session.
  • "Advanced Environment" holds GTK_CSD, which decides whether LXQt or the application draws title bars. Setting it to 1 lets applications such as Firefox hide the title bar and merge it with the tab bar.
  • In the panel's right-click settings, under "Widgets", the classic cascading menu and the newer "Elegant Menu" are both available. The author kept the classic one as lighter and more compact.
  • The author's layout puts a top panel with essentials and a bottom panel for launching applications.

Switching the login manager to LightDM

  • LXQt on Mageia installs SDDM by default. LightDM is lighter and can be configured from the LXQt Configuration Center.
  • Install it from the software manager, or run this as root:
urpmi lightdm
  • Then make it the default in the Mageia Control Center under "Boot > Display Manager" and restart. The login screen then uses the theme set for LightDM.

Applications chosen after testing

  • Email:
  • Claws Mail is the lightest option.
  • Thunderbird is recommended despite using more resources. It adds calendar, tasks and synchronisation, plus basic IRC, XMPP and Matrix chat.
  • Web browser:
  • Falkon is the simplest and lightest.
  • Helium-Browser is the most complete. It is not in the official repositories but is available from community repositories and as an AppImage.
  • The browser remains the one application that strains the machine.
  • Office: LibreOffice, whose performance is adequate on this hardware.
  • Audio and video:
  • mpv performed best as the lightest player.
  • MKV playback is at the limit of the netbook's graphics, though a small file played smoothly.
  • Lighter formats suit the low-resolution screen.
  • Image viewer: Lximage-qt.
  • E-books: FbReader, preferred over Calibre and others for low resource use and configurable settings.

Summary by DistroNews, based on the original post.

Introduction

Mageia offers a wide variety of desktop environments ready to install in its Classic ISO. These are also available after the system is installed.

For example, if we have Plasma KDE installed, we can install any of the other desktop environments from the package manager, from the “Graphical Desktop” section by selecting any of them.

Currently, on a netbook with a 64-bit Intel Atom processor and 2 GB of RAM, the options are very limited due to the machine’s poor performance. This is where Linux and lightweight desktop environments come into their own, and after some testing, we found LXQt to offer the best balance of modernity, functionality, customization, and resource optimization.

This opinion is based on testing this computer, and you may have run other tests that, depending on your hardware, might yield different results. However, I’m sure that any option you choose when installing Mageia will perform well. Keep in mind that, given the computer’s limitations and the resource consumption of modern applications like web browsers, this computer’s use is primarily limited to local tasks, such as writing documents like the one I’m currently working on.

Facility

We won’t go into much detail in this section, we’ll just point out:

  • You can install it from the classic ISO by choosing the desktop environment in the indicated option.
  • You can install it from the ISO using a wired network by choosing the desktop environment in the indicated option.
  • You can install it later when you start the system from the software manager or from the terminal. Once installed, and after restarting the system, you can access the LXQt desktop, which should look like this:

Configuration

In Mageia, desktop environments are delivered with the default configuration of the environment itself, adding a few applications if necessary and the official background for each version. Personally, I like having the main panel at the top with the essentials and a bottom panel for launching applications, but customization depends on the user and what is most comfortable with their desktop setup.

Some of the configurations made:

  • In the “Appearance” section of the LXQt Configuration Center, we can configure the style of the controls, the LXQt theme, and the icon theme. In my case, I’ve chosen to configure the theme to resemble KDE Plasma with the Breeze icons and style. To do this, you need to install the “Breeze” package, which will provide the option of the same name in “Qt Style.”
  • In the “Gtk Style” section, I have also chosen for the applications to display the appearance as Breeze, but as before, this is left to the user’s discretion.
  • Within the “Session settings” section, we can configure:
    • In the “Basic settings” section, we can configure which LXQt modules we want to start with the system. In my case, since I almost always run applications from the main menu, I have disabled “application launcher,” which prevents “LXQt-runner” from starting. “LXQt-runner” is activated with the keyboard shortcut “Alt+F2” and consumes about 55 MB of RAM.
    • In the “Automatic Startup” section we can configure the applications that we want to start with the system.
    • “Advanced Environment” section. Here’s a very interesting option we can modify. The “GTK_CSD” value tells the system who draws the application title bar: the desktop itself (in this case, LXQt) or the applications themselves. It’s recommended to change it to “1” if you want, for example, Firefox to be able to hide the title bar from its settings and combine it with the tab bar,
  • If you right-click on the panel, you’ll access the panel settings, and in the “Widgets” section, you can choose between two versions of the application menu. For this device, I’ve decided to keep the classic menu with the cascading applications; it’s lighter and more compact than the new “Elegant Menu” from LXQt. You can add and configure more widgets from the panel settings as you wish.
  • Lightdm. This is the system login manager. LXQt in Mageia is installed with SDDM by default, but Lightdm is lighter and configurable from the LXQt Configuration Center. To install it, we use a search from the software manager or run the command “urpmi lightdm” from the terminal as root. Next, we’ll go to the Mageia Control Center and set it as the default under “Boot > Display Manager”. After that, we’ll restart the computer, and the login screen will have changed to the theme configured in LightDM.

Some lightweight applications

In this section, we’ll list some lightweight applications that we’ve selected after testing. Depending on your specific needs, they may or may not be the best fit for everyday use. Keep in mind that our goal is to provide the best possible desktop functionality with minimal resource consumption, but sometimes we’ve prioritized application functionality at the expense of slightly reduced resource usage.

  • Email. We have “Claws Mail” as our lightest application, but it lacks certain functionality that Thunderbird offers, such as calendar and task management and synchronization. Additionally, Thunderbird can be an all-in-one solution by integrating instant messaging protocols like IRC, XMPP, and even Matrix for basic chat.. Therefore, although Thunderbird is a bit more resource-intensive, it can be highly recommended for unifying several applications into one.
  • Web browser. Given the limited processing power of the device, many tests have been conducted on this type of application. While Falkon is the winner in terms of simplicity, ease of use, and lightweight design, the most complete option is Helium-Browser, which, although not in the official repositories, is available in community repositories and can be installed as an AppImage.
  • Office suites. There’s no room for debate here; if we want functionality, the winner is LibreOffice, which I’m using to write this right now on my netbook, and its performance is more than sufficient for the resources available to the computer.
  • Audio and video. Several applications were tested here as well; we found “mpv” to be the lightest audio and video player, performing best in both audio and video. It should be noted that the computer isn’t powerful enough graphically to play MKV files (although the file size is small, we were able to get it to play smoothly), but given the screen’s low resolution, we can find much lighter formats that it will play decently.
  • Image. As the lightest image viewer, we find Lximage-qt.
  • Reading. After conducting several tests with applications like Calibre, the clear winner in this category is FbReader. Lightweight, simple, and customizable through its settings. Everything you need to read digital books in almost any format with minimal resource consumption.

Some screenshots

We’re showing you some screenshots of the default LXQt desktop in Mageia and how it looks after configuration on this small machine. Except for the browser, which is a resource hog, the rest of the applications run smoothly enough to use this machine for basic tasks, multimedia, and much more.

By joselp, from Mageia Blog, reproduced under CC BY-SA 4.0. Formatting is simplified and images in the text are omitted.

Read the original at blog.mageia.org