"Open Folder" opens VSCode instead of Explorer/Finder

Hey guys,

every time I click on button inside a program that’s labeled like “Open Folder” VSCode is being opened instead of Explorer/Finder.

I’m using Gnome3.

I haven’t found anything useful on Google, unfortunately.

Maybe one of you can help me.

cat ~/.config/mimeapps.list

Check the inode/directory property

2 Likes

It appears to be the culprit, thanks :smiley:

inode/directory=code_code.desktop;

Can you tell me what the Explorer/Finder value is?

1 Like

I don’t know - you can try with nautilus.desktop as nautilus is the Gnome filemanager.

1 Like

It’s org.gnome.Nautilus.desktop for the Nautilus file manager.

3 Likes

That works. Thanks :slight_smile:

1 Like

never going to be easy anymore :slight_smile: - maybe next time I should suggest doing something like this

grep -rl 'nautilus' /usr/share/applications
1 Like

When I don’t have the said package installed (like in this case), I usually search for the package in the Arch/Packages website.
There the package description page has a nice “Package contents list” feature, where you can see its contents and the .desktop file(s) among them.

It works most of the times, unless it’s a Manjaro specific package. :slightly_smiling_face:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.