SpiralLinux / SpiralLinux-project

SpiralLinux project
https://spirallinux.github.io/
150 stars 5 forks source link

LXQt edition theming issues with Qt Flatpak apps #5

Closed geckolinux closed 1 year ago

geckolinux commented 2 years ago

Qt Flatpak apps running on LXQt can not properly follow the user-configured font size and DPI due to the lack of an XDG desktop portal implementation for LXQt. Eventually this brand new implementation should be available for Debian: https://github.com/lxqt/xdg-desktop-portal-lxqt

Meanwhile, this workaround has been pre-configured in the SpiralLinux LXQt edition to make it use the correct Ubuntu font with slightly more comfortable DPI:


flatpak install -y --noninteractive --system runtime/org.kde.PlatformTheme.QGnomePlatform/x86_64/5.15-21.08
flatpak override --env=QT_STYLE_OVERRIDE=kvantum
flatpak override --env=QT_QPA_PLATFORMTHEME=gnome
geckolinux commented 1 year ago

Implemented in https://github.com/SpiralLinux/SpiralLinux-project/releases/tag/12.231001