Are there are any build prerequisites for the xdg-desktop-portal-tde package other than tdelibs|tdebase?
Are any run-time environment variables needed?
Thanks.
Darrell Anderson via tde-devels wrote:
xdg-desktop-portal-tde
it needs dbus (obviously) and dbus-1-tqt
I usually install few more xdg packages and the rest depends on the applications (most recent firefox uses it, Telegram, Signal and others too)
xdg-dbus-proxy filtering D-Bus proxy xdg-desktop-portal desktop integration portal for Flatpak and Snap xdg-desktop-portal-gtk GTK+/GNOME portal backend for xdg-desktop-portal xdg-utils desktop integration utilities from freedesktop.org
Firefox needs xdg-desktop-portal-gtk
And here is from the build log
-- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") -- Checking for one of the modules 'tqt-mt' -- tqmoc path: /usr/bin/tqmoc -- tquic path: /usr/bin/tquic -- checking for 'TDE' -- Checking for one of the modules 'tqt-mt' -- found 'TDE', version 14.2.0 -- Detected x86_64 CPU architecture -- Performing Test HAVE_PIE_SUPPORT -- Performing Test HAVE_PIE_SUPPORT - Success -- Performing Test LINKER_PIE_SUPPORT -- Performing Test LINKER_PIE_SUPPORT - Success -- Performing Test CXXFLAG_fdebug_prefix_map -- Performing Test CXXFLAG_fdebug_prefix_map - Success -- Performing Test CXXFLAG_fmacro_prefix_map -- Performing Test CXXFLAG_fmacro_prefix_map - Success -- Check support for large files -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of off_t -- Check size of off_t - done -- Looking for fseeko -- Looking for fseeko - found -- Check support for large files - Success -- Checking for one of the modules 'dbus-1' -- Using /etc/dbus-1/system.d for DBUS system configuration files -- Using /etc/dbus-1/session.d for DBUS session configuration files -- Using /usr/share/dbus-1/services for DBUS session service files -- Using /usr/share/dbus-1/system-services for DBUS system service files -- Checking for one of the modules 'dbus-1-tqt' -- Configuring done -- Generating done
On 4/2/25 5:16 PM, deloptes via tde-devels wrote:
xdg-desktop-portal-tde
it needs dbus (obviously) and dbus-1-tqt
Both installed.
I am able to build and install xdg-desktop-portal-tde. Yet I am unable to get Firefox to use the TDE file picker. In TDE, Firefox always defaults to the Qt file picker dialog, yet uses the KDE file picker when in KDE.
Environment variables when running TDE include:
DESKTOP_SESSION=trinity GTK_USE_PORTAL=1 XDG_CURRENT_DESKTOP=TDE XDG_SESSION_DESKTOP=TDE
I realize the package is still in development, but my understanding of the change log indicates I should see the TDE file picker with Firefox.
Where to debug next?
On 2025/04/03 07:50 AM, Darrell Anderson via tde-devels wrote:
On 4/2/25 5:16 PM, deloptes via tde-devels wrote:
xdg-desktop-portal-tde
it needs dbus (obviously) and dbus-1-tqt
Both installed.
I am able to build and install xdg-desktop-portal-tde. Yet I am unable to get Firefox to use the TDE file picker. In TDE, Firefox always defaults to the Qt file picker dialog, yet uses the KDE file picker when in KDE.
Hi Darrell, You need to change some settings in Firefox, it is mentioned in the readme file of xdg-desktop-portal-tde. You also need to run xdg-desktop-portal. I remember there were some instructions on TGW about how to test this (from blu.256) but I can't seem to find out where it is now :-(
Cheers Michele
On 4/2/25 9:15 PM, Michele Calgaro via tde-devels wrote:
You need to change some settings in Firefox, it is mentioned in the readme file of xdg-desktop-portal-tde. You also need to run xdg-desktop-portal. I remember there were some instructions on TGW about how to test this (from blu.256) but I can't seem to find out where it is now :-(
I think Firefox is configured correctly because with KDE I see the KDE file picker dialog. In TDE Firefox seems to be configured correctly because I see the default Qt5 file picker rather than the GTK file picker.
The problem seems to be that Firefox is not finding the TDE portal or does and is not interpreting properly.
I think the portal package built correctly because I see files being installed in /usr as well as /opt/trinity.
Hello,
It looks like your Firefox is configured for portals and xdg-desktop-portal-tde probably installed correctly.
I assume you are running a full TDE session, since the TDE portal will only automatically start within it.
Getting xdg-desktop-portal to work can be a little tricky and there is always a probability of a bug, so if you're OK with a little bit of debugging, you can run the xdg-desktop-portal in verbose mode and mail me the log, or even better post it as an issue in TGW mentioning the distribution.
How to do it: ``` $ killall xdg-desktop-portal $ /path/to/xdg-desktop-portal -v ```
I remember there were some instructions on TGW about how to test this (from blu.256) but I can't seem to find out where it is now :-(
I think Michele refers to the 4th comment in this thread: https://mirror.git.trinitydesktop.org/gitea/TDE/tde/issues/160
You can find a more detailed debugging/testing instruction there.
-- Philippe Mavridis
-------- Αρχικό Μήνυμα -------- Την 3/4/25 8:12 μ.μ., Darrell Anderson via tde-devels ο/η devels@trinitydesktop.org έγραψε:
On 4/2/25 9:15 PM, Michele Calgaro via tde-devels wrote:
You need to change some settings in Firefox, it is mentioned in the readme file of xdg-desktop-portal-tde. You also need to run xdg-desktop-portal. I remember there were some instructions on TGW about how to test this (from blu.256) but I can't seem to find out where it is now :-(
I think Firefox is configured correctly because with KDE I see the KDE file picker dialog. In TDE Firefox seems to be configured correctly because I see the default Qt5 file picker rather than the GTK file picker.
The problem seems to be that Firefox is not finding the TDE portal or does and is not interpreting properly.
I think the portal package built correctly because I see files being installed in /usr as well as /opt/trinity. ____________________________________________________ tde-devels mailing list -- devels@trinitydesktop.org To unsubscribe send an email to devels-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/devels@trinitydeskt...
On 4/3/25 3:31 PM, blu.256 via tde-devels wrote:
It looks like your Firefox is configured for portals and xdg-desktop-portal-tde probably installed correctly.
I assume you are running a full TDE session, since the TDE portal will only automatically start within it.
We should ensure we both agree what a full session entails. I presume I am, but perhaps I need to know what all is required to be sure.
Getting xdg-desktop-portal to work can be a little tricky...
I'm still looking at the thread and trying not to get glassy-eyed. In the mean time, I notice when I launch Firefox that xdg-desktop-portal is in the process list but so is xdg-desktop-portal-kde. I am going to offer a wild guess that is why xdg-desktop-portal-tde is not running. Kind of like the kde version responds first or xdg-desktop-portal is calling xdg-desktop-portal-kde rather than xdg-desktop-portal-tde.
I manually killed the xdg-desktop-portal-kde process and manually launched /opt/trinity/lib64/trinity/libexec/xdg-desktop-portal-tde. I selected File->Open in Firefox and once again the Qt file picker appeared.
When I looked at the process list, xdg-desktop-portal-tde was still running but so was xdg-desktop-portal-kde.
At this point I suspect xdg-desktop-portal does not know about xdg-desktop-portal-tde or does not know how/where to call the TDE portal.
So either a bug or I do not know how to compile xdg-desktop-portal-tde correctly. Could be a bug, perhaps xdg-desktop-portal-tde hasn't been tested in Slackware. I know there a some Slackware users out there and perhaps they can pitch in and help.
I would not be surprised I am not compiling correctly and despite no build failures, perhaps files are not being installed in the places where xdg-desktop-portal looks to launch the appropriate DE file picker.
Darrell Anderson via tde-devels wrote:
When I looked at the process list, xdg-desktop-portal-tde was still running but so was xdg-desktop-portal-kde.
I make same observation with xdg-desktop-portal-gtk
At this point I suspect xdg-desktop-portal does not know about xdg-desktop-portal-tde or does not know how/where to call the TDE portal.
I tried disabling (chmod -x) xdg-desktop-portal-gtk, started chrome and it blocks, because it wants to spawn the user service via dbus. Firefox seems to be using it's own file chooser.
So either a bug or I do not know how to compile xdg-desktop-portal-tde correctly. Could be a bug, perhaps xdg-desktop-portal-tde hasn't been tested in Slackware. I know there a some Slackware users out there and perhaps they can pitch in and help.
I am on debian. I see xdg-desktop-portal-tde registering on dbus, but it seems it is not providing the interfaces for further consumption.
Will play with it during weekend more.
On 4/3/25 3:31 PM, blu.256 via tde-devels wrote:
It looks like your Firefox is configured for portals and xdg-desktop-portal-tde probably installed correctly.
I assume you are running a full TDE session, since the TDE portal will only automatically start within it.
Getting xdg-desktop-portal to work can be a little tricky and there is always a probability of a bug, so if you're OK with a little bit of debugging, you can run the xdg-desktop-portal in verbose mode and mail me the log, or even better post it as an issue in TGW mentioning the distribution.
How to do it:
$ killall xdg-desktop-portal $ /path/to/xdg-desktop-portal -v
I don't know the root cause yet, but I have more information to share.
With some reflection, I realized Firefox is launching the KDE file picker portal and not the generic Qt. I was fooled by this because the dialog was opening with all of the generic flat icons and did not look like the normal KDE file picker I had configured in my KDE environment.
The xdg-desktop-portal-tde.desktop is installed in /opt/trinity/share/applications rather than /opt/trinity/share/applications/tde like all other TDE desktop files.
The org.freedesktop.impl.portal.desktop.tde.service file is installed in /usr/share/dbus-1/services, the same place as org.freedesktop.impl.portal.desktop.kde.service.
The tde.portal file is installed in /usr/share/xdg-desktop-portal/portals, the same as the kde.portal file. The tde.portal file has UseIn=Trinity where the kde.portal has UseIn=KDE.
I do not think 'Trinity' is a valid XDG reference and the key should be UseIn=TDE. The sources show UseIn=Trinity and should be patched to UseIn=TDE. Refer to https://specifications.freedesktop.org/menu-spec/latest/onlyshowin-registry.....
I changed UseIn=Trinity to UseIn=TDE. Initially that did not seem to do anything because when I launched Firefox the KDE portal launched. More on that change later.
Next I moved xdg-desktop-portal-tde.desktop to /opt/trinity/share/applications/tde/. Moving the file made no difference.
I terminated Firefox and killed all portal processes each time.
Next I killed the portal processes while leaving Firefox running. I launched /usr/libexec/xdg-desktop-portal --verbose. The output spew showed that xdg-desktop-portal had selected the TDE portal for the file picker ("Using tde.portal for org.freedesktop.impl.portal.FileChooser in TDE"). The process list showed both the KDE and TDE portals. I tried to use Firefox File-->Open and the TDE file picker dialog opened.
I closed Firefox and killed the portal processes. I launched Firefox and again killed the portal processes. I manually launched /usr/libexec/xdg-desktop-portal but not verbose. I launched Firefox and again the TDE file picker opened.
I closed Firefox and killed the portal processes. I manually launched /usr/libexec/xdg-desktop-portal without verbose and as a background process. The process list showed both the KDE and TDE portals. I launched Firefox and the TDE file picker dialog was used.
I created a $TDEHOME/Autostart desktop file to force launch /usr/libexec/xdg-desktop-portal. After starting my TDE session, the process list showed the TDE portal. Again Firefox used the TDE file picker.
Seems when xdg-desktop-portal is manually launched before launching Firefox then everything behaves as expected. Having Firefox launch xdg-desktop-portal fails to call the TDE portal.
I removed the temporary autostart file. Although Firefox had widget.use-xdg-desktop-portal.file-picker=1, just to be sure, I toggled all other widget.use-xdg-desktop-portal.* options to 1. I then renamed kde.portal to kde.portal.bak. I logged out and restarted TDE. I verified no portal processes. I launched Firefox and saw that there was no kde portal process and the tde portal process was running. Firefox then used the TDE file picker.
Some more trial-and-error testing indicates UseIn=TDE does need to change in the sources.
Although the TDE portal will launch manually and everything behaves, seems KDE is receiving priority over TDE when both portals are available. I don't know where the mixup might be. Could be me. Could be Slackware. Could be TDE. Could be something else. I think the TDE portal package is fine. One way or another something is awry.
I hope the information helps. Any feedback is welcomed. :)
On 2025-04-03 20:53:48 Darrell Anderson via tde-devels wrote:
On 4/3/25 3:31 PM, blu.256 via tde-devels wrote:
It looks like your Firefox is configured for portals and xdg-desktop-portal-tde probably installed correctly.
I assume you are running a full TDE session, since the TDE portal will only automatically start within it.
Getting xdg-desktop-portal to work can be a little tricky and there is always a probability of a bug, so if you're OK with a little bit of debugging, you can run the xdg-desktop-portal in verbose mode and mail me the log, or even better post it as an issue in TGW mentioning the distribution.
How to do it:
$ killall xdg-desktop-portal $ /path/to/xdg-desktop-portal -v
I don't know the root cause yet, but I have more information to share.
With some reflection, I realized Firefox is launching the KDE file picker portal and not the generic Qt. I was fooled by this because the dialog was opening with all of the generic flat icons and did not look like the normal KDE file picker I had configured in my KDE environment.
The xdg-desktop-portal-tde.desktop is installed in /opt/trinity/share/applications rather than /opt/trinity/share/applications/tde like all other TDE desktop files.
The org.freedesktop.impl.portal.desktop.tde.service file is installed in /usr/share/dbus-1/services, the same place as org.freedesktop.impl.portal.desktop.kde.service.
The tde.portal file is installed in /usr/share/xdg-desktop-portal/portals, the same as the kde.portal file. The tde.portal file has UseIn=Trinity where the kde.portal has UseIn=KDE.
I do not think 'Trinity' is a valid XDG reference and the key should be UseIn=TDE. The sources show UseIn=Trinity and should be patched to UseIn=TDE. Refer to https://specifications.freedesktop.org/menu-spec/latest/onlyshowin-registry .html.
I changed UseIn=Trinity to UseIn=TDE. Initially that did not seem to do anything because when I launched Firefox the KDE portal launched. More on that change later.
Next I moved xdg-desktop-portal-tde.desktop to /opt/trinity/share/applications/tde/. Moving the file made no difference.
I terminated Firefox and killed all portal processes each time.
Next I killed the portal processes while leaving Firefox running. I launched /usr/libexec/xdg-desktop-portal --verbose. The output spew showed that xdg-desktop-portal had selected the TDE portal for the file picker ("Using tde.portal for org.freedesktop.impl.portal.FileChooser in TDE"). The process list showed both the KDE and TDE portals. I tried to use Firefox File-->Open and the TDE file picker dialog opened.
I closed Firefox and killed the portal processes. I launched Firefox and again killed the portal processes. I manually launched /usr/libexec/xdg-desktop-portal but not verbose. I launched Firefox and again the TDE file picker opened.
I closed Firefox and killed the portal processes. I manually launched /usr/libexec/xdg-desktop-portal without verbose and as a background process. The process list showed both the KDE and TDE portals. I launched Firefox and the TDE file picker dialog was used.
I created a $TDEHOME/Autostart desktop file to force launch /usr/libexec/xdg-desktop-portal. After starting my TDE session, the process list showed the TDE portal. Again Firefox used the TDE file picker.
Seems when xdg-desktop-portal is manually launched before launching Firefox then everything behaves as expected. Having Firefox launch xdg-desktop-portal fails to call the TDE portal.
I removed the temporary autostart file. Although Firefox had widget.use-xdg-desktop-portal.file-picker=1, just to be sure, I toggled all other widget.use-xdg-desktop-portal.* options to 1. I then renamed kde.portal to kde.portal.bak. I logged out and restarted TDE. I verified no portal processes. I launched Firefox and saw that there was no kde portal process and the tde portal process was running. Firefox then used the TDE file picker.
Some more trial-and-error testing indicates UseIn=TDE does need to change in the sources.
Although the TDE portal will launch manually and everything behaves, seems KDE is receiving priority over TDE when both portals are available. I don't know where the mixup might be. Could be me. Could be Slackware. Could be TDE. Could be something else. I think the TDE portal package is fine. One way or another something is awry.
I hope the information helps. Any feedback is welcomed. :)
tde-devels mailing list -- devels@trinitydesktop.org To unsubscribe send an email to devels-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/devels@trinitydesk top.org
[Slightly off-topic:] 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?
Leslie -- Platform: Linux Distribution: openSUSE Leap 15.6 - x86_64 Desktop Environment: Trinity Qt: 3.5.0 TDE: R14.1.3 tde-config: 1.0
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.
Darrell Anderson via tde-devels wrote:
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.
I plan to disable portal-gtk or uninstall it and restart the session, so that first one registered is portal-tde. Although another issue is that portal-tde supports less features.
On 2025-04-04 15:42:41 deloptes via tde-devels wrote:
Darrell Anderson via tde-devels wrote:
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.
I plan to disable portal-gtk or uninstall it and restart the session, so that first one registered is portal-tde. Although another issue is that portal-tde supports less features.
Such as...?
Leslie -- Platform: Linux Distribution: openSUSE Leap 15.6 - x86_64 Desktop Environment: Trinity Qt: 3.5.0 TDE: R14.1.3 tde-config: 1.0
J Leslie Turriff via tde-devels wrote:
On 2025-04-04 15:42:41 deloptes via tde-devels wrote:
Darrell Anderson via tde-devels wrote:
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.
I plan to disable portal-gtk or uninstall it and restart the session, so that first one registered is portal-tde. Although another issue is that portal-tde supports less features.
Such as...?
I tried it yesterday on a notebook - removed completely the portal-gtk. Firefox does not open the TDE FileChooser. Another side effect is that the screen saver does not receive the dbus calls (the screen saver disabling mechanism (Inhibit/UnInhibit by freedesktop is something I was working in the past few months and expected to go into 14.2)
Regarding lack of features look at the following
Portal GTK [1 img30] Portal TDE [2 img31]
On 2025-04-04 02:27:20 J Leslie Turriff via tde-devels wrote:
On 2025-04-03 20:53:48 Darrell Anderson via tde-devels wrote:
On 4/3/25 3:31 PM, blu.256 via tde-devels wrote:
It looks like your Firefox is configured for portals and xdg-desktop-portal-tde probably installed correctly.
I assume you are running a full TDE session, since the TDE portal will only automatically start within it.
Getting xdg-desktop-portal to work can be a little tricky and there is always a probability of a bug, so if you're OK with a little bit of debugging, you can run the xdg-desktop-portal in verbose mode and mail me the log, or even better post it as an issue in TGW mentioning the distribution.
How to do it:
$ killall xdg-desktop-portal $ /path/to/xdg-desktop-portal -v
I don't know the root cause yet, but I have more information to share.
With some reflection, I realized Firefox is launching the KDE file picker portal and not the generic Qt. I was fooled by this because the dialog was opening with all of the generic flat icons and did not look like the normal KDE file picker I had configured in my KDE environment.
The xdg-desktop-portal-tde.desktop is installed in /opt/trinity/share/applications rather than /opt/trinity/share/applications/tde like all other TDE desktop files.
The org.freedesktop.impl.portal.desktop.tde.service file is installed in /usr/share/dbus-1/services, the same place as org.freedesktop.impl.portal.desktop.kde.service.
The tde.portal file is installed in /usr/share/xdg-desktop-portal/portals, the same as the kde.portal file. The tde.portal file has UseIn=Trinity where the kde.portal has UseIn=KDE.
I do not think 'Trinity' is a valid XDG reference and the key should be UseIn=TDE. The sources show UseIn=Trinity and should be patched to UseIn=TDE. Refer to https://specifications.freedesktop.org/menu-spec/latest/onlyshowin-regist ry .html.
I changed UseIn=Trinity to UseIn=TDE. Initially that did not seem to do anything because when I launched Firefox the KDE portal launched. More on that change later.
Next I moved xdg-desktop-portal-tde.desktop to /opt/trinity/share/applications/tde/. Moving the file made no difference.
I terminated Firefox and killed all portal processes each time.
Next I killed the portal processes while leaving Firefox running. I launched /usr/libexec/xdg-desktop-portal --verbose. The output spew showed that xdg-desktop-portal had selected the TDE portal for the file picker ("Using tde.portal for org.freedesktop.impl.portal.FileChooser in TDE"). The process list showed both the KDE and TDE portals. I tried to use Firefox File-->Open and the TDE file picker dialog opened.
I closed Firefox and killed the portal processes. I launched Firefox and again killed the portal processes. I manually launched /usr/libexec/xdg-desktop-portal but not verbose. I launched Firefox and again the TDE file picker opened.
I closed Firefox and killed the portal processes. I manually launched /usr/libexec/xdg-desktop-portal without verbose and as a background process. The process list showed both the KDE and TDE portals. I launched Firefox and the TDE file picker dialog was used.
I created a $TDEHOME/Autostart desktop file to force launch /usr/libexec/xdg-desktop-portal. After starting my TDE session, the process list showed the TDE portal. Again Firefox used the TDE file picker.
Seems when xdg-desktop-portal is manually launched before launching Firefox then everything behaves as expected. Having Firefox launch xdg-desktop-portal fails to call the TDE portal.
I removed the temporary autostart file. Although Firefox had widget.use-xdg-desktop-portal.file-picker=1, just to be sure, I toggled all other widget.use-xdg-desktop-portal.* options to 1. I then renamed kde.portal to kde.portal.bak. I logged out and restarted TDE. I verified no portal processes. I launched Firefox and saw that there was no kde portal process and the tde portal process was running. Firefox then used the TDE file picker.
Some more trial-and-error testing indicates UseIn=TDE does need to change in the sources.
Although the TDE portal will launch manually and everything behaves, seems KDE is receiving priority over TDE when both portals are available. I don't know where the mixup might be. Could be me. Could be Slackware. Could be TDE. Could be something else. I think the TDE portal package is fine. One way or another something is awry.
I hope the information helps. Any feedback is welcomed. :)
tde-devels mailing list -- devels@trinitydesktop.org To unsubscribe send an email to devels-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/devels@trinityde sk top.org
[Slightly off-topic:] 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?
Leslie
Well, I disabled xdg-desktop-portal-gtk and restarted my machine, then discovered that there is no xdg-desktop-portal-* in /opt/trinity/lib64 (or in the openSUSE repository), so firefox hangs when I try to download a file. I put the gtk part back and restarted my machine and now it works again with the native firefox file picker. Is xdg-desktop-portal-tde something that was added since R14.1.3 went GA?
Leslie -- Platform: Linux Distribution: openSUSE Leap 15.6 - x86_64 Desktop Environment: Trinity Qt: 3.5.0 TDE: R14.1.3 tde-config: 1.0
On 4/4/25 10:16 PM, J Leslie Turriff via tde-devels wrote:
Well, I disabled xdg-desktop-portal-gtk and restarted my machine, then discovered that there is no xdg-desktop-portal-* in /opt/trinity/lib64 (or in the openSUSE repository), so firefox hangs when I try to download a file. I put the gtk part back and restarted my machine and now it works again with the native firefox file picker. Is xdg-desktop-portal-tde something that was added since R14.1.3 went GA?
Yes, new to 14.1.3, which is why I am testing. I presume for Debian folks this package is readily available to download/install.