SUMMARY My default file manager is Dolphin, but I also have Thunar installed. When I take a screenshot and then use the context menu in the notification popup (the 3 bars) to open my screenshots folder, it opens in Thunar instead of Dolphin. I tried changing the default file manager to something else and back to Dolphin, which didn't work. I tested `xdg-open [Path to my screenshots folder]` and it correctly opened Dolphin, so the problem must be on Spectacle's side. STEPS TO REPRODUCE 1. Take screenshot 2. In the notification, click on context button 3. Select "Open folder with this content" (the actual string might be slightly different since I had to translate it from German) OBSERVED RESULT Thunar opens, despite not being the default file manager EXPECTED RESULT Dolphin opens, the default file manager SOFTWARE/OS VERSIONS Linux Kernel: 5.3.8-arch1-1 KDE Plasma Version: 5.17.1 KDE Frameworks Version: 5.63 Qt Version: 5.13.2
Hmm I cannot reproduce it after installing Thunar. Moving this to notifications since the menu comes from there.
It uses org.freedesktop.FileManager1 on DBus. I assume both Dolphin and Thunar register that service. Does it work if you kill thunar and run /usr/bin/dolphin --daemon before?
That works. After killing Thunar and executing /usr/bin/dolphin --daemon in krunner, Spectacle correctly opens Dolphin
it seems duplicate of bug 397953
I'm not familiar with how it works under the hood, but if it indeed uses KIO::highlightInFileManager, I'd agree with you.
*** This bug has been marked as a duplicate of bug 397953 ***