June 22, 2012

add launcher to Ubuntu Unity dock

1) Create file "~/.local/share/applications/YOUR_NAME.desktop"

2) Add following entries to the file
[Desktop Entry]
Name=YOUR NAME
Comment=YOUR COMMENT
Exec=/PATH/TO/COMMAND
Icon=/PATH/TO/ICON
Terminal=false
Type=Application
StartupNotify=true

3) Drag the file to the dock (you may need to use Ctrl+H in Nautilus to show hidden files). Alternatively, log out and log in to restart Unity, but I found that this doesn't always work.

No comments:

Post a Comment