Replace Docky's Icon by Ubuntu Icon

9,309

Normally, docky's icon is dynamically drawn by the program so that it is colored based on your GTK theme. So, the first thing we need to do is turn that off. Launch the "Run Application" dialog by pressing Alt+F2. Then run gconf-editor from that prompt.

Now browse to /apps/docky-2/Docky/Items/DockyItem/ Select the Hue key and change the setting to 1

alt text

Now that docky will use the theme icon directly, you can change the icon in the theme. The theme will be found in /usr/share/icons if it is installed system wide or ~/.icons/ if it is installed locally.

For Faenza, you'll want to replace /usr/share/icons/Faenza/apps/scalable/dock.svg with the icon you want. You'll probably want to use /usr/share/icons/Faenza/places/scalable/distributor-logo-ubuntu.svg Depending on the size of your dock, may also need to replace some of the other sizes as well.

alt text

You'll need to restart docky.

Share:
9,309

Related videos on Youtube

Linh
Author by

Linh

Updated on September 17, 2022

Comments

  • Linh
    Linh over 1 year

    How can I replace Docky's standard anchor icon in the dock by Ubuntu's? It would look quite nice I think. This is how it looks right now:

    alt text

  • Linh
    Linh over 13 years
    Thanks for this excellent reply! I have already marked it as answered, as most likely your proposal will work for most users. However, I have the problem that the entry "DockyItem" does not exist on my computer. Therefore, my beautiful Ubuntu logo is now raped by Docky and colored blue.
  • red.clover
    red.clover over 13 years
    This option wasn't added until a recent docky release. Try upgrading to the PPA version: launchpad.net/~docky-core/+archive/ppa
  • mniess
    mniess over 13 years
    How would I change the icon if I didn't use the Faenza icon-theme? I couldn't figure out where to place the icon I want. My theme is the regular ubuntu-mono-light.
  • red.clover
    red.clover over 13 years
    The default icon theme doesn't ship docky icons, so it falls back to the icons shipped with docky itself. You'll have to replace these ones. They can be found under /usr/share/icons/hicolor/
  • zookalicious
    zookalicious over 12 years
    Took some work but I can confirm that this does the trick.