Skip to content

LXQt Panel#

Settings are accessible by right clicking on free space on the panel or its plugins (except window buttons in task manager) and can be blocked completely checking the last item to prevent accidental changes or removals of plugins.

Plugins can be configured either by right clicking or by Panel Settings → Plugin → icon "..."

Right click the panel's "Main Menu" or "Fancy Menu" widget and choose Configure → Menu File. The following files belong to LXQt: * lxqt-applications-fm.menu: Used by PCManFM-Qt in menu://Applications; not quite relevant to lxqt-panel. * lxqt-config.menu: used by "Configuration Center"; not relevant to lxqt-panel. * lxqt-applications.menu: The default menu. * lxqt-applications-compact.menu Can be used in both Mainmenu and Fancymenu, in Mainmenu it will generate a two-level layout.

[!Note] lxqt-applications-compact.menu does not display a probable "Wine" category because ~/.config/menus/applications-merged does not match "compact". Renaming it to "compact-merged" will fix that.

LXQt 2.3 and later: * lxqt-panel-applications.menu Default menu for Fancymenu.

Add, modify or hide Menu Entries#

  • For adding a new menu entry, the directory ~/.local/share/applications/ can be opened in PCManFM-Qt and a new desktop entry can be created in it by using Tools → Create Launcher.
  • For modifying an existing menu entry, the application's .desktop file can be copied from /usr/share/applications/ to ~/.local/share/applications/ and then edited. Changes will not be lost with updates.
  • For hiding an existing menu entry, the application's .desktop file can be copied from /usr/share/applications/ to ~/.local/share/applications/ and then edited by adding the line NoDisplay=true. Changes will not be lost with updates.

See also lxqt-project.org/blog/2022/06/18/menu-editing-in-lxqt/.

Panel Profiles#

By installing lxqt-panel-profiles different panel configurations can be backuped and restored.

Custom Command Widget#

A powerful and versatile plugin which can show outputs from commands as text or image and launch applications.

Some examples:

Used partition space in /dev/sda1#

harddisk: percentage-free

df -h|grep sda1|awk {'print $5'}
On left click: "filelight" or similar tools

Temperature of devices#

41 °C

acpi -t |awk {'print $4'}|sed 's/.0$//' 
cat /sys/class/thermal/thermal_zone0/temp |cut -c1,2
Text: %1°C Icon: "temperature-normal" On left click: "Qps"

Battery percentage#

battery: percentage

 upower -b |grep percentage|awk {'print $2'}

Battery remaining time#

battery: time left

upower -i /org/freedesktop/UPower/devices/battery_BAT0|grep time|awk {'print $4,$5'}

Icon: "battery"
<img width="94" height="45" alt="battery: percentage" src="https://github.com/user-attachments/assets/c6b76c62-7eea-4ac9-a1d4-ecc3e1811b17" />

Free memory percentage#

memory-free

 free -mh | grep Mem | awk '{print $4}'

Network speed#

immagine

ifstat | grep enp2s0f3u2u4 | awk '{print "⬇ "$2" KB/s ⬆ "$3" KB/s"}'
(see https://github.com/lxqt/lxqt/discussions/2600)

Bandwidth/month#

immagine

vnstat -m|grep estim|awk '{print $8 $9}

Plugin Keyboard-Indicator#

It is possible to show country flags instead of the ISO code for the keyboard layout installing iso-flags-svg or iso-flags-png if provided by the distribution in use. An independent set can be found here. The path to the folder containing the flags has to be configured manually, example /usr/share/iso-flags-svg/country-4x3/%1.svg.