Software not using Dolphin open/save file picker: Difference between revisions

From Pengwings
Created page with "This seems to work for some programs (some flatpaks but not all) sudo vim /etc/environment GTK_USE_PORTAL=1 GTK_DEBUG=portals XDG_CURRENT_DESKTOP=KDE For other programs layering them with rpm-ostree works (e.g. libreoffice). This doesn't work with every program either (e.g. audacity and filezilla still display gtk file dialog even when installing the rpm)"
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
This seems to work for some programs (some flatpaks but not all)
Some programs use gtk file picker rather than calling the KDE/Dolphin file picker.
 
A subset of these programs will use gtk portals automatically, which results in the gtk file picker being replaced with the KDE picker.
 
Some support it but won't use it automatically, and it has to be forced with the following env vars:
  sudo vim /etc/environment
  sudo vim /etc/environment


Line 6: Line 10:
  XDG_CURRENT_DESKTOP=KDE
  XDG_CURRENT_DESKTOP=KDE


For other programs layering them with rpm-ostree works (e.g. libreoffice). This doesn't work with every program either (e.g. audacity and filezilla still display gtk file dialog even when installing the rpm)
For other software, they don't use portals and instead directly call the desktop environment's window methods, which hasn't been included in the flatpak. This impacts libreoffice and possibly others. You can layer the rpm for those packages with rpm-ostree in order to make them use the KDE picker.
 
For yet other programs (e.g. audacity and filezilla) they still display the gtk file dialog even when installing the rpm. Most likely these programs don't support using portals for the file picker and also don't support the desktop environment directly either. I have no solution for these yet.

Latest revision as of 18:09, 8 February 2026

Some programs use gtk file picker rather than calling the KDE/Dolphin file picker.

A subset of these programs will use gtk portals automatically, which results in the gtk file picker being replaced with the KDE picker.

Some support it but won't use it automatically, and it has to be forced with the following env vars:

sudo vim /etc/environment
GTK_USE_PORTAL=1
GTK_DEBUG=portals
XDG_CURRENT_DESKTOP=KDE

For other software, they don't use portals and instead directly call the desktop environment's window methods, which hasn't been included in the flatpak. This impacts libreoffice and possibly others. You can layer the rpm for those packages with rpm-ostree in order to make them use the KDE picker.

For yet other programs (e.g. audacity and filezilla) they still display the gtk file dialog even when installing the rpm. Most likely these programs don't support using portals for the file picker and also don't support the desktop environment directly either. I have no solution for these yet.