PDA

View Full Version : Change icon?


_simon_
August 3rd, 2006, 05:12 PM
Where does the icon need to be and what needs to be entered in gconf?

Each time I try all I get is a box with a red x in - I assume because it can't find the icon.

Could the answer be added to the HOW TO? http://www.ubuntuforums.org/showthread.php?t=224992

and shouldn't the HOW TO be a sticky? :)

cantormath
August 3rd, 2006, 05:16 PM
Where does the icon need to be and what needs to be entered in gconf?

Each time I try all I get is a box with a red x in - I assume because it can't find the icon.

Could the answer be added to the HOW TO?

what are you trying to do exactly?

are you trying to change all of the icons, just one, or create a launcher?

If you are try to change all the icons, go to
System>Preferences>Theme
Click on Theme Details, then Icons tab.
you can select new icons.
If you want new icons, try gnome-art
its in the repository, just look for it.
it will help you find more if you dont like the ones you have.

_simon_
August 3rd, 2006, 05:30 PM
I want to change the USP icon...

I think you posted without checking which part of the forum you are in ;)

gruvsyco
August 3rd, 2006, 05:33 PM
gconf-editor

apps > usp

applet_icon_name

just add the name of your icon leaving off the extension, it seems to auto-detect the format at least, png and xpm

*edit* also it appears to look in /usr/share/icons by default.

_profox
August 3rd, 2006, 05:40 PM
Sorry, I will clarify :)
applet_iconname uses icons from your current theme! So browse to /usr/share/icons/name-of-your-theme/ and find icons there. Then just enter the name of the icon, without the extension.

We might add the possibility to use custom .png or .xpm files later

gruvsyco
August 3rd, 2006, 05:56 PM
We might add the possibility to use custom .png or .xpm files later
Not sure, what you mean by this. I can already change the icon to a custom icon and it will stick through changes in icon themes.

_profox
August 3rd, 2006, 05:59 PM
Not sure, what you mean by this. I can already change the icon to a custom icon and it will stick through changes in icon themes.

Can you give an example?
The way I programmed it, it uses the iconname you provide to get that icon from your current theme..

ps: you have to re-add the applet for the text/icon change to take effect, this is a little bug that is caused by manual patching, it will be fixed in the next release.

chanders
August 3rd, 2006, 06:03 PM
Can you give an example?
The way I programmed it, it uses the iconname you provide to get that icon from your current theme..

ps: you have to re-add the applet for the text/icon change to take effect, this is a little bug that is caused by manual patching, it will be fixed in the next release.

GNOME uses standard names for certain icons. So as long as you use a STANDARD GNOME NAME it will work. One way to find out the list of icon names is to look in a theme folder. You can use any name you see there, just leave out the extension such as .png or xpm...

Eg. gnome-logout is a standard GNOME name so using gnome-logout as the icon name in /apps/usp/applet_icon_name will just fine.

gruvsyco
August 3rd, 2006, 06:20 PM
Can you give an example?
The way I programmed it, it uses the iconname you provide to get that icon from your current theme..

ps: you have to re-add the applet for the text/icon change to take effect, this is a little bug that is caused by manual patching, it will be fixed in the next release.

I put an icon name mymenu.png in /usr/share/icons and just pointed to it. Regardless of what my theme is it seems to stay. Perhaps because it's not named after any system icon.

chanders
August 3rd, 2006, 06:23 PM
I put an icon name mymenu.png in /usr/share/icons and just pointed to it. Regardless of what my theme is it seems to stay. Perhaps because it's not named after any system icon.

Or maybe all icons in /usr/share/icons work also ;)

bulldog
August 4th, 2006, 07:16 PM
Yes you could use any icon in your icon map.
You can copy any icon that you wish to use to that folder and use it.
And you can give your menu any name that you wish.
I have a Dutch version of Ubuntu and called my menu very original "Startmenu" and did used a variety of icons.
No problems there :D

chanders
August 4th, 2006, 08:00 PM
Yes you could use any icon in your icon map.
You can copy any icon that you wish to use to that folder and use it.
And you can give your menu any name that you wish.
I have a Dutch version of Ubuntu and called my menu very original "Startmenu" and did used a variety of icons.
No problems there :D

Post a screenie in the screenshots thread ;)

LordMau
August 5th, 2006, 01:13 AM
Before the gconf key was made, the way I did it was to provide a file named

distributor-logo (usually .svg, not sure if .png works)

within my used icon theme.

USP automagically uses that file as the logo on its button.

bulldog
August 5th, 2006, 04:35 AM
Post a screenie in the screenshots thread ;)
Done!
I put one with a different name and icon too.

jason.b.c
August 19th, 2006, 03:37 PM
Well i don't know , I sure can't get it to work...](*,) :(

Uncle Spellbinder
August 20th, 2006, 12:24 AM
http://img.photobucket.com/albums/v694/unclespellbinder/USP-ICON.png

chanders
August 20th, 2006, 10:41 AM
Well i don't know , I sure can't get it to work...](*,) :(

See this (http://www.ubuntuforums.org/showpost.php?p=1335183&postcount=8) post

Eman64
September 24th, 2006, 10:37 PM
I tried it and it came out really really tiny. Anyone know the solution to this?

diggity
September 26th, 2006, 11:36 PM
I tried it and it came out really really tiny.I'm getting the same result.
I placed the png file into the /usr/share/icons dir changed the applet_icon_name to the file (w/out the .png). The image is displayed, but very small. Btw the image dimensions are (114px x 41px) and the panel height is 24px.

Uncle Spellbinder
September 26th, 2006, 11:49 PM
I'm getting the same result.
I placed the png file into the /usr/share/icons dir changed the applet_icon_name to the file (w/out the .png). The image is displayed, but very small. Btw the image dimensions are (114px x 41px) and the panel height is 24px.


Same here. Regardless of the image I choose, or it's size, it always shows up as a USP icon very tiny.

Eric_T
December 14th, 2006, 08:42 AM
Same here....any solution to this?

chanders
December 14th, 2006, 11:35 AM
Will try to get to the bottom of this for USP2

apapww
January 3rd, 2007, 05:10 PM
Thanks ever so much. (http://hk.yahoo.com). (http://www.ec2biz.com). (http://www.rthk.org.hk). (http://www.ads28.com). (http://www.ec2biz.com). (http://www.top1.com.hk). (http://www.ads28.com)

boneyjellyfish
May 18th, 2007, 05:34 PM
Did anything ever come of this? I'd like to change my USP icon to this (http://www.natewelch.com/postnuke/ubuntumenu.png) but it gets cut off. Although the applet_icon_size key does make the icon larger, it doesn't actually increase the space allotted for icons, so they still get cut off.

mid_night gypsy
July 19th, 2007, 05:44 PM
Howdy,
I to am having this problem, and can't figure it out (head banging on monitor sounds). I have seen some screen pics where the menu icon fits right, But no luck on my part tried quite a few. Any help would be great.
P.S. USP is awesome keep up the good work.
Thanks,gypsy