How to specify the file manager KDE Plasma uses for Recent Files > Open Containing Folder?

On my Manjaro KDE rig, the Plasma “Recent Files” context menu item “Open Containing Folder” uses Gnome Files instead of Dolphin to open the folder. Can someone recommend how to change this or where to start investigating? I have checked the file association for inode/directory and Dolphin is already first in the list of applications.

/off
I wonder why you have gnome files on kde at all… :thinking:
/Off

3 Likes

I’m not sure why it’s installed either, but it got there when I installed an app or I did an update, and it’s normally not a problem so I just left it in case something I installed expected it to be there. I first installed Manjaro KDE on this machine in early 2019 and have just updated it regularly (have never needed to reinstall the OS), but there have been times when I have had to tinker with some apps to keep their functionality and I’ve installed some things from the AUR to that end. BackInTime, Timeshift, Chrome, Czkawka, FreeFileSync, and PeaZip come to mind. My general philosophy is to do backups and basic housekeeping regularly, and to apply updates promptly, but otherwise I don’t have much time to spare so I tend to leave things alone.

Can’t imagine anything having a filemanager as a dependency (except some plug-in for the filemanager itself).

pacman -Sii nautilus

Will tell you.
If you do not use it, just remove it. I know it is a workaround and not a solution, just saying.

1 Like

It would be interesting to see the output of the following:

pamac search gnome | grep -i installed

For example, I have these on my Plasma system:

vlc-plugin-libsecret  3.0.22-4 [Installed]                                 extra
libsoup  2.74.3-4 [Installed]                                              extra
authenticator  4.6.2-2 [Installed]                                         extra
libgnomekbd  1:3.28.1-2 [Installed]                                        extra
gnome-video-effects  1:0.6.0-2 [Installed]                                 extra
gnome-themes-extra  1:3.28-1 [Installed]                                   extra
gnome-desktop-common  1:44.5-1 [Installed]                                 extra
gnome-desktop  1:44.5-1 [Installed]                                        extra

It looks to have been a known, unresolved issue since 2018:

Some suggested solutions:

Source: Default applications no longer being respected - #2 by ngraham - Help - KDE Discuss

or

Source: https://bugs.kde.org/show_bug.cgi?id=397953#c29

or

Copy the system’s dolphin.FileManager1 dbus service across to your user directory so that it will override the system’s freedesktop.FileManager1 dbus service:

mkdir -p ~/.local/share/dbus-1/services/

cp /usr/share/dbus-1/services/org.kde.dolphin.FileManager1.service ~/.local/share/dbus-1/services/org.freedesktop.FileManager1.service

(don’t forget to remove the local file when the issue is fixed)
Source: https://bugs.kde.org/show_bug.cgi?id=397953#c3

or

Compile from source the following KDED module:

Source: https://bugs.kde.org/show_bug.cgi?id=397953#c30

2 Likes

Thank you for this comprehensive list of workarounds. I will experiment first chance I get and report how I fared.

1 Like

Check whether you have xdg-desktop-portal-gnome installed, and if so, remove it.

4 Likes

This just occurred to me as i browsed the dependencies of Nautilus earlier, but forgot to write it. Aragorn :folded_hands:
Now you have 5 solutions to test.

2 Likes

First I want to thank everyone for helpful suggestions and second I want to apologize for not knowing how to format my replies. I haven’t learned markdown or spent much time in the Forum. I am very curious though now because I have three Plasma computers that I thought had identical software installed, but only two of them have nautilus.

My first impulse was to just uninstall nautilus because that seems to be the quickest and easiest solution. But then I saw Nautilus is a dependency on the first machine I’ve checked. (I still have to check the other machine that has Nautilus installed but I thought it might help me figure out what package is responsible.)

So

pacman -Qi nautilus | awk '/(^Name)|(^Required By)|(^Optional For)/'

returns

Name            : nautilus
Required By     : xdg-desktop-portal-gnome
Optional For    : None

@Aragorn
Nautilus was required by xdg-desktop-portal-gnome, but xdg-desktop-portal-gnome was optional for xdg-desktop-portal, so I ran

sudo pacman -R xdg-desktop-portal-gnome

to uninstall xdg-desktop-portal-gnome.

Then I ran

sudo pacman -R nautilus

to uninstall nautilus and that solved the problem.

Mod edit: Consecutive posts merged, and formatting added - you will be able to see the changes from the edit, which may be helpful. :wink:

4 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.