the folder creation issue would be solved if the implementation of what constitutes a stack was changed to how we talked about it. launchers shouldn't point to folders which contain launchers. It should just be any folder present in ~/.config/plank/launchers. In this way, creating a stack from an existing location is as simple as a symlink. The name of the folder is the name of the stack.
If you create a new stack from the dock, the folder should be given a name based on the icons you combined. More than likely it'll be a logical group like "Accessories" that you can get from the .desktop file. If not, the user should be prompted to name the stack.
the folder creation issue would be solved if the implementation of what constitutes a stack was changed to how we talked about it. launchers shouldn't point to folders which contain launchers. It should just be any folder present in ~/.config/ plank/launchers . In this way, creating a stack from an existing location is as simple as a symlink. The name of the folder is the name of the stack.
If you create a new stack from the dock, the folder should be given a name based on the icons you combined. More than likely it'll be a logical group like "Accessories" that you can get from the .desktop file. If not, the user should be prompted to name the stack.