Agree with @starball. but If you have still issue after doing xdg-settings set .. try update-desktop-database ~/.local/share/applications/ I my case it helped :)
xdg-settings set ..
update-desktop-database ~/.local/share/applications/