3

I just install Debian Lenny with KDE.

In transmission when I right click a torrent and choose "open folder" it opens in Baobab then I need to right click the file and choose "Open folder" to finally open it in Dolphin (my file browser).

On Windows it just opens in Windows Explorer (the default file browser).

How can I get it to do this?

enter image description here enter image description here

user1028270
  • 1,025
  • 4
  • 19
  • 29

2 Answers2

5

I think it's from KDE, i got the same problem but it was rather simple to fix. Just go to System Configuration > Applications > Defaults Applications > File Explorer

Change it to another explorer than Dolphin (ex: Konqueror) and apply. Change it back to Dolphin than apply.

Did the trick for me. (it could be from a KDE update and a reset of settings idk)

Tested on Arch Linux with KDE 5.7.3

  • The same works for me on Debian 10 and XFCE. You don't need to change to another file explorer there, it can be an arbitrary application. As I have no other file explorer installed I've chosen the first file I've found in /usr/bin (7z). After changing back to thunar it worked as expected. Thanks. – Arpad Horvath Aug 16 '20 at 10:57
  • @ArpadHorvath What did you do with xfce/debian? I'm having the same issue as OP but the file manager is set to Thunar in Settings->Prefered Applications – user3728501 Aug 23 '20 at 20:30
  • @user3728501 I have Thunar too as default file manager. But earlier Transmission opened the folder with Baobab even if the default file manager was Thunar. – Arpad Horvath Aug 24 '20 at 17:58
  • @ArpadHorvath Yes... what I'm asking is how do you fix this? – user3728501 Aug 28 '20 at 15:16
  • 2
    @user3728501 I use XFCE in Hungarian, but the screen shot might help you https://pyedu.hu/tmp/thunar_as_default.png. Yes after Settings->Prefered Applications A changed thunar to something else (don't need to be file manager at all), than changed back, and worked properly. – Arpad Horvath Aug 29 '20 at 17:15
  • @ArpadHorvath Ok thanks, I didn't understand that it needed to be changed then "changed back" again, thanks – user3728501 Aug 31 '20 at 22:19
0

@user626084's answer worked for me, but I was curious why. Did a little more digging and found a useful link: Non-KDE (GTK?) apps ignore KDE "Default Applications" and launch the wrong web browser

sayan1 writes: try editing mimeapps.list in .config or in .local/share/applications.

I looked inside my mimeapps.list it was in ~/.config.

[Added Associations]
...
inode/directory=org.kde.dolphin.desktop;     
...

[Default Applications]
...
inode/directory=org.kde.dolphin.desktop;
...

Last edit time was when I followed @user626084's steps.

Using Rui Ribeiro's tip: How to find what programs are reading my file? you can see which processes are accessing the mimeapps.list file.

sudo sysdig -A -c echo_fds "fd.filename=mimeapps.list"

You get something like:

------ Read 968B from   /home/igq/.config/mimeapps.list (systemsettings5)
...
...
...
------ Read 969B from   /home/igq/.config/mimeapps.list (kbuildsycoca5)
...
...
...

kbuildsycoca5 (8) - Linux Man Pages kbuildsycoca5: Rebuilds the KService desktop file system configuration cache.

ATutorMe
  • 101
  • 1