Submit A Tip Alternative Tip Form

Add a main menu to Docky

Long for a ‘main menu’ on Docky? RishavT has posted a tutorial on GNOME-Look.org for adding just such a tool to the premier Dock on Linux.

138187-Screenshot

“I’ve been using AWN for quite sometime now, but that’s because of the lack of many docklets in Docky; the main-menu being an important one (at least for me)” he says on why he sought out a solution.

“What we do is change the “click” function of the Docky icon. So I modified that a bit, and got it to display the gnome-menu whenever I click the Docky icon.”

Sounds neat, so how does one do it?

  1. Install “xdotool” (click here to install)
  2. Press ALT+F2 and type in “gconf-editor”.
  3. Press enter.
  4. Navigate to /apps/docky-2/Docky/Items/DockyItem and double click on “DockyItemCommand”
  5. In the “value” field copy paste: xdotool key -clearmodifiers alt+F1
  6. Press OK and close the box.
  7. Click on the Docky icon