I am trying to make gthumb the default when opening png files from the terminal
$ xdg-mime default ~/.gnome/apps/gthumb.desktop image/png
I created this symlink:
$ ls -l ~/.gnome/apps/gthumb.desktop
lrwxrwxrwx 1 gauthier gauthier 15 Jun 27 /home/gauthier/.gnome/apps/gthumb.desktop -> /usr/bin/gthumb
I expect xdg-mime query default image/png to return gthumb. Instead, it says:
$ xdg-mime query default image/png
eog.desktop
Why doesn't setting default have the effect I expect?