PDA

View Full Version : How do I change icons?



Henry Radcliffe
17th November 2008, 05:54 PM
How do I change icons in Fedora?

I know how to change the theme in gnome, but I only want to replace a small number of individual icons with custom-made icons.

PabloTwo
17th November 2008, 06:27 PM
That depends on where the icons appear that you want to change. Icons on your Desktop? Icons for application launchers in your Panel(s)? Icons within applicatios such as your GUI file manager? Each may require a different approach as to what you do to change the icon(s). It's easy to change an Icon Theme, the same way you would change your Theme, but targeting specific icons only requires a bit more savvy. Could you be more specific?

vlav
17th November 2008, 06:38 PM
For examle in running task bar? Running nautilus looks like a box - terrible.

JohnVV
17th November 2008, 11:54 PM
you mean the 2 drawer file cabinet for " file Roller "
make your icon and save it as a .png to /usr/share/pixmaps
you will need to start gimp as root to do that


su
gimp

then still as root in the terminal start gedit
and navigate to /usr/share/applications
and open gnome-file-roller.desktop


gedit /usr/share/applications/gnome-file-roller.desktop
and edit line 258
---
Icon=file-roller
---
to
Icon=YourIcon.png
or maybe
Icon=/usr/share/pixmaps/YourIcon.png
and save
then logout and log back in

pwca
18th November 2008, 02:16 AM
Interesting way to solve the problem JohnVV.

I do the same thing by navigating to the same directories and renameing the default icon to [iconname].png.OLD and then copying the icon I've created into the directory and giving it the default icons old name. This method has the added benefit that no matter what application calls for the icon mine will be used instead.

Wayne
18th November 2008, 04:29 AM
Many Gnome icons can be changed by right-clicking on the item to change, selecting Properties and clicking on the icon to the left of "Name:" on the first (Basic) page...

Wayne

JohnVV
18th November 2008, 04:56 AM
Interesting way to solve the problem JohnVV
true but i tend to build a lot of programs from source and then need to make my own *.desktop file
It's habit

but Wayne post is a lot easer to do

vlav
18th November 2008, 05:29 PM
[vlav@localhost ~]$ locate file-roller.png
/usr/share/icons/Bluecurve/16x16/apps/file-roller.png
/usr/share/icons/Bluecurve/24x24/apps/file-roller.png
/usr/share/icons/Bluecurve/32x32/apps/file-roller.png
/usr/share/icons/Bluecurve/36x36/apps/file-roller.png
/usr/share/icons/Bluecurve/48x48/apps/file-roller.png
/usr/share/icons/HighContrastLargePrint/48x48/apps/file-roller.png
/usr/share/icons/HighContrastLargePrintInverse/48x48/apps/file-roller.png
/usr/share/icons/hicolor/16x16/apps/file-roller.png
/usr/share/icons/hicolor/22x22/apps/file-roller.png
/usr/share/icons/hicolor/24x24/apps/file-roller.png
/usr/share/icons/hicolor/32x32/apps/file-roller.png
[vlav@localhost ~]$

There is no one in /usr/share/pixmaps and ways above not work
Why file-roller if nautilus icon change need?

pwca
18th November 2008, 05:33 PM
Well... LORDIE... 3+ ways to skin the durn kat and ain't nune of 'em workin.

JohnVV
18th November 2008, 06:09 PM
vlav


There is no one in /usr/share/pixmaps and ways above not work

of coarse not you did not put your custom icon in there YET


/usr/share/icons/Bluecurve/16x16/apps/file-roller.png
/usr/share/icons/Bluecurve/24x24/apps/file-roller.png
/usr/share/icons/Bluecurve/32x32/apps/file-roller.png
/usr/share/icons/Bluecurve/36x36/apps/file-roller.png
/usr/share/icons/Bluecurve/48x48/apps/file-roller.png
/usr/share/icons/HighContrastLargePrint/48x48/apps/file-roller.png
/usr/share/icons/HighContrastLargePrintInverse/48x48/apps/file-roller.png
/usr/share/icons/hicolor/16x16/apps/file-roller.png
/usr/share/icons/hicolor/22x22/apps/file-roller.png
/usr/share/icons/hicolor/24x24/apps/file-roller.png
/usr/share/icons/hicolor/32x32/apps/file-roller.png
and this is why i don't rename it to "file-roller.png.off" or "file-roller-old.png"

vlav
18th November 2008, 06:33 PM
I change line 259 in /usr/share/applications/gnome-file-roller.desktop
now it is:
Icon=/usr/share/pixmaps/gnome-folder.png

Reloaded X.
No effect.
:(