How to add a program to Cairo Dock

I want to add VLC and other programs to the Cairo Dock but I don't know how. I have accidentally removed Terminal from the dock and I want to get it back.

I am using Gnome Desktop.


Solution 1:

To add a program, just right click on the dock, and click on Cairo-Dock --> Add --> Custom launcher. Once the new window opens, just fill in the needed info, and click apply. See images below.

enter image description here

enter image description here

See the new program added to the Dock

enter image description here

Solution 2:

I assume you are using Ubuntu with Unity.

To add any program just search for it in dash and then drag and drop it to the dock.

You can also rearrange items in dock by drag and drop.