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 Wed 26 Nov 2014, 06:20
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 Posts_count  
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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0355s ][ Queries: 12 (0.0033s) ][ GZIP on ]