Plank

From ArchWiki
Jump to: navigation, search

Plank is a lightweight and minimal dock. Plank will not work if you are using Wayland.

Installation

Install plank from the official repositories or plank-bzrAUR from the AUR.

Running Plank

$ plank

Configuration

Preferences can be opened by pressing Ctrl+Right Click on the dock and selecting Preferences in the submenu that opens.

Setting themes

The theme can be changed by selecting a choice in the drop-down menu of Preferences > Appearance > Theme. Themes are stored globally under /usr/share/plank/themes/ or locally under ~/.local/share/plank/themes/.

These custom themes can be installed to give your plank dock an eyecandy touch :

plank-theme-numixAUR: Numix theme for Plank

plank-theme-pantheon-bzrAUR[broken link: package not found]: Pantheon Plank theme

plank-theme-arcAUR: Arc theme for Plank

unity-like-plank-themeAUR: A plank dock theme that give an interface similar to that of Unity.

Multiple Docks

It is possible to run multiple plank docks at once.

Directories for each dock are stored under ~/.config/plank/. Under these directories, there is a directory named 'launchers'. Going further, under this directory, docklets are stored. When the plank command is run, it either defaults to the dock1 directory or creates it if it is non-existent. If you were to run:

$ plank -n newdock

A new directory named 'newdock' would be created under ~/.config/plank and docklets stored under ~/.config/plank/newdock/launchers/ is displayed on the dock, unless a directory under that name has already been created. This makes it possible to have multiple docks each with their own settings and preferences by specifying the name under the -n flag.

For example:

$ plank -n primdock 
$ plank -n secondock