xdg-desktop-portal-kde ignores QT_QPA_PLATFORMTHEME
I use Garuda Linux LXQt-kwin, LXQt uses its own plugin for QT which is
QT_QPA_PLATFORMTHEME=lxqt
(and it shouldn't be changed or set, since LXQt by default has it with the value lxqt
, this explains why) , and it seems to be ignored by xdg-desktop-portal-kde
so the file chooser dialogs looks nothing like my kvantum theme
Env vars related with Qt when the computer just starts (no modifications)
File chooser dialog
I searched on how to edit a service file to add env vars and basically I created this file:
~/.config/systemd/user/plasma-xdg-desktop-portal-kde.service.d/override.conf
, inside of it I added the env vars to pick up kvantum and lxqt plugin:
[Service]
Environment="QT_QPA_PLATFORMTHEME=lxqt"
then I executed systemctl --user daemon-reload
and restarted, after restarting now I see dialogs with the correct configuration: