MandrivaUsers.org : Changing Gnome/KDE Star icon - MandrivaUsers.org

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Changing Gnome/KDE Star icon to original Gnome Foot/KDE KMenu icon

#1 User is offline   ianw1974 

  • Platinum
  • View blog
  • Group: Admin
  • Posts: 14,049
  • Joined: 09-March 05

Posted 16 January 2006 - 06:07 PM

A quick and easy tip for those wishing to get the Gnome Foot or KDE KMenu icons instead of the Mandriva Star.

Gnome

For Gnome, it's real quick and simple. In /usr/share/pixmaps, there is a symlink called mandriva.png which by default is set to:

ls -l /usr/share/pixmaps/mandriva.png
lrwxrwxrwx  1 root root 43 Jan 13 21:48 mandriva.png -> ../../../usr/share/icons/large/mandrake.png


The gnome foot pixmaps are:

/usr/share/pixmaps/gnome-logo-large.png
/usr/share/pixmaps/gnome-logo-icon.png
/usr/share/pixmaps/gnome-logo-icon-transparent.png


I normally choose "gnome-logo-icon", but I suppose you could substitute to any of the others. All that needs to be done, is reset the symlink to what you want it to be:

ln -sf /usr/share/pixmaps/gnome-logo-icon.png /usr/share/pixmaps/mandriva.png


Now, when you check, it will be showing as:

ls -l /usr/share/pixmaps/mandriva.png
lrwxrwxrwx  1 root root 38 Jan 16 19:04 mandriva.png -> /usr/share/pixmaps/gnome-logo-icon.png


KDE

For KDE, a little more work needs to be done. KDE uses menuk-mdk.png by default, which is the star. The original is kmenu.png. The default icon set is crystalsvg, so therefore, to change:

cp /usr/share/icons/crystalsvg/16x16/apps/kmenu.png /usr/share/icons/crystalsvg/16x16/apps/menuk-mdk.png
cp /usr/share/icons/crystalsvg/32x32/apps/kmenu.png /usr/share/icons/crystalsvg/32x32/apps/menuk-mdk.png
cp /usr/share/icons/crystalsvg/48x48/apps/kmenu.png /usr/share/icons/crystalsvg/48x48/apps/menuk-mdk.png
cp /usr/share/icons/crystalsvg/64x64/apps/kmenu.png /usr/share/icons/crystalsvg/64x64/apps/menuk-mdk.png
cp /usr/share/icons/crystalsvg/128x128/apps/kmenu.png /usr/share/icons/crystalsvg/128x128/apps/menuk-mdk.png


we just copy the kmenu.png over the top of the menuk-mdk.png and everything is now looking much nicer! :P/>
Ian Walker

Light travels faster than sound. This is why some people appear bright until you hear them speak.........

Posted Image2 x systems installed with Ubuntu 14.04 x86_64 (Laptop and Desktop)
Posted Image1 x systems installed with Gentoo x86_64 (Desktop)

My Linux Solutions | Linux Systems Limited
0

#2 User is offline   ianw1974 

  • Platinum
  • View blog
  • Group: Admin
  • Posts: 14,049
  • Joined: 09-March 05

Posted 11 May 2006 - 06:14 AM

Thought I would add this here, dexter11 pointed this out in a recent post for KDE, which kind of makes things a lot more simpler:

Add the following code to your kickerrc file under the KMenu section:

[KMenu]
KmenuUseMdvIcon=false


This file is usually located here

~/.kde/share/config


Many thanks once again to dexter11 for this.
Ian Walker

Light travels faster than sound. This is why some people appear bright until you hear them speak.........

Posted Image2 x systems installed with Ubuntu 14.04 x86_64 (Laptop and Desktop)
Posted Image1 x systems installed with Gentoo x86_64 (Desktop)

My Linux Solutions | Linux Systems Limited
0

#3 User is offline   Yankee 

  • casual
  • Group: Members
  • Posts: 96
  • Joined: 24-January 03

Posted 20 October 2006 - 05:42 PM

This is driving me nuts! I put the code under [KMenuButton_1] because I see no plain [KMenu] section...didn't work. Am I in the wrong place? I am in the right file I believe.
0

#4 User is offline   ianw1974 

  • Platinum
  • View blog
  • Group: Admin
  • Posts: 14,049
  • Joined: 09-March 05

Posted 20 October 2006 - 06:42 PM

Yep, create the section. It doesn't exist in 2007, so you have to create it.

