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


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.

  • 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. – Ingo Oct 12 '10 at 11:14
  • This option wasn't added until a recent docky release. Try upgrading to the PPA version: launchpad.net/~docky-core/+archive/ppa – andrewsomething Oct 12 '10 at 15:48
  • 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. – mniess Oct 12 '10 at 22:51
  • 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/ – andrewsomething Oct 13 '10 at 0:30
  • Took some work but I can confirm that this does the trick. – zookalicious Aug 31 '11 at 15:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.