I’ve got several boxes, similar installations with two desktops: Plasma KDE and DMS niri. I live my life mostly on niri. On one box qBittorrent uses normal (big, functional, and pretty) KDE file dialog on Plasma and GTK file chooser on niri. This is acceptable. On another box I see something else:
This is probably a KDE dialog, but from a second hand store. The same with Okular, so the setting is system wide. How to change it for something decent?
You will probably need to edit your desktop-portal.conf for this :
In ~/.config/xdg-desktop-portal/
You should have at least two files, something like:
kde-portals.conf and niri-portals.conf (maybe not the right name for niri, one for each of your DE)
If they don’t exist, copy them from /usr/share
cp -r /usr/share/xdg-desktop-portal/ ~/.config/
Then for each desktop-portal.conf, under [prefered], add this line :
org.freedesktop.impl.portal.FileChooser=kde
This will set the default file picker to kde, but you can also choose gtk depending on your preference.
You can set different file pickers for each DE without problem by editing this in the corresponding .conf file.
(To avoid some problems on niri you might want to set it to kde;gtk or gtk;kde, this way it will try the first option and if it doesn’t work it will use the second as a fallback)
PS Is there a way to turn off the markdown helper, or whatever it is? Once I new just how and where to put a triple backtick and things, now I’m as helpless as on Reddit
Logout isn’t enough? I did the reboot, anyway. Nothing changed. I did remove all the other suggestions. Now it’s exactly as I just published. No difference.
According to Arch Wiki, qt5ct-kde and qt6ct-kde packages are nicer, especially when used outside KDE. They offer better choice, and enforce it somewhat better, indeed. But the whole ecosystem is fragile and way too complicated
Most WMs default to GTK or the app’s native file dialog unless you explicitly tell them to use something else. This (and the Arch way) is why most WM-based distros use Thunar and GTK by default.