Multiple plank-docks

Asked by lmd on 2012-08-30

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

Language:
English Edit question
Status:
Solved
For:
Plank Edit question
Assignee:
No assignee Edit question
Solved by:
Robert Dyer
Solved:
2012-08-31
Last query:
2012-08-31
Last reply:
2012-08-30
Best Robert Dyer (psybers) said : #1

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.

Usage:
  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

lmd (lmd-q) said : #2

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.

Chris H (harsesus) said : #3

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

plank -n dock1 dock2

AND

plank -n dock1 -n dock2

Both of those only ran one menu.

Robert Dyer (psybers) said : #4

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&