I use kfind on Ubuntu. I need to set the default apps it uses to launch files it finds.

By default, it attempts to launch kde apps. I usually either don't have them, or don't want to use them.

I most especially want it to launch Thunar when I click 'open parent folder' on a search result.

But I cannot see where to do this. I installed 'systemsettings', the kde config app. But that seems to have no option to set default apps. I looked in ~/.kde/share/apps/ and ~/.kde/share/config, but could find no config setting. I can't see any version of kconfig or kcontrol to install.

So how do I change this setting for KDE apps in Ubuntu?


In answer to Michael Clare (thank you), xdg-mime thinks my default is Thunar. And indeed it is. But not for any KDE app.

$ xdg-mime query default inode/directory
  • 1
    Can't catfish accomplish what your trying to do? Since it's a gtk app you shouldn't have any issues running your default apps.
    – dsSTORM
    Oct 22, 2018 at 13:10
  • I've been using kfind for years because it was so much better than anything else available to me, including catfish. I checked on intervals. And no longer bother checking. I use kfind.
    – markling
    Oct 23, 2018 at 10:00
  • 2
    Have you tried "xdg-mime default Thunar.desktop inode/directory" as a regular user? May 31, 2019 at 23:20
  • 2
    When you click "Open containing folder", Kfind invokes KIO::highlightInFileManager, which in turn invokes the FileManager1 DBus interface. I think it should suffice to save the contents of this file as /usr/share/dbus-1/services/org.xfce.Thunar.FileManager1.service . However, that dbus interface seems to be very finicky. See this KDE bug for more information.
    – danzel
    Jun 3, 2019 at 21:54
  • thank you , danzel. I'll have a look at this bug report.... FYI. I have /usr/share/dbus-1/services/org.xfce.Thunar.service, with Name=org.xfce.Thunar and Exec=/usr/bin/Thunar --daemon
    – markling
    Jun 4, 2019 at 13:43

1 Answer 1



$ xdg-mime default Thunar.desktop inode/directory

Solves the problem. As Michael helpfully posted in comments.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.