You are not logged in.
My Default file manager is Thunar, however, any time I double click a USB icon or Folder icon, Dolphin file manager launches.
I wouldn't mind, but a recent update seems to have introduced a bug in dolphin where the default background is black, can hardly see text.
Doing a chmod a-x /usr/bin/dolphin, works. When I double click the icons, Thunar is launched.
I'd rather find the reason than just remove permissions.
I tried moving thunar.desktop to the beginning of inode/directory, but still same results.
Any idea why dolphin is defaulting for double clicking desktop icons?
> grep inode /usr/share/applications/mimeinfo.cache
inode/directory=easytag.desktop;kfmclient_dir.desktop;org.kde.cervisia.desktop;org.kde.dolphin.desktop;org.kde.dolphinsu.desktop;org.kde.filelight.desktop;org.kde.gwenview.desktop;org.kde.kate.desktop;org.kde.kid3-qt.desktop;org.kde.kid3.desktop;org.kde.krusader.desktop;thunar.desktop;
> grep inode /home/budman/.config/mimeapps.list
inode/directory=thunar.desktop
inode/directory=thunar.desktop;
> xdg-mime query default inode/directory
thunar.desktop
These all run Thunar:
xdg-open ~/Downloads
exo-open ~/Downloads
gio open ~/Downloads
Regards
Rich
Offline
Hello and welcome.
What is the contents of the ~/.config/xfce4/helpers.rc file? Does it list dolphin there?
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Hello and welcome.
What is the contents of the ~/.config/xfce4/helpers.rc file? Does it list dolphin there?
cat ~/.config/xfce4/helpers.rc
WebBrowser=opera
FileManager=thunar
Offline
How about:
ps -ef | grep -i desktop
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
How about:
ps -ef | grep -i desktop
ps -ef | grep -i desktop
budman 3162 3068 0 Mar23 tty1 00:02:26 xfdesktop
budman 3237 1 0 Mar23 ? 00:00:07 /usr/libexec/xdg-desktop-portal
Offline
What happens if you kill the xdg-desktop-portal process? Does it work then?
pkill xdg-desktop-portal
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
After killing the process, double click still uses dolphin.
Checking the process is back again.
Offline
See: https://wiki.archlinux.org/title/XDG_Desktop_Portal
Which xdg-desktop-portal backend do you have installed?
What are the contents of /usr/share/xdg-desktop-portal/DE-portals.conf file and ~/.config/xdg-desktop-portal/portals.conf?
What does the following return?
echo $XDG_CURRENT_DESKTOP
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
echo $XDG_CURRENT_DESKTOP
XFCE
==========
No file - ~/.config/xdg-desktop-portal/portals.conf
==============
/usr/share/xdg-desktop-portal
kde-portals.conf
[preferred]
default=kde
org.freedesktop.impl.portal.Settings=kde;gtk;
labwc-portals.conf
[preferred]
default=wlr;*
org.freedesktop.impl.portal.Inhibit=none
xfce-portals.conf
[preferred]
default=gtk;
org.freedesktop.impl.portal.Wallpaper=xapp;gtk;
org.freedesktop.impl.portal.Screenshot=xapp;gtk;
org.freedesktop.impl.portal.Background=xapp;gtk;
===
/usr/share/xdg-desktop-portal/portals
gnome-keyring.portal
[portal]
DBusName=org.freedesktop.secrets
Interfaces=org.freedesktop.impl.portal.Secret
UseIn=gnome
kde.portal
[portal]
DBusName=org.freedesktop.impl.portal.desktop.kde
Interfaces=org.freedesktop.impl.portal.Access;org.freedesktop.impl.portal.Account;org.freedesktop.impl.portal.AppChooser;org.freedesktop.impl.portal.Background;org.freedesktop.impl.portal.Email;org.freedesktop.impl.portal.FileChooser;org.freedesktop.impl.portal.Inhibit;org.freedesktop.impl.portal.Notification;org.freedesktop.impl.portal.Print;org.freedesktop.impl.portal.ScreenCast;org.freedesktop.impl.portal.Screenshot;org.freedesktop.impl.portal.RemoteDesktop;org.freedesktop.impl.portal.Settings;org.freedesktop.impl.portal.DynamicLauncher;org.freedesktop.impl.portal.GlobalShortcuts
UseIn=KDE
Offline
[preferred]
default=kde
org.freedesktop.impl.portal.Settings=kde;gtk;
I believe this is why.
Have a read of https://forum.xfce.org/viewtopic.php?id=17161 for a discussion a link to bug report about creating an Xfce portal.
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Tried adding file, but no difference.
I then went into Settings / Session and Startup / Advanced
Launch GNOME and KDE were not checked.
I checked them and restarted X.
Now the double-click is launching Thunar.
I unchecked GNOME and KDE, and rebooted.
Double click is loading Thunar.
Possible there was maybe a residual from KDE in a config. Or maybe something I recently installed. hmm.
I'm stumped.
Last edited by budman85 (2025-04-24 01:51:03)
Offline
[ Generated in 0.012 seconds, 7 queries executed - Memory usage: 593.13 KiB (Peak: 609.97 KiB) ]