Places opening in VSCode

I have the latest version of VS Code and Gnome installed.

Weirdly enough, when opening all directories from the Places menu on the top-left, it opens in VS Code instead of the file manager.

How could I fix this?

This is happening in your ~/.config/mimeapps.list

Change the inode/directory and inode/symlink to use the file manager.

I don’t recall the exact name but it is something like org.gnome.Nautilus.desktop but you can verify by listing

ls /usr/share/applications/org.gnome*
1 Like

Worked perfectly! Though there wasn’t any inode/symlink but only /directory.

Should I add the line or what’s the difference?