xdg-mime default <application> <mimetype(s)...>

Ask the desktop environment to make application the default application for opening files of type mimetype

Arguments

NameDescription
application
mimetype(s)