Tweaking Icons in Ubuntu Linux, Especially for use with Compiz and Avant Window Navigator

This is the sort of thing where the actual information is spread out across all four corners of the Internet and can rarely be found in one place cohesively. I aim to change that.


Insert some sort of meta-commentary about desktop aesthetics here
Gnome's Appearance Panel does a pretty good job of standardizing icons for a theme you select, but it doesn't get absolutely everything. Those little icons in the top left corner of the window, for instance. Or if you use Compiz or Avant Window Navigator (AWN), many of the icons pulled from the system for usage within those programs. AWN allows you to select custom icons, but those don't always "take" properly. Compiz does not give you this option at all. The result is the ruination of an otherwise seamless experience when you hit alt+tab by way of the wrong icons appearing in the application switcher. Maybe some will be small, and others will be twice as big. Some will be pixelated because they're stretched out; others are crystal clear. The purpose of this guide is to give you a little extra knowledge so that you might create for yourself a more seamless desktop experience. Eye candy certainly isn't everything, but it can make long sessions in front of the computer a lot more pleasant.

This guide should apply to Ubuntu 7.10 (Gutsy) and 8.04 (Hardy). It may work for other distros and other versions of Ubuntu. Alternatively, it may not work for any computer except my own. If that is the case, sorry!

Things you'll want:

  • nautilus-image-converter (apt-get this) -- this is great for resizing images straight from Nautilus without having to open up The GIMP.
  • a dash of paranoia + pack rat mentality so that you'll back up all icons you change -- who knows when you'll need those ugly backups, or what you might need them for...
  • the hard headedness to simply rename a .png file to .xpm and replace lots of xpm files this way -- because I don't know any better and couldn't tell you the difference between png and xpm. My desktop doesn't seem to notice the difference either.

The first step is relatively obvious: go to System > Preferences > Appearance, install your icon package by clicking the install button and locating the package, then select it by customizing the theme and selecting the icon package.

Now that this is taken care of, notice that some icons did not get customized. You'll have to do these yourself.

Common places to find icon files that are used by AWN/Compiz include:

  • Note that the following directories do not allow regular users to modify their contents by default. An easy way to change the file permissions here is to go to a parent directory such as /usr/share/icons (for the next bulleted item below) and running the command 'sudo chmod -R o+w /usr/share/icons/'. This command allows users other than the owner (root) to write to /usr/share/icons/ and all files and folders within that folder because of the recursive flag (-R).
  • Most programs can be found in '/usr/share/icons/hicolor/48x48'. Icons within the other size-based folders in 'hicolor' may also be of interest to achieve best effects.
  • Firefox icons are different. Perhaps due to it being such a cross platform program, it places them in a different location. You can find them in and around /usr/lib/firefox/icons and /usr/lib/firefox/chrome/default/icons.
The method you want to follow to replace these icons is to back up the icons that look like the ones you want to replace, then copy/resize/rename the icon you want as the icon you're replacing. It's hacky but you should be able to get it to work.
Note: I have not yet found the location of the OpenOffice pixmap files that would need to be modified to make this seamless for those icons as well.

33 comments:

Anonymous said...

Regards OpenOffice icons, have you checked /usr/share/icons/hicolor/48x48/mimetypes? My system have a lot of openoffice24*.png files there.

Noah said...

Honestly haven't had time to think about my icons since I made this post.

I definitely wish someone would design a tool to make icon management easier in (gnome) Linux.

Rossie Jordan said...

Remarkable job!Very cognitive post.
[email protected]

cartouches d encre said...

Hi...
I just purchased Ubuntu 9.04 and was looking to download attractive icons. You have solved my problem here. Thank you so much for explaining installation process here. I hope it will done successfully.

jared said...

purchased ubuntu?! hmmmm...

Anonymous said...

Nice Post indeed.
Worked 4 me.

Off base..

Jared, me don't understand that Cartouches French Fried neither..
lol ?
:p

