Linux & Visual Studio Code: super + e

Viewed 1372

I just installed Visual Studio code a few minutes ago, and now I have this problem. When I press super + e instead of opening my explorer it now opens visual studio with it's explorer open. Obviously I do not want visual studio to be opened everytime I press this shortcut and would like to be able to use it to browse through files. Thanks for any help.

Update: It seems to have replaced the default explorer for alot of things, for example if I click on removable drives then click file manager, the folder will open up in vscode.

3 Answers

For deepin 15.10 use

xdg-mime default dde-file-manager.desktop inode/directory application/x-gnome-saved-search

I find the ans from super + e opens VS Code on Linux Deepin

The solution is to change the order of apps open
code /usr/share/applications/mimeinfo.cache
find
inode/directory
assign code.desktop;dde-file-manager.desktop;to it

The above solution is useful and directly for me to solve the problem.I just need to edit the file /usr/share/applications/mimeinfo.cache, move dde-file-manager.desktop; to the position which is former than vscode.

BTW, I have tried to type xdg-mime default dde-file-manager.desktop inode/directory application/x-gnome-saved-search in my terminal but it seems nothing happen.

Related