when i click places, vs code opens, its the funniest bug i have ever seen

  • I might have come across a solution for your problem. I have encountered a similar issue on GNOME after installing decibels audio player as flatpak. Afterwards, decibels started each time I was trying to open folders via the GNOME Places extension. I contacted the decibels devs and they pointed me to the Arch wiki

    Under 3.3 (Directories are not opened in the file manager), the proposed solution is
    xdg-mime default org.gnome.Nautilus.desktop inode/directory
    to set nautilus again as the default application for opening directories.
    This solved my issue.
    I imagine, this could also resolve your issue. Though you might have to replace the nautilus desktop file with the nemo desktop file in the command above, if nemo is your standard file browser.

lol, how do i fix it ? im not really using vs code at the moment, maybe ill just delete it if there is no fix

    @minh right-click on what ? i can open the places menu, but if i click on anything, right or left click, it opens up vs code

    MMUTFX2053 lol, how do i fix it ? im not really using vs code at the moment, maybe ill just delete it if there is no fix

    If you're on Budgie or GNOME (sounds like you're on GNOME), just open the Control Center, navigate to the "Default Applications" page, and then under "Files" select "Files" (or whatever file manager you usually use) instead of "Visual Studio Code"

      Yes, it would be really helpful to know which DE you're on. I wasn't able to reproduce this on a Budgie or GNOME VM.

        ReillyBrogan On my Budgie system that still has Nautilus as a file manager all it takes is installing vscode for it to become the default handler for inode/directory (as visible in the above-mentioned "Default Applications" menu). Haven't tried it with GNOME.

        Staudey yes i am on gnome, and for some reason, files doesnt show in default apps

        and when i click on default apps, it hangs for a couple of seconds

        Just as a data point, I do not see this bug in Plasma (unstable). When I look at the default applications, "Dolphin" is listed for file manager as it should be. Clicking around in the file manager opens folders and files as I'd expect.

        well.. I downloaded a .7z file and wen I clicked to open it (from firefox) vscode thought that it's his time to shine lol

          Staudey open the Control Center, navigate to the "Default Applications" page, and then under "Files" select "Files" (or whatever file manager you usually use) instead of "Visual Studio Code"

          seems to be fixed by this

          8 days later

          since i could not find a solution, i just deleted VS Code and now the places menu works, but when i go into settings -> default apps, it hangs for a couple of seconds, and i cant see any entry for files, its missing

          2 months later

          I might have come across a solution for your problem. I have encountered a similar issue on GNOME after installing decibels audio player as flatpak. Afterwards, decibels started each time I was trying to open folders via the GNOME Places extension. I contacted the decibels devs and they pointed me to the Arch wiki

          Under 3.3 (Directories are not opened in the file manager), the proposed solution is
          xdg-mime default org.gnome.Nautilus.desktop inode/directory
          to set nautilus again as the default application for opening directories.
          This solved my issue.
          I imagine, this could also resolve your issue. Though you might have to replace the nautilus desktop file with the nemo desktop file in the command above, if nemo is your standard file browser.

          This is the GNOME devs explanation for this matter, and this is the issue I have opened on our dev tracker.