How to Set Up Cairo-Dock on a Linux Desktop

Cairo-Dock is a customizable Linux dock for launching and tracking applications. To set it up, install the package from your distribution, launch it in your current desktop session, adjust its position and applets, and enable startup at login. Package names and desktop compatibility vary, so use your distribution’s repositories and the current project instructions rather than old manual RPM downloads.

Choose a desktop session that supports Cairo-Dock

Cairo-Dock is easiest to integrate into an existing X11 desktop such as Xfce, MATE, or Cinnamon. The project’s bundled GNOME/Cairo-Dock session uses X11 and currently supports GNOME Session through version 49; newer GNOME sessions should start Cairo-Dock from the desktop you already use instead of selecting that bundled session. Wayland support depends on the compositor: upstream documents support for compositors such as Wayfire, KWin, Labwc, and COSMIC, but not GNOME Shell/Mutter. Check the Wayland notes from Cairo-Dock if your session uses Wayland.

If your desktop already has a dock or panel, decide whether you want both. You can hide or remove redundant launchers later, but running two docks at the same screen edge may make them overlap.

Install Cairo-Dock from your distribution

Use a terminal and choose the command for your Linux distribution. These commands install the packaged stable build; the version available may differ from the newest upstream release.

A Linux terminal showing the apt command for installing Cairo-Dock and its plug-ins.
For Ubuntu or Debian, install Cairo-Dock and its applet package with APT.

Ubuntu and Debian

sudo apt update
sudo apt install cairo-dock cairo-dock-plug-ins

On Ubuntu, the package is in the Universe repository. If APT cannot find it, enable Universe in Software & Updates, or run sudo add-apt-repository universe, then run sudo apt update again. Debian lists Cairo-Dock and the plug-in metapackage in its package archive. See the Ubuntu package record or Debian package record.

Fedora and Arch Linux

# Fedora
sudo dnf install cairo-dock

# Arch Linux
sudo pacman -Syu cairo-dock

Fedora provides a Cairo-Dock metapackage. On Arch, some applet dependencies are optional; install only the extras you need. Consult the Fedora package page and ArchWiki’s Cairo-Dock page for current package details.

openSUSE

Package availability is release-specific. Search for Cairo-Dock on openSUSE’s software page and follow instructions only for your exact openSUSE release. Avoid installing a downloaded RPM built for a different release.

Launch the dock and adjust its position

After installation, open Cairo-Dock from your applications menu, usually under a system-tools category. You can also start it from a terminal with cairo-dock. It should appear along a screen edge with a default set of launchers and applets.

Cairo-Dock displayed as a row of application icons along the bottom edge of a Linux desktop.
The dock appears after you launch Cairo-Dock from the applications menu or terminal.

Right-click an empty area of the dock and open Cairo-Dock > Configure. In the configuration window, select a screen edge and set an icon size that fits your display. Try auto-hide if the dock covers windows; turn it off if you want the dock visible all the time. Changes can be adjusted again later, so start with a simple bottom-edge layout.

A Cairo-Dock right-click menu with the Configure option highlighted.
Open the dock settings from its context menu.
A Cairo-Dock configuration window showing screen-edge, icon-size, and auto-hide controls.
Set the dock’s position, icon size, and visibility behavior to suit your desktop.

Choose applets and add your favorite apps

Open the Applets section in the configuration window to see available dock components. Enable only the ones you will use—for example, a clock, trash, workspace switcher, or system monitor. Applets and their dependencies vary by distribution; if an item is missing, check whether your package manager offers an additional Cairo-Dock plug-in package.

The Cairo-Dock applets panel with a few common applet icons enabled and others unchecked.
Enable the applets you want, and leave unused components off the dock.

To pin an application, open the applications menu and drag its icon onto the dock. If the app is already running, right-click its dock icon and choose the option to make it a launcher. To remove an unwanted launcher or applet, right-click it and select its remove action. This changes the dock layout, not the application installed on your computer.

An application icon being dragged from a Linux applications grid onto Cairo-Dock.
Drag an application from the desktop menu to add a launcher.

Start Cairo-Dock automatically when you log in

