I got this working using a slightly modified version of this question's first answer List of custom Launchers & Quicklists for Unity
I'm not sure it's the best way though; among other things, I had to hardcode in my homedir path because it wouldn't work if I used ~ or $HOME. This launches nautilus, but you could run anything by changing the 'Exec' line.
Instructions:
Copy 'Home Folder' launcher file to your home directory:
cp /usr/share/applications/nautilus-home.desktop ~/.local/share/applications
Open the file for editing in gedit:
gedit ~/.local/share/applications/nautilus-home.desktop
Find the following line from the file:
OnlyShowIn=GNOME;
Replace the above line with:
OnlyShowIn=GNOME;Unity;
Add this text to the bottom of the file, substituting in your home directory path:
X-Ayatana-Desktop-Shortcuts=Videos;Documents;Music;Pictures;Downloads
[Videos Shortcut Group]
Name=Videos
Exec=nautilus /home/YOURUSERNAME/Videos
TargetEnvironment=Unity
[Documents Shortcut Group]
Name=Documents
Exec=nautilus /home/YOURUSERNAME/Documents
TargetEnvironment=Unity
[Music Shortcut Group]
Name=Music
Exec=nautilus /home/YOURUSERNAME/Music
TargetEnvironment=Unity
[Pictures Shortcut Group]
Name=Pictures
Exec=nautilus /home/YOURUSERNAME/Pictures
TargetEnvironment=Unity
[Downloads Shortcut Group]
Name=Downloads
Exec=nautilus /home/YOURUSERNAME/Downloads
TargetEnvironment=Unity
Save and close the file.
Log out and log in again to see the changes.
main menuand there it is – duffydack Oct 17 '11 at 17:55