(Left) Clicking on the trash can in Plank, or right clicking on it and selecting "Open Trash" opens Code--the text editor--instead of Files.
My first thought was to check if any nonsense associations had been made in ~/.local/share/applications/mimeinfo.cache
or ~/.config/mimeapps.list
, but all I found was application/octet-stream=io.elementary.code.desktop;
in the latter--which I removed.
As expected, this changed nothing (application/octet-stream
is the mimetype for binary data; the trash icon in plank opens a folder, which has the mimetype inode/directory
).*
Maybe Code is overriding Files' association to open folders (inode/directory
)?
Installed software versions:
pantheon-code 3.4.1-1
pantheon-files 4.4.3-1
plank 0.11.89-2
*Off topic: It is very common to find that some application has been nonsensically associated with application/octet-stream
. Basically, this happens every time you open the wrong type of file in some application (although, technically, it should only happen when you open a binary file in an application). Despite that you may even have unchecked the option to "Set this as default" when you made this mistake--perhaps knowing it was probably the wrong application for that file--this is always set as default. The only way to unset this is to edit either mimeinfo.cache
or mimeapps.list
and remove the nonsense association. I have done this countless times and I am wondering when, if ever, linux desktops will cease to inflict this suffering on their users.