On 2/8/22 23:55, Andres Salomon wrote:
On 2/8/22 13:25, Matthias Gies wrote:
Hi,
thanks for the quick response.
"echo $XDG_CURRENT_DESKTOP" returns "KDE"
"dbus-update-activation-environment --systemd XDG_CURRENT_DESKTOP"
does not
return anything.
No change in behavior after restarting Chromium. Still stuck with GTK
file
dialog.
Alright, so I tried installing KDE (under wayland) and chromium
97.0.4692.99-1, but when I opened the file dialog it was the gtk one.
Probably because I'd been previously running cinnamon and gnome on the
machine, but XDG_CURRENT_DESKTOP *was* set to "KDE". I noticed that
xdg-desktop-portal-gtk and xdg-desktop-portal-gnome were running in
the background of my session, and xdg-desktop-portal-kde wasn't
installed. After installing it and restarting kde, I had kde's file
dialog.
So then I installed chromium 98.0.4758.80-1, right clicked to download
a file ("save link as"), and again had kde's file dialog.
That was all tested on unstable, and there's an older version of
xdg-desktop-portal-kde on stable so the package's behavior may be
different. Do you have it installed? When you start kde, is it running
in the background?
Oh, it may actually launch when chromium starts (at least
xdg-desktop-portal-gtk does, when run under cinnamon; now I'm not 100%
certain whether it started at kde launch or afterwards). So you'll need
to check when kde is started if it's running in the background, and also
after chromium is started.