12th June 2009, 09:35 PM
I tried asking this in another thread but it got buried..
I just downloaded some really nice icons off gnomelook.org. The artist's name is Deviantdark, his icons are the Oxygen series, maybe you have seen them.
Anyway, I was using these icons to on desktop with no problems but when I tried to change the corresponding panel icons it only gives me a small selection of preloaded .svg icons. The ones I downloaded are all .png. I tried saving a few as .svg but that didnt work either. I was hoping someone could tell me how to fix this.
Or is there some kind of script or something that will just incorporate the whole package?
My other question is about the use of certain icons such as the trash can. In the icon package there is an empty trash icon as well as a full trash icon. After I got rid of the system icon the trash no longer changes to indicate if its full or not. This is not a problem at all, I dont even care. Its more out of curiosity. Is there a way that you can get the icons to be "active" instead of just images?
Its great that so much customization is available now I just need to learn how to do it effectively:rolleyes:
12th July 2009, 11:57 PM
If the system wants .svg, it won't accept .png — one's vector graphics and the other bit-mapped graphics.
The empty trash icon lives in a places folder, but the full trash in a status folder.
This may not be much help, but I thought I'd say something since no-one else has. Tinkering with this sort of thing can keep you quiet for hours, as I know all too well!
13th July 2009, 06:42 AM
There shouldn't be any issues with .svg or .png - I use them interchangeably.
When you go to change a panel icon (via right click > Properties and click on the icon button) you bring up the Browse Icons window. At the top right of that is a Browse button that will let you select an alternate folder from which to choose icons. There is no restriction on which folder you can choose.
Most icons are in folders below /usr/share/icons. The icon sets are one per folder, with sub-folders for things like apps, emblems, mimetypes, status, etc. There may be sub-folders for different icon sizes (e.g scalable, or 48x48) - you'll figure that out, I'm sure. Not all icon sets are complete - you can see that for yourself if you browse through those folders. But you can address that by specifying "inherits" for the icon theme.
The icon theme can be changed via the main menu: System > Preferences > Look and Feel > Appearance and select the Customize button and then the Icon tab to pick a new icon theme for whatever desktop theme you're using. You can save any particular icon theme as the default for a desktop theme for your user - just save the customised desktop theme (via Save As) and give it a name - it''ll save that in folder /home/<username>/.themes, i.e. only available to your user account. You can make it a system-wide change by editing the theme specification - more on that later.
Icon themes are specified in each icon folder (e.g. /usr/share/icons/Tango) in a text file (index.theme). To open such a file, use the command line as root, e.g.:
At the top of the file (usually the fourth line) you'll see the specified icon theme inherits - these are simply the names of themes, in order of preference, that your system should fall back to when trying to find an icon for a particular object. For example, if in the Oxygen icon theme.index file you specify these inherits:
... and there's no icon given in Oxygen, your system will search the Tango theme, and if it doesn't find it there, it will search gnome theme, and so on. BTW, the official name of the icon theme, which you may need later, is given in a line like this:
The objects (for which icons are assigned) are named according to the freedesktop.org specification - a standard object name or, for a specific application, the application executable name.
You can read the specification here: http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html
If you take a look at the Standard Place Icons section of the specification, you can see it specifies "user-trash", which is the empty trash can icon. Now take a look at the Standard Status Icons section, and you'll see "user-trash-full". The Oxygen icon theme does have icons for both, so I'm betting you manually changed the desktop trash icon (by right-clicking on it) instead of changing the icon theme. To correct the problem, just change the icon theme (as described above). Any manually changed icons will have to be changed to their theme defaults if they're misbehaving.
Desktop theme specifications are defined similarly to icon themes, but in /usr/share/themes. I won't go into the details, even though I've been editing gtk and metacity themes lately, just for kicks. The important point is that you can specify a default icon theme for a desktop theme via the file index.theme. For example, for the desktop theme "Crux", there is a corresponding icon theme also called "Crux". You can change it by editing the file:
... and, usually right at the bottom, you'll see the line to edit - use the icon theme's official name:
That ought to be enough for now. Have fun. :)
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.