Do you want a “show desktop” button in docky?

If  you do, this post is for you!

How do you get one? First this show desktop button ONLY works with compiz (for now at least). Here goes the instructions:

1 – Activate desktop effects aka compiz

2 – Activate the dbus plugin

2 – Download my python script, save it somewhere safe and make executable.

3 – Create a menu entry for the script in GNOME’s main menu and assign a nice desktop icon from a theme of your choise

4 -Add the menu entry to your docky.

5 – Enjoy your new “show desktop” botton!

Here goes the absolutely necessary screenshot 🙂


#applet#button#docky#gnome-do show desktop#howto#python#script


  1. gareth - 31 de Maio de 2009 @ 11:43

    great app, been looking for this for a while. ive followed instructions, only bug is that the icon i choose (ive tried several) doesn’t move to docky from the main menu, the generic springboard icon appears instead. any suggestions?

  2. amrlima - 1 de Junho de 2009 @ 16:26

    Uhm.. strange. Have you tried with a diferent icon? try using one of gnome icone theme for example.

  3. Daygan - 19 de Junho de 2009 @ 2:34

    I had basically the same problem as gareth. Here’s how I solved it (not all steps were actually necessary, it’s just what I did in the process of discovering the solution):

    1. right click on the “show desktop” icon in the applications menu and select “add this launcher to desktop”

    2. right click on the launcher on the desktop, click the icon (showing the wrong icon) and select a desktop icon from /usr/share/icons/*any random theme*/scalable/places. (at this point the icon showing on the desktop corrected itself and I discovered that when I moved it to the gnome-do dock, it displayed the proper desktop icon)

    3. move the launcher to a more preferable location in the File System (I chose /usr/bin)

    4. click the launcher (now in its new location) and drag it to the Gnome-Do dock.

    Now everything should be set!

  4. amrlima - 19 de Junho de 2009 @ 8:57

    @Daygan Great! Glad you figured it out. I haven’t been using docky alot latelly but I’m glad some people is making use of the script 🙂

  5. 6205 - 22 de Julho de 2009 @ 13:14

    I LOVE YOU 🙂

  6. amrlima - 22 de Julho de 2009 @ 13:18

    Well, thanks… :). This script is becomming obsolete since I think in gnome-do has already a native button that does this in trunk.

    Anyway glad my amazingly awesome script is helpful.

  7. Sandy - 14 de Agosto de 2010 @ 17:45

    Thanks for this amazing, terrific, over-the-top script, amrlima!! 🙂

  8. amrlima - 14 de Agosto de 2010 @ 18:02

    It’s not that good, but glad you liked it 😀

  9. rama! - 30 de Março de 2011 @ 12:13

    Nice ! thanks!

  10. me.ascii - 9 de Março de 2012 @ 13:00

    [windows] + D

Deixe uma resposta