Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have some missing docklets in docky I used to use before. The most important one I remember is "Show desktop" which is important for me. I tried removing and installing it several times but no use I can't find it in the docklet's part of the settings.

I tried searching for something like docky-extras in aptitude and synaptic package manager and tried different terms and combination but seems like there is no such thing.

So how can I add the missing docklet?

share|improve this question
What version of Docky are you using? Did you just install docky on a new ubuntu install? – Alvin Row Nov 18 '10 at 23:11
I am using 2.0.7-1. Just typed sudo aptitude install docky in terminal. I think the first time though i downloaded a package from somewhere I can't remember. – DandyWalker Nov 18 '10 at 23:36
up vote 1 down vote accepted

The Desktop Docklet was added in the Docky 2.1.x series, which can
be installed via the Docky Development PPA.

This is development software so use at your own risk!

sudo add-apt-repository ppa:docky-core/ppa
sudo apt-get update && sudo apt-get install docky

share|improve this answer
Pushing users to a devel PPA isn't smart IMO. The PPA page says it all: "Beta testing anything here is like walking into a burning building. We wont stop you, but you will probably get cooked alive." Not safe for general consuption. – Oli Nov 19 '10 at 0:32
@Oli 2.0.7 is the latest official release so if the OP remembered having that Docklet he was already using an unstable release. – Alvin Row Nov 19 '10 at 0:41

Well despite there being news of there being a show-desktop helper in March, I can't see it in the current Ubuntu version (v2.0.7-1). The old method still stands though... And I've spent a minute making it a whole lot easier.

  1. Install wmctrl: sudo apt-get install wmctrl

  2. Create a new launcher on the desktop (right click the desktop -> Create Launcher...) and as the command, enter:

    bash -c "if wmctrl -m | grep 'mode: ON'; then exec wmctrl -k off; else exec wmctrl -k on; fi"

    Set the icon you'd like it to have in docky, give it a nice name, etc. Click okay.

  3. Drag the launcher onto Docky. Now you can delete the launcher from the desktop.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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