Posted: Sun 03 Jul 2005, 10:40 Post subject:
How do I assign an icon to a particular file extension?
How do I assign an icon to a particular file extension?
In particular I want to assign a CD icon to the .iso filetype, which to my knowledge doesn't have an official mime-type.
Also I want to do thi from a script, not drag-androp magic _________________ Mandriva LE 2005 user and puppy newbie
to add an icon to a mime-type, just put the icon in Choices/MIME-icons/ ... name the file after the mime-type, for example, application_pup.xpm, application_zip.xpm, image_x-xpixmap.xpm
to make a new mime-type for iso files, edit the file /usr/local/share/Choices/MIME-info/Standard ... or copy Standard to /root/Choices and edit /root/Choices/MIME-info/Standard
if you want to set a Run Action for a mime-type, put the run-action executable in /root/Choices/MIME-types
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum