Topic: The #! icon location index thread

I thought it might be a good idea to have a single thread where we can post instructions and queries regarding how to change the various icons of specific apps.

Some apps don't have their icons changed when a new icon theme is installed, even though all icons are included in the installed theme. Therefore they have to be changed manually, which means finding the location of the app's icon and replacing it with a new image or symbolic link. It can be quite tedious and boring, so having this information at hand in one single thread might make things easier. Right?

So, if it's okay with the bosses, I'd like to make this the official !# icon location index thread.


I'll start:

Eclipse

I found the icons at the following locations:

/usr/share/eclipse/plugins/org.eclipse.sdk_3.5.2.v201002111343
/usr/share/eclipse/plugins/org.eclipse.platform_3.3.202.v201002111343

And they have symbolic links in the correlative paths:

/usr/lib/eclipse/plugins/org.eclipse.sdk_3.5.2.v201002111343
/usr/lib/eclipse/plugins/org.eclipse.platform_3.3.202.v201002111343

Firefox (5)

I found the icons here:

/opt/firefox/chrome/icons/default

but could be

/*/firefox/chrome/icons/default

depending on where you installed it. I suspect that the firefox directory could be mozilla for some systems.

Last edited by yuh_learn (2011-08-18 14:07:24)

Check out my screenshot history at go-deh.tumblr.com.

Re: The #! icon location index thread

BTW for distros that include a Firefox package (such as Ubuntu), mrpeachy found changing this icon worked:

/usr/lib/firefox-3.0.15/chrome/icons/default/default48.png

Just change 3.0.15 with the correct version for your distro.

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: The #! icon location index thread

Thanks for the input, anonymous.

Does anyone know how to change the VLC systray and taskbar icons? Also the GIMP taskbar icon?

Check out my screenshot history at go-deh.tumblr.com.

Re: The #! icon location index thread

This is a great idea for a thread - I just started trying to figure some out and will report back as and when... In the meantime:

Google Chrome

/opt/google/chrome

EDIT: Except changing ALL of those .png's didn't change my icon in OB or tint2 hmm

Last edited by safetycopy (2011-08-20 05:18:21)

"Stranger, if you passing meet me and desire to speak to me, why should you not speak to me? And why should I not speak to you?" Walt Whitman, 'To You'.

Re: The #! icon location index thread

haven't got any of my own, but if someone figures out how i can change the terminator icon i'd be glad. wanted to do that since the beginning of using #! because i find it ugly, have Googled and forum-searched and people said they succeeded but i could not get it to work, and given up in the end.
changing icons must be one of those little thinks i find Windows to be loads easier with. doesn't weigh up to all the linux-benefits at all of course.

Re: The #! icon location index thread

Pidgin tray icons:

/usr/share/pixmaps/pidgin/tray/hicolor

Just placed my own faenza variants in there.. niice big_smile

EDIT: So basically all Pidgin icons go there:

/usr/share/pixmaps/pidgin

Last edited by Unia (2011-08-20 10:52:58)

Let's do it and don't screw it.
      Github || Deviantart

Re: The #! icon location index thread

rhowaldt wrote:

haven't got any of my own, but if someone figures out how i can change the terminator icon i'd be glad. wanted to do that since the beginning of using #! because i find it ugly, have Googled and forum-searched and people said they succeeded but i could not get it to work, and given up in the end.
changing icons must be one of those little thinks i find Windows to be loads easier with. doesn't weigh up to all the linux-benefits at all of course.

There are a few possibilities:

When Terminator is installed, it stores its icons in

/usr/share/icons/hicolor/16x16/actions


and

/usr/share/icons/hicolor/*/apps

Where * = certain sizes that I'm not sure of. Just check the different size folders (not that it matters since they won't be used once you're done).

There's also an icon saved in

/usr/share/pixmaps

The icon is called terminator.png, and you'll have to check the folder for the theme you're using for these. If they are there, try changing the icon in the pixmaps folder. If that doesn't help, try disabling the cache file in the default theme and "re-change" the icon theme in your user interface settings.

/usr/share/icons/hicolor/icon-theme.cache

If you ever feel that an icon change should work but it doesn't, it can be a good idea to remove the cache files in the hicolor folder or/and the folder of the theme you are using. It might also a good idea to back them up by, for example, adding .old instead of just deleting it.

I hope this helps.

Check out my screenshot history at go-deh.tumblr.com.

Re: The #! icon location index thread

^ I tried replacing the Google Chrome icons in /usr/share/icons/hicolor/16x16/apps (and 22, 24, 32, etc) and still had no joy in getting OB or tint2 to recognise the new icons.

I don't understand why this is so difficult! big_smile

"Stranger, if you passing meet me and desire to speak to me, why should you not speak to me? And why should I not speak to you?" Walt Whitman, 'To You'.

