[systemsettings] [Bug 438006] Directories open in VS Code instead of Dolphin, Dolphin is set as default in Settings

Nate Graham bugzilla_noreply at kde.org
Wed Jun 9 22:05:22 BST 2021


https://bugs.kde.org/show_bug.cgi?id=438006

Nate Graham <nate at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned-bugs at kde.org     |plasma-bugs at kde.org
            Version|unspecified                 |5.21.90
             Status|REPORTED                    |NEEDSINFO
            Product|kde                         |systemsettings
          Component|general                     |kcm_componentchooser
         Resolution|---                         |WAITINGFORINFO

--- Comment #11 from Nate Graham <nate at kde.org> ---
Okay, so the problem has become obvious. Your
/usr/share/applications/mimeinfo.cache has:

inode/directory=code.desktop;org.kde.dolphin.desktop;org.kde.gwenview.desktop;

Which means that the system thinks VSCode should be the preferred app to open
folders.

Your ~/.config/mimeapps.list file lacks any line with
"inode/directory=[something]" on it. So the system is falling back to an
alphabetical list of all apps capable of opening folders, and VSCode's .desktop
file randomly happens to have a reverse-DNS-style identifier that is
alphabetically first. If that wasn't the case, Dolphin would be used instead
and no one would be the wiser. :)

By contrast, my ~/.config/mimeapps.list file has this in it, in the [Default
Applications] group:

inode/directory=org.kde.dolphin.desktop;

Can you send screenshot of how the "Default Applications" page in System
Settings looks for you?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list