Unknown said...
This comment has been removed by the author.
Unknown said...

This News related about Compiz and Avant Window Navigator, I am working in Hartware field So this methods was really more useful for me. Thanks lots for sharing the news.

web designing companies in bangalore | website designing company bangalore

Unknown said...

I like the post! It’s really informative.
Good job! :) very inspiring and helpful!
web design abu dhabi

Unknown said...

I like the post! It’s really informative.
Good job! :) very inspiring and helpful!
web design abu dhabi

Carpet Cleaning London Ontario said...

Thank you! Very nicely done and I truly enjoy it.

Carpet Cleaning London Ontario

Unknown said...

Thanks for sharing this valuable content. In my view, if all webmasters and bloggers made good content as you diddetecting deception.

Unknown said...

concrete sleepers brisbane


Great article with excellent idea!Thank you for such a valuable article. I really appreciate for this great information..

Unknown said...

I hope you never stop! This is one of the best blogs I've ever read in this site. Youve got some mad skill herecleaning

Unknown said...

Among the best sites I have come across in a while.car polish.

Unknown said...

landscapers geelong

The information that you give thru blogging is very useful. keep it up!

Unknown said...

Mobile massageThis blog is very informative. Keep it up

Unknown said...


Thanks for sharing this valuable content. In my view, if all webmasters and bloggers made good content as you did, the web will be a lot more useful than ever before.small business book keeping

Unknown said...

I can set up my new idea from this post. It gives in depth information. Thanks for this valuable information for all,House for renovation

Unknown said...

I can set up my new idea from this post. It gives in depth information. Thanks for this valuable information for all,House Cleaning Service

Unknown said...

Trying to say thanks won't simply be adequate, for the fantasti c clarity in your written work. I will immediately snatch your rss channel to remain educated of any updatesHouse Cleaning Service

Unknown said...

Very good written article. It will be supportive to anyone who utilizes it, including me. Keep doing what you are doing – can’r wait to read more postsgarden design brisbane

Unknown said...

So glad I got my phone working again. Couldnt have done it without this article. Thanks!
Shared with my fellow friends at
Our team

Unknown said...

Trying to say thanks won't simply be adequate, for the fantastic and clarity in your written work. I will immediately snatch your rss channel to remain educated of any updateslawn care Geelong

Unknown said...

You actually make it seem so easy with your presentation but I find this topic to be really something that I think I would never understand. It seems too complicated and very broad for me. I’m looking forward for your next post, I’ll try to get the hang of it
garage doors repair Nampa
interior painting
exterior cleaning
deck staining
painting company

Unknown said...

I have read a few of the articles on your website now, and I really like your style of blogging. I added it to my favorites site list and will be checking back soon. Please check out my site as well and let me know what you think
garage door repair santa rosa
bay area pavers design

Unknown said...

Bathroom Renovations in Parramatta

Unknown said...

Solar Farms

Harry Oliver Krock said...

Your writing includes the creative idea that is really useful for me as a reader. Your information is amazing and original that attracts readers who love reading such articles like that. You have the ability to impress a person with your writing skills. We want to read your more blogs with some more creativity.
Tech - "write for us"

Dentists Calgary said...

Posts are all wonderful and great. Thank you!

Dentists Calgary

Unknown said...

Thanks so much for this wonderful website!!

small business consulting services
sanitation service
home painter
painting contractor
tattoo liner
skin tightening
fibroblasting in austin
fibroblasting in dallas

Real Estate Agent in Red Deer said...

Please continue to inspire your readers. Good work!

Real Estate Agent in Red Deer

Resolve QuickBooks Errors said...

I appreciate the information. If you use QuickBooks, you can encounter a number of issues, including QuickBooks Error 6189 77. You may see How to Fix QuickBooks Error 6189 77 or call the toll-free number +1-(855)-955-1942 to speak with professionals directly.

Post a Comment