yacreader icon indicating copy to clipboard operation
yacreader copied to clipboard

YACReader should not steal 'inode/directory' mimetype

Open cyberpunkrocker-zero opened this issue 3 years ago • 2 comments

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.

cyberpunkrocker-zero avatar Nov 18 '22 12:11 cyberpunkrocker-zero

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.

aldomann avatar May 13 '24 21:05 aldomann

This is still an issue as of version 9.15.0.0 running on Arch with GNOME (using Wayland). To fix:

  • I removed inode/directory from the MimeType field in the YACReader.desktop file (usr/share/applications).
  • From the terminal run $xdg-mime default org.gnome.Nautilus.desktop inode/directory to set nautilus back as the default file manager.

jpdomann avatar Jan 28 '25 02:01 jpdomann