Monday, October 22, 2007

that 'Mark all upgrades' icon

Do you know the one - in Synaptic? It's a shocker. And whats more it's been an object of complaint for some time. Lauri Tamila first posted a replacement icon on his website - 'http://www.taimila.com/?q=node/3 when Dapper was fresh.

The issue is raised again and again in Ubuntu forums. At least two people have raised an associated bug with the Ubuntu development team, and yet here we are three releases later with the same ugly icon in Gutsy Gibbon.

Actually, Lauri's method for replacing the icon hasn't worked for me. But a couple of forum members have posted suggested solutions:

1. "here is the icon, to use it in Ubuntu just move it to
sudo mv system-upgrade.png /usr/share/icons/Human/24x24/apps/
and update the icon cache...looks great!
http://librarian.launchpad.net/7887874/system-upgrade.png"

2. "The way you can find it (the icon) is with this command:
locate synaptic |grep png
If you've never used locate, you need to update its database first (this takes a couple of minutes to complete):
sudo updatedb
After doing this myself, I discovered that there isn't a single image for the "mark all upgrades". It is part of a larger image for the whole toolbar. There are a few copies of this image, but one is located at:
/usr/share/synaptic/html/figures/synaptic-toolbar.png"

It appears that the lack of action on this icon may be due to an impasse revolving around a wider issue - functionality of synaptic. See:
https://bugs.launchpad.net/ubuntu/
+source/synaptic/+bug/40583

I'll investigate this further tonight.

And success! I sifted and combined the advice above and came up with these steps:
1. in terminal: sudo updatedb
2. in terminal: locate system-upgrade.png
3. that gave me a list of 3 locations; the crucial one is /usr/share/icons/hicolor/24x24/actions/, so -
4. in terminal: cd /home/ado (asuming that's where I saved the replacement image)
5. in terminal: sudo cp system-upgrade.png /usr/share/icons/hicolor/24x24/actions/
6. gtk-update-icon-cache

There's still a smaller version of the icon in the sister 16x16 folder. It's day will come.

No comments: