2
votes
0answers
180 views

Create new file type association

Let's assume I have a program X that uses files with the extension .xez. How can I make X the default application for all files with the extension .xez? My first idea was xdg-mime default X.desktop ...
3
votes
1answer
496 views

How to get the icon for a MIME type?

How to get the icon for a MIME type? I don't want to use g_file_info_get_icon() because its input parameter is a file, not a MIME type. My use case: I have a wrapper file which embeds a media ...