How can I add an icon to a self-created mimetype and extention?

nochDau

New Member
Joined
Dec 11, 2021
Messages
3
Reaction score
1
Credits
26
Mimetype: txt/tipps
Extention: .tipps
Icon: txt-tipps.png

My system is Mint 20.2 Cinnamon.

Thanks
 


KGIII

Super Moderator
Staff member
Gold Supporter
Joined
Jul 23, 2020
Messages
4,513
Reaction score
4,189
Credits
36,208
Have you seen this?


You'd possibly have to change the directories where you place a copy of the icon, but it looks like a good start.
 
OP
N

nochDau

New Member
Joined
Dec 11, 2021
Messages
3
Reaction score
1
Credits
26
Thanks, i already tried it this way.
But now I came across a funny behavior:
I have tested with empty files => no icon.
By chance I renamed a file with text => success!!!!

When I remove the text, the icon will disappear again.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Members online


Top