[KMenu]
KmenuUseMdvIcon=false


and restart and you're done.
Ian Walker

Light travels faster than sound. This is why some people appear bright until you hear them speak.........

Posted Image2 x systems installed with Ubuntu 14.04 x86_64 (Laptop and Desktop)
Posted Image1 x systems installed with Gentoo x86_64 (Desktop)

My Linux Solutions | Linux Systems Limited
0

#5 User is offline   Yankee 

  • casual
  • Group: Members
  • Posts: 96
  • Joined: 24-January 03

Posted 20 October 2006 - 07:40 PM

Ok, that worked great for my home folder. Would it work for all users if you put it in the root folder? Not root user, but root. There is a /.kde/share/config folder but no kickerrc file. This is a great fix though.

Do you know where the file is that reads this rc file? I mean, some place it has the file name of the icons. If you could change that it might make it system wide also.

Thanks a bunch...that star just looked so (whatever, can't think of a word to describe it). You'd think Mandriva would read this and change it! People have hated that star since day one!
0

#6 User is offline   ianw1974 

  • Platinum
  • View blog
  • Group: Admin
  • Posts: 14,049
  • Joined: 09-March 05

Posted 20 October 2006 - 07:42 PM

Unsure of system-wide, can't check right now as not on my system, but will update if I find it.
Ian Walker

Light travels faster than sound. This is why some people appear bright until you hear them speak.........

Posted Image2 x systems installed with Ubuntu 14.04 x86_64 (Laptop and Desktop)
Posted Image1 x systems installed with Gentoo x86_64 (Desktop)

My Linux Solutions | Linux Systems Limited
0

#7 User is offline   bulgarian 

  • New Here
  • Group: Members
  • Posts: 5
  • Joined: 10-December 07

Posted 10 December 2007 - 05:01 AM

guess i gotta bump this topic ... hehe well i am using mandriva 2008.

i did all of the above, i copied the default kmenu.png over the mandriva one as well as added entry to the kickerrc but the icon is not chaning.

i am also using a different icon set from kde-look.org but that kmenu icon doesnt change the default mandriva one. i am also using the kickoff menu so i am guessing the icons are stored in a different place.

any ideas ?

EDIT: I just got it... /var/lib/mandriva/kde-profiles/powerpack/share/icons/crystalsvg/64x64/apps/mdv_kmenu.png guess i just had to learn how to use find properly :)/>
0

#8 User is offline   esulcer 

  • Windows XP User
  • Group: OTW
  • Posts: 64
  • Joined: 13-October 07

Posted 10 December 2007 - 08:57 PM

bulgarian, in Mandriva 2008, there is a very simple way of doing it, it does not require you to edit any file, all you got to do is the following.

put the image you want to use in /.kde/share/icons/NameOfTheIconThemeYouUse/32x32/apps , this directory probably will not exist, so you have to create it

rename your image/new icon kmenu.png

Right click on the start/Kmenu button and choose switch to Default KDE button

Your new icon should now show up.

In the above /.kde/share/icons/NameOfTheIconThemeYouUse/32x32/apps path, you must insert the theme you use in place of NameOfTheIconThemeYouUse of course, it wii be something like Crystalvg, whatever you chose. I don't remember what they are exactly, and I can't help you any further, as I don't use Linux any more, I have returned to Windows, just can't get coming to the forums out of my system yet, been coming here daily for a couple of years, so it's a bit of a habit, but if you have trouble, someone else should be able to take it from here.

This post has been edited by esulcer: 10 December 2007 - 08:58 PM

XP Pro . . . The Gamers Choice !!

Linux Free - 26/11/07 - and Loving it !!
0

#9 User is offline   bulgarian 

  • New Here
  • Group: Members
  • Posts: 5
  • Joined: 10-December 07

Posted 10 December 2007 - 11:29 PM

no i did that but it did not work with the kickoff memu... so i did a search to find where the original mandriva button is coz it kept going back to it even if select to use default K button. But then the kickoff menu is kind of buggy as it freeses my taskbar once in a while so i switched to the default menu for better performance and then i can change the icons in ~/.kde/share/icons/apps for it to have effect, but not using the kickoff menu.
0

#10 User is offline   coverup 

  • Mandriva Guru
  • Group: Members
  • Posts: 1,279
  • Joined: 08-January 03

Posted 15 January 2008 - 09:07 PM

The correct place to put the image is /home/username/.kde/share/icons/NameOfTheIconThemeYouUse/32x32/apps
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users