I'm a Linux newbie just experimenting with various distros in a VM before I go ahead and do a physical install to HDD. I previously had Ubuntu Gnome running with Plank dock and to get my Documents and Downloads folders on the dock (The way of just dragging these folders from Home folder results in a black rectangle where the contents therein are on display - an approach I dislike) I created what I think are called launchers? Where I would open Gedit and type something like
[Desktop Entry]
Name=Documents
Exec=nautilus /path/to/Documentsfolder
Type=Application
Icon=/path/to/icon.png
I saved it as .Documents.desktop (hidden) then chmod +x it in Terminal and drag it to the Plank.
I've now set up a new VM with Elementary OS and tried to recreate these steps replacing Exec=nautilus with pantheon-files. Considering the distro comes from Ubuntu I figured it would work the same but unfortunately it wasn't and I cannot get it to work.
I can get it working with Nautilus file manager just not Pantheon Files which I want use as it is the native manager for Elementary. I've also read about contract file and tried that but with no luck (wasn't even sure it was the right approach?)
Please could someone help me achieve my desired result? Thanks