lehitoskin / ivy

Ivy, the Taggable Image Viewer
GNU General Public License v3.0
16 stars 3 forks source link

Integrate with desktop "Open With" context menus. #28

Open audreytoskin opened 8 years ago

audreytoskin commented 8 years ago

Normally when you right-click on a file in your file manager, the context menu has an entry to choose which application with which to open the file. Ivy does not appear in the list of available applications for viewing images.

At least, not with Nautilus 3.18.5, with GNOME Shell 3.18, running on Fedora 23 x86_64. Probably you need to add an entry to some XDG or FreeDesktop config file.

I can test on Cinnamon and KDE too once we figure out the necessary config files.

lehitoskin commented 8 years ago

Possibly a pathing thing with ivy-image-viewer.desktop ?

IonoclastBrigham commented 8 years ago

Just tested this on OS X. It gives you a short list of recommended apps, but you can pick from the file browsers. By default, it will disable selecting non-recommended apps, which you can override with a drop-down.

Even when I do this, and select ivy, it just pops up to a blank frame, so it's clearly not getting the message I just tried to open a file. There's probably an entry you can put in the Info.plist file that registers the app as an image viewer.

lehitoskin commented 8 years ago

There is a ~/.local/share/applications/menu-xdg/ directory on my system that contains .desktop files. I'll have to test if that does what I think it does.