On 4/4/25 2:27 AM, J Leslie Turriff via tde-devels wrote:
I have wished for a looong time that I didn't
have to use the crappy native Firefox
file dialog, and now it seems I might be able to! but currently my machine shows
$ ps -A -f xdg-desktop-portal
leslie 11996 11169 0 Mar30 ? 00:00:00 /usr/lib/xdg-desktop-portal
leslie 12022 11169 0 Mar30 ? 00:00:06 /usr/lib/xdg-desktop-portal-gtk
rc=0
and about:config shows 2 for all of the widget.use-xdg-desktop-portal.* settings. (Is
there somewhere a specification for the settings in about:config? It seems to be
deliberately obstructive about the meanings of (especially) numeric values.)
Should I set these from 2 to 1?
Probably does not cause harm to set all of the Firefox "widget*portal"
options to '1', but my understanding is should not be necessary.
My understanding is the Firefox "widget*portal" options were needed in
the early days of supporting portal tools, but no longer should make a
difference. A setting of '2' should mean Firefox lets the underlying
operating system determine which portal tools to use.
My understanding is everything nowadays should be automatic. Firefox is
supposed to call xdg-desktop-portal and then based on environment
variables, xdg-desktop-portal selects an appropriate desktop environment
(DE) portal. The primary environment variable is $XDG_CURRENT_DESKTOP,
which for TDE should be set to XDG_CURRENT_DESKTOP=TDE. There are more
steps to determine the correct portal if that env. variable is undefined.
On my part that is why I am confused. Everything in my environment seems
to be in order yet xdg-desktop-portal is not selecting TDE unless I
intervene manually. Somehow KDE is selected rather than TDE.