How do I add programs to the dock?

I accidentally dragged Firefox off of the dock, and I can’t figure out how to add it back.

Hi @ToxicTwisterC ,

Create .dockitem extension file in ~/.config/plank/dock1/launchers/firefox.dockitem
And write this in there:
[PlankDockItemPreferences]
Launcher=file:///usr/local/share/applications/firefox.desktop

Tell me if this work for you.

See you.

by the file browser window open the Applications folder, the one with all the applications icons. Drag & drop the Firefox (or eventually called web browser) icon down to the dock

Or you can open Firefox and right click on the icon and select ‘keep in dock’ or so.