I followed the instructions given here to add a folder / stack to my dock, but I can't seem to add the folder to the dock. It opens in the application it is dropped on, and no space is created for it.
The Plank build that comes with elementary OS Freya has
certain features disabled by design.
If you have the official elementary OS build of Plank, then you will lack those features.
Consider this answer by Daniel Foré on the fact that the Plank build in elementary OS has certain features patched out. That is an answer on a question about zoom: as you also lack zoom, as you mentioned in a comment, I think you are using the main elementary OS build of Plank.
So, to get the full-featured Plank, you need to install the build from Rico's PPA.
I must have installed that already (see my answer under the linked question and Daniel's comment thereunder) since all these settings work in my case.
So, there's nothing wrong with your Plank, it's the normal one in Freya, but you need Rico's build to get what you ask here.
Just remove Plank, add that PPA, update, then install Plank again.
After that, you may change the settings:
(if you just have one dock, otherwise you'll have different folders dock1, dock2 etc)
gedit or other text editor:
Be sure that you have
false present like so:
#Whether to prevent drag'n'drop actions and lock items on the dock. LockItems=false
Save and then see if drag&drop works.
To make the whole process more visible (the space needed created for the dropped item etc) maybe you should consider enabling also zoom:
#Whether the dock will zoom when hovered. ZoomEnabled=true
ZoomEnabled=true it should look like so:
If it doesn't work you can also try this:
Each Plank item has a corresponding
.dockitem file in
You could try creating your dockitem file there and see if that works, like so:
name-of-you-directory with the exact NAME of the target folder.
Paste in there something like:
file:///path/to/your/folder/name-of-your-directory with the exact PATH of the target folder.
Tested it myself, it works for me.
Moving folder items after they are on the dock doesn't seem possible though, as long-clicking them to select and move them would just open their contents and options.