Multiple plank-docks

Asked by lmd

How can I launch multiple plank-docks? (i.e. one on the bottom and one on right)
In ~/.config/plank already exists a folder named "dock2" so I assumed it is possible to launch more than one plank-dock. How do you do that?

Question information

English Edit question
Plank Edit question
No assignee Edit question
Solved by:
Robert Dyer
Last query:
Last reply:
Revision history for this message
Best Robert Dyer (psybers) said :

Use the -n option to specify a different dock name. The default is 'dock1', name it whatever you want other than that. Then modify the settings file for the new dock.

  plank [OPTION...]

Help Options:
  -h, --help Show help options
  --help-all Show all help options
  --help-gtk Show GTK+ Options

Application Options:
  -d, --debug Enable debug logging
  -v, --verbose Enable verbose logging
  -n, --name The name of this dock
  --display=DISPLAY X display to use

Revision history for this message
lmd (lmd-q) said :

Thank you! That is exactly what I was looking for. I just didn't think of -h, just tried man. Maybe you could complete the manpage with these options, it just mentions -d.

Revision history for this message
Chris H (harsesus) said :

I assume you need to run separate commands for each? I tried:

plank -n dock1 dock2


plank -n dock1 -n dock2

Both of those only ran one menu.

Revision history for this message
Robert Dyer (psybers) said :

You run two separate commands (which results in 2 separate processes).

plank -n dock1&
plank -n dock2&

or on one line:

plank -n dock1& ; plank -n dock2&