IITDU Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Change file type icons (mime types)

2 posters

Go down

Change file type icons (mime types) Empty Change file type icons (mime types)

Post by BIT0122-Amit Fri Jul 30, 2010 4:13 pm

Hey there Smile
Ever wished that ubuntu will show you icons for file types as you want?

I found the proper way, just for you Very Happy

first of all, we need to install assogiate.

Code:

sudo apt-get install assogiate

Now, before changing any settings, we need to know exactly the file type's identity by which gnome detects it.
So, lets create a file first.
Lets assume, we are going to change the icon of a *.class file.
make amit.class file, and then right click on it. go to properties.

you will see something like this:

Change file type icons (mime types) Screen23

Note the application identity. it is /application/x-java, right?

Now go to Applications>System tools> File types Editor

and on the search tab, type x-java, and you will find the needed file type Wink

Change file type icons (mime types) Screen24

there might be two x-java, one is an application type, the other is a text/source type. but we already know it is the application type, because of that /application/x-java part Very Happy

Now, double click on it. there, click on the browse button for default icon, and set an image there. Png is suggested Wink

Change file type icons (mime types) Screen25

And you are done!!
BIT0122-Amit
BIT0122-Amit
Founder
Founder

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

https://iitdu.forumotion.com

Back to top Go down

Change file type icons (mime types) Empty Re: Change file type icons (mime types)

Post by BIT0103-Ovid Fri Jul 30, 2010 6:02 pm

Very Happy good job..
BIT0103-Ovid
BIT0103-Ovid
Release Candidate
Release Candidate

Course(s) :
  • BIT

Blood Group : O-
Posts : 150
Points : 261

Back to top Go down

Change file type icons (mime types) Empty Re: Change file type icons (mime types)

Post by BIT0122-Amit Fri Jul 30, 2010 6:08 pm

BIT0103-Ovid wrote:Very Happy good job..

কিপটা মডারেটর Neutral ভোট দেয় না Neutral
BIT0122-Amit
BIT0122-Amit
Founder
Founder

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

https://iitdu.forumotion.com

Back to top Go down

Change file type icons (mime types) Empty Re: Change file type icons (mime types)

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum