Problem
Sometimes, the OS open a new VSCode instance when you want to open a directory (via xdg-open) with the default file manager (such as nautilus).
Many users have claimed about this issue: #41037, #80499, #44344, archlinux, ...
Background
The OS chooses an application when opening a file (directory is a