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

nochDau

New Member
Joined
Dec 11, 2021
Messages
4
Reaction score
1
Credits
38
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
6,682
Reaction score
5,846
Credits
53,779
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
4
Reaction score
1
Credits
38
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!

Linux.org Hosting Donations
Consider making a donation

Staff online


Top