Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 31 Jul 2014, 07:32
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
How do I assign an icon to a particular file extension?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
papaschtroumpf


Joined: 17 Jun 2005
Posts: 250

PostPosted: 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
Back to top
View user's profile Send private message 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Sun 03 Jul 2005, 14:41    Post subject:  

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
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

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


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0370s ][ Queries: 11 (0.0039s) ][ GZIP on ]