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
How do I assign an icon to a particular file extension?
- papaschtroumpf
- Posts: 250
- Joined: Fri 17 Jun 2005, 04:23
How do I assign an icon to a particular file extension?
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
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