LXQt
|
LXQt running on samsung-serranove | |
| Name | LXQt |
|---|---|
| Graphics stack | Openbox on X11 |
| Toolkit | Qt 6 |
| In postmarketOS | |
| Package |
|
| Status | Available |
| systemd | y |
| OpenRC | y |
LXQt is a lightweight and simple desktop environment based on Qt.
Within Nura it's aiming for tablet devices. However, the implementation for touch devices is at a rather early stage, not yet fully mature.
Installation
pmbootstrap initUser interface: lxqt
Configs
In Nura edge, the default configuration files are stored in /etc/xdg/lxqt-tablet and the local ones at ~/.config. In case you want to reset your configs:
sudo rc-service tinydm stop- logout
- via ssh:
rm -r ~/.config/lxqtrm -r ~/.config/pcmanfm-qtsudo rc-service tinydm start
For screen lock xfce4-screensaver is used as a temporary solution because it offers virtual keyboard support. To change the background picture of the lock screen:
cp /etc/xdg/lxqt-tablet/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml ~/.config/xfce4/xfconf/xfce-perchannel-xml/.vi ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml- change the line
name="image-path"
- change the line
To change the virtual "onboard" keyboard layout in the lock screen to e.g. "Small" for medium-sized screens, go to Menu -> Preferences -> Xfce Screensaver -> tab "Lock Screen" -> field "On screen keyboard command" and exchange layout parameter "Phone" by "Small".
Window button size
Openbox themes with larger window buttons have been implemented (pmaports!6068).
Things to work on
On touchscreen devices, right-clicking doesn't work using the "onboard" keyboard click options (long press on return key and selection mouse cursor icon to show them at the right hand side). There is currently no other method for right-clicking implemented or tested on Nura LXQt. It would be quite important because right-clicking the panel would call a context menu leading to a panel config window. The issue is tracked in pmaports #2450. A possible candidate could be the application "evdev-right-click-emulation", which was proposed as a new aport to Alpine Linux !62748.
The current setup of postmarketos-ui-lxqt contains several GTK applications. Going to Qt stack application would be a goal. Candidates to work on are "xfce4-screensaver" (replacing by "kscreenlocker"), "network-manager-applet" (replacing by "nm-tray", available in Alpine testing only), "onboard" (replacing by "corekeyboard" or "qt5-qtvirtualkeyboard"). Though, these packages cannot be simply replaced, additional work for better integration of the new applications would be needed.
There are ideas about a mobile version of LXQt: pmaports#2406.
GitLab
Default configs of LXQt desktop environment are managed in the repository antoni.aloytorrens/lxqt-tablet.
They go into the package postmarketos-ui-lxqt.
Using a Wayland compositor
LXQt has early support for Wayland compositors, useful when Wayland works well on the device, allowing for less CPU overhead in the window compositing stack.
The compositor can be chosen in "Session Settings" under "Wayland Settings". The supported stacking compositors are labwc, Wayfire and kwin_wayland, while the tiling ones are Hyprland, Niri, River and Sway.
| At the moment, shortcut configuration is done using the compositor's own configuration. |
Another benefit of using a Wayland compositor is fractional scaling, which in wlroots based compositors (like labwc, River and Sway) can be done with kanshi or wlr-randr.