Re: The #! icon location index thread

http://ompldr.org/vYW01OA

That icon. I've been looking for it in my /usr/share/icons/ path, but can't seem to find it. I wish to replace it with something else, but it's difficult if I don't know what it's called and it which path to put it! Can someone help me?

I've looked in the gnome and hicolor sets without success. I even did a TinEye search which gave me zero results. It usually shows up when I run terminal applications who open a second window, like mplayer.

Check out my screenshot history at go-deh.tumblr.com.

Re: The #! icon location index thread

@yuh_learn - Does the icon change with different icon themes? Try Tango, Elementary, Faenza, or others.

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: The #! icon location index thread

There's an icon at /usr/share/icons/application-default-icon.png - is that the one?

"Stranger, if you passing meet me and desire to speak to me, why should you not speak to me? And why should I not speak to you?" Walt Whitman, 'To You'.

Re: The #! icon location index thread

@anonymous:

No, I think it's some sort of default icon. I'm using the Faenza theme and It's most certainly not part of that set. I've set Faenza to inherit Faenza > gnome > hicolor.


@safetycopy:

I couldn't find a file named that in that particular directory, but an icon with that name exists (only) in the Faenza path. It looks like they could be used for the same thing.

It exists in smaller size in /usr/share/pixmaps/openbox.xpm .

Last edited by yuh_learn (2011-10-01 22:11:56)

Check out my screenshot history at go-deh.tumblr.com.

Re: The #! icon location index thread

yuh_learn wrote:

It exists in smaller size in /usr/share/pixmaps/openbox.xpm .

Does renaming/moving that file make any difference?

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: The #! icon location index thread

@anonymous:

Nope, the openbox.xpm one is smaller, probably 32x32 px. The one above is 48x48 px.

Check out my screenshot history at go-deh.tumblr.com.

Re: The #! icon location index thread

Alright. I found the icon. It's compiled into Openbox and changing it is thus a compile-time option. The file is found in the sources:

[...]/openbox-[version]/obrender/icon.h

or

[...]/openbox-[version]/render/icon.h

Depending on what version you are compiling. There are instructions in icon.h for how you can save an icon as your own icon.h:

"To recreate this file, save an image as \"C-Source\" in The Gimp. Use \"ob_default_icon\" as the Prefixed Name. Enable Glib Types. Enable Save Alpha Channel. Enable Use Macros instead of Struct."

Case closed, I suppose.

Loss for me, win for the icon location index thread.

Oh, I forgot; openbox.xpm is only there as an "example", it doesn't do sh*t.

Last edited by yuh_learn (2011-10-03 13:21:18)

Check out my screenshot history at go-deh.tumblr.com.

Re: The #! icon location index thread

^ Well, good job on figuring it out - I guess yuh_learn something new every day big_smile (sorry)

"Stranger, if you passing meet me and desire to speak to me, why should you not speak to me? And why should I not speak to you?" Walt Whitman, 'To You'.

Re: The #! icon location index thread

Thank you. No need to apologize, there's always room for a pun. smile

Check out my screenshot history at go-deh.tumblr.com.

Re: The #! icon location index thread

Did anyone ever find the VLC tray icon location? I've replaced all highcolor icons to no avail hmm

"'If fighting is to result in victory, then you must fight'...Sun Tzu said that and id say he knows a little more about fighting then you do pal."

- TF2 Soldier

Re: The #! icon location index thread

I haven't reached anywhere with the VLC icons - neither the taskbar or systray ones. This is all I've managed to dig up, but I don't think it has any effect on these icons:

These are the only possibly relevant images I've found:

/usr/share/vlc/vlc.ico

/usr/share/vlc/http/images/vlc16x16.png

/usr/share/vlc/lua/http/images/vlc16x16.png

However, changing them hasn't made any difference for me.

Check out my screenshot history at go-deh.tumblr.com.

Re: The #! icon location index thread

yeah i got those to hmm, i even replaced the Hicolor icon's to no avail. Run

locate -A /usr vlc

ive hit up every single one of those paths to no avail.

"'If fighting is to result in victory, then you must fight'...Sun Tzu said that and id say he knows a little more about fighting then you do pal."

- TF2 Soldier

Re: The #! icon location index thread

Maybe the icon is builtin to VLC like it was for Openbox?

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: The #! icon location index thread

That's what I've read, that you'd need to rebuild it from source to replace them hmm

"'If fighting is to result in victory, then you must fight'...Sun Tzu said that and id say he knows a little more about fighting then you do pal."

- TF2 Soldier

Re: The #! icon location index thread

Yep. I suppose there's not much to do about the VLC icons.

Check out my screenshot history at go-deh.tumblr.com.