Once the dock looks right, enable its own startup option: right-click Cairo-Dock, open the Cairo-Dock submenu, and select Launch Cairo-Dock on startup. The project says this creates an XDG autostart entry under your home directory and works with many, though not all, desktop environments. If that menu item is unavailable, add cairo-dock through your desktop’s session or autostart settings; the exact menu differs between Xfce, KDE Plasma, MATE, and other desktops.

A Cairo-Dock startup option shown as enabled above the dock.
Use the dock menu’s startup option so Cairo-Dock opens with your session.

Recent upstream builds also provide a user systemd service, but it starts the dock in every graphical session managed by systemd. Use that only if it matches your setup, and avoid enabling more than one autostart method or you may get duplicate docks. The Cairo-Dock running guide lists the desktop-specific options and how to disable its service.

Fix common setup problems

  • The dock is missing: Move the pointer to its screen edge in case auto-hide is enabled. Check whether it is hidden behind a full-screen window, then launch cairo-dock from a terminal to see startup errors.
  • Apps do not appear as expected: Remove the launcher and drag the application into the dock again. If its icon is still wrong, edit the launcher and choose an icon file.
  • You use GNOME on Wayland: Cairo-Dock does not currently support GNOME Shell/Mutter’s Wayland session. Use a compatible desktop/compositor or another session supported by your system.
  • Two docks start at login: Keep only one startup entry. Check both Cairo-Dock’s menu option and your desktop’s autostart list.
Cairo-Dock reappearing at the lower screen edge as the pointer reaches it.
If auto-hide is on, move the pointer to the dock’s screen edge to reveal it.

For other issues, see the project’s Cairo-Dock troubleshooting guide. Once its position, launchers, applets, and startup behavior match your desktop, the basic setup is complete.

Leave a Comment

How to Share Files Over Bluetooth on Linux with Blueman

How to Share Files Over Bluetooth on Linux with Blueman

Send and receive files over Bluetooth on Linux with Blueman. Install OBEX support, pair devices, choose a file, accept transfers, and fix common issues.

How to Connect to Servers with GNOME Files

How to Connect to Servers with GNOME Files

Connect GNOME Files to SSH/SFTP, FTP, SMB, WebDAV, or NFS with the correct server URI, sign-in details, and fixes for common connection errors.

How to Connect to Servers in Linux With the KDE Dolphin File Manager

How to Connect to Servers in Linux With the KDE Dolphin File Manager

Open SFTP, SSH, SMB, FTP, NFS, and WebDAV locations in Dolphin, sign in safely, transfer files, and save network folders for later.

How to Use a PS4 Controller on Linux: USB, Bluetooth, and Steam

How to Use a PS4 Controller on Linux: USB, Bluetooth, and Steam

Connect a DualShock 4 to Linux by USB or Bluetooth, then check controller detection and configure Steam Input only when a game needs it.

How to Speed Up the Fedora Linux App Installer

How to Speed Up the Fedora Linux App Installer

Use DNF5 parallel downloads to reduce RPM install waits in GNOME Software, then tell when mirror or Flatpak delays need a different fix.

How to Use iCloud on Linux Through Your Web Browser

How to Use iCloud on Linux Through Your Web Browser

Access iCloud on Linux in a current browser. Learn how to sign in, use iCloud Drive and other web apps, and understand the limits of browser access.

How to Back Up the Linux Bootloader to a USB Drive

How to Back Up the Linux Bootloader to a USB Drive

Save GRUB settings, boot files, and UEFI entry details to removable storage, then use rescue media to repair the correct boot path safely.

How to Install and Set Up Bitwarden on Linux

How to Install and Set Up Bitwarden on Linux

Install Bitwarden on Linux with the right DEB, RPM, Snap, Flatpak, or AppImage package, then sign in and set a secure vault timeout.

How to Change the Screensaver on Xfce: Choose a Theme and Set the Idle Time

How to Change the Screensaver on Xfce: Choose a Theme and Set the Idle Time

Pick a screensaver theme in Xfce, preview it, choose when it starts, and configure automatic locking in the separate Lock Screen tab.

How to Disable the Screensaver in GNOME Shell

How to Disable the Screensaver in GNOME Shell

Stop GNOME Shell from blanking or locking your display automatically. Change Power and Screen Lock settings, or use Caffeine for a temporary keep-awake toggle.