Introduction
For years, there have been posts scattered across the internet from users who, after an update or installation of certain key packages in Arch Linux, have noticed that folders (especially icons on the desktop) do not open with Nautilus but with another program. In particular, there have been many mentions (and it was also my case) of folders opening with VS Code.
All of this stems from the configuration of gio mime.
Solution
To see which programs are listed to open directories, we enter the following command: gio mime inode/directory
This will return a response similar to this:
|
|
To choose an option as the default:
gio mime inode/directory <application>
For example:
|
|