June 1, 2016

Assuming you have plank installed and running on your Linux distro, you may wish to add an additional dock.

  1. First check your plank configuration directory to see the name/location of your existing dock:
    ➜  plank ls -la ~/.config/plank
    total 16
    drwxr-xr-x   4 nick nick 4096 Jun  1 12:47 .
    drwx------ 113 nick nick 4096 Jun  1 17:16 ..
    drwxr-xr-x   3 nick nick 4096 May 19 10:50 dock1
    drwxr-xr-x   3 nick nick 4096 Jun  1 12:47 dock2
  2. Run the following command, assuming you want to label your second dock as dock2:
    plank -n dock2 --preferences

    The preferences dialog will appear allowing you to customize your second dock.

  3. Since you’ll probably want to automatically start up your second dock, you can do so by either running this command manually, or setting it to be called when your desktop environment starts up:
    plank -n dock2