yacreader
yacreader copied to clipboard
YACReader should not steal 'inode/directory' mimetype
When installing on Linux, yacreader sets itself as a new 'default file manager' in /usr/share/applications/mimeinfo.cache. That's annoying, because some programs ignore user mimetype settings for inode/directory and use only mimeinfo.cache. And yacreader is NOT a file manager.
Found a solution on Reddit, if anyone else is still experiencing this issue:
gio mime inode/directory org.gnome.Nautilus.desktop
This is using Nautilus, but you can change it to your file manager of choice.
This is still an issue as of version 9.15.0.0 running on Arch with GNOME (using Wayland). To fix:
- I removed
inode/directoryfrom theMimeTypefield in the YACReader.desktop file (usr/share/applications). - From the terminal run
$xdg-mime default org.gnome.Nautilus.desktop inode/directoryto set nautilus back as the default file manager.