How to set nautilus to open folders by default?

Since I installed vscode, when I try to open a folder, vs code always opens instead of nautilus, which is the file manager, I’ve already tried this command:

xdg-mime default nautilus.desktop inode/directory

You could try uninstalling vscode and deleting the respective (hidden) configuration directories under ~/ (your profile), and installing Code OSS (vscode) from the official Manjaro repositories:

sudo pacman -S code

This might help. Cheers.

1 Like

Some additional options:

  • xdg-mime default org.gnome.Nautilus.desktop inode/directory
  • GNOME/Files - ArchWiki (Files is no longer the default file manager)
1 Like

Thanks for the help , THANK YOU VERY MUCH!! That was the right command and it worked!!

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