I had the same issue with Firefox on Arch Linux and LXDE. The "Open containing folder" in Firefox was opening the Elementary Code editor.
The solution described in rmoorman's comment #16 also worked for me.
I had to update /usr/share/applications/mimeinfo.cache ,
and change the line:
inode/directory=io.elementary.code.desktop;pcmanfm.desktop;
to:
inode/directory=pcmanfm.desktop;
Now Firefox opens the folder correctly with pcmanfm. I guess it is the same for all applications.
I had the same issue with Firefox on Arch Linux and LXDE. The "Open containing folder" in Firefox was opening the Elementary Code editor.
The solution described in rmoorman's comment #16 also worked for me.
I had to update /usr/share/ applications/ mimeinfo. cache ,
and change the line:
inode/directory =io.elementary. code.desktop; pcmanfm. desktop;
to:
inode/directory =pcmanfm. desktop;
Now Firefox opens the folder correctly with pcmanfm. I guess it is the same for all applications.