elementary OS User Handbook
eOS HomeTeamBlogSupportGet Involved
  • 🔵Welcome to elementary OS
  • Overview
    • 📘Idea & Evolution
    • 📘Desktop Tour
      • 📖Greeter
      • 📖Panel
      • 📖Dock
      • 📖App Windows
      • 📖Multitasking
    • 📘System Idiosyncrasies
      • 📖Gestures
      • 📖Hot Corners
      • 📖Picture-in-Picture
      • 📖Display Filters
      • 📖Feedback App
      • 📖Missing Habits
  • Get Started
    • 📗Install elementary OS
      • 📖Writing ISO with Etcher
      • 📖Using GParted
    • 📗Explore System Settings
      • 📖Manage User Accounts
      • 📖Control System Access
      • 📖Set up Date & Time
      • 📖Configure Network
      • 📖Add Online Accounts
      • 📖Stay Secure & Private
      • 📖Adjust Power Settings
      • 📖Set Language & Formats
      • 📖Keyboard Settings
      • 📖Mouse & Touchpad
    • 📗Customize Desktop
      • 📖Set up Visual Style
      • 📖Change Wallpaper
      • 📖Adjust Text Size
      • 📖Configure Dock & Panel
      • 📖Windows and Corners
    • 📗Plug in Hardware
      • 📖Connect via Bluetooth
      • 📖Printers & Scanners
      • 📖Hook up Tablet
  • Best Practices
    • 📙Tips & Tricks
      • 📖Add PPAs
      • 📖Get More Tweaks
      • 📖Max the AppCenter Out
      • 📖Add More Fonts
      • 📖Make QT apps look like GTK
    • 📙2 Advanced
      • 📖Open as Admin
      • 📖Create Local Network
      • 📖Plank Advanced Customization
  • Troubleshooting
    • 📕Installation Issues
    • 📕Common Issues
      • 📖Grub menu 30 sec
      • 📖Nvidia Drivers
      • 📖Double Icons in Plank
      • 📖Sound and Picture Issues
      • 📖Ghost Updates
  • Extra Info
    • 📒Useful Links
    • 📒Feedback
Powered by GitBook
On this page
  1. Best Practices
  2. 2 Advanced

Plank Advanced Customization

Make it look & feel as you wish

PreviousCreate Local NetworkNextInstallation Issues

Last updated 1 year ago

If you are not satisfied with the appearance of your Dock, you can try advanced customization of its look & feel.

With advanced customization, you can change:

  • The roundness of the corners

  • The thickness of lines

  • The color and translucency

  • The padding on the Dock edges

  • The size of item indicators

  • The size of the icon-shadow

  • The time for click animations

  • and many more aspects

For example, you can change the color in the bottom (light) and at the top (dark, or vice versa), and the roundness of the top corners, so that your Dock would look as if imitating a shelf.

Opening and editing dock.theme files requires administrator rights.

To create and apply your personal customization, you need administrative privileges and some knowledge of editing configuration files:

  1. Create a dock.theme file in the following directory (open Files as admin):

/usr/share/plank/themes/<your-theme-name>/dock.theme

The catalogue /usr/share/plank/themes contains already existing themes, so you can copy the content of any existing theme files, save under a new name and edit as you wish.

Plank dock.theme content example

#This file auto-generated by Plank. #2018-08-11T01:15:57+0000

[PlankTheme]

#The roundness of the top corners.

TopRoundness=50

#The roundness of the bottom corners.

BottomRoundness=0

#The thickness (in pixels) of lines drawn.

LineWidth=0

#The color (RGBA) of the outer stroke.

OuterStrokeColor=22;;22;;22;;255

#The starting color (RGBA) of the fill gradient.

FillStartColor=50;;50;;50;;10

#The ending color (RGBA) of the fill gradient.

FillEndColor=100;;100;;100;;250

#The color (RGBA) of the inner stroke.

InnerStrokeColor=45;;45;;45;;255

[PlankDockTheme]

#The padding on the left/right dock edges, in tenths of a percent of IconSize.

HorizPadding=3

#The padding on the top dock edge, in tenths of a percent of IconSize.

TopPadding=-5

#The padding on the bottom dock edge, in tenths of a percent of IconSize.

BottomPadding=1.7

#The padding between items on the dock, in tenths of a percent of IconSize.

ItemPadding=3

#The size of item indicators, in tenths of a percent of IconSize.

IndicatorSize=7

#The size of the icon-shadow behind every item, in tenths of a percent of IconSize.

IconShadowSize=1.5

#The height (in percent of IconSize) to bounce an icon when the application sets urgent.

UrgentBounceHeight=1.6666666666666667

#The height (in percent of IconSize) to bounce an icon when launching an application.

LaunchBounceHeight=0.625

#The opacity value (0 to 1) to fade the dock to when hiding it. F

adeOpacity=1

#The amount of time (in ms) for click animations.

ClickTime=300

#The amount of time (in ms) to bounce an urgent icon.

UrgentBounceTime=600

#The amount of time (in ms) to bounce an icon when launching an application.

LaunchBounceTime=600

#The amount of time (in ms) for active window indicator animations.

ActiveTime=200

#The amount of time (in ms) to slide icons into/out of the dock.

SlideTime=200

#The time (in ms) to fade the dock in/out on a hide (if FadeOpacity is < 1).

FadeTime=250

#The time (in ms) to slide the dock in/out on a hide (if FadeOpacity is 1).

HideTime=250

#The size of the urgent glow (shown when dock is hidden), in tenths of a percent of IconSize.

GlowSize=30

#The total time (in ms) to show the hidden-dock urgent glow.

GlowTime=10000

#The time (in ms) of each pulse of the hidden-dock urgent glow.

GlowPulseTime=1000

#The hue-shift (-180 to 180) of the urgent indicator color.

UrgentHueShift=150

#The time (in ms) to move an item to its new position or its addition/removal to/from the dock.

ItemMoveTime=150

#Whether background and icons will unhide/hide with different speeds. The top-border of both will leave/hit the screen-edge at the same time.

CascadeHide=true

  1. Change the settings by changing their values.

  2. View Dock changes in real time right when changing the values.

  3. When satisfied with the settings, save changes and close your dock.theme file.

You can create as many themes as you wish. Feel free to experiment.

See how you can .

, and select your new theme.

Open your dock.theme file in Code, and start editing.

, you can find some ready made Plank themes.

, you can find the videoguide on how to add Zoom Effect in Plank.

📙
📖
open files as administrator
as admin
Here
Here
Open the Dock preferences
Plank Customization Example