# it seems there's no need to put sxiv.desktop into ~/.local/share/applications/ if there exist sxiv.desktop in /usr/share/applications # no need to use xdg-mime to install it if already exist? # but if you what to create new .desktop desktop entries with new name, you need to put it in ~/.local/share/applications/ [Default Applications] application/pdf=org.pwmt.zathura.desktop; image/gif=nsxiv.desktop; image/jpeg=nsxiv.desktop; image/png=nsxiv.desktop; inode/directory=file.desktop;