Latte Dock/FAQ

Jump to: navigation, search
This page is a translated version of the page LatteDock/FAQ and the translation is 21% complete.

Other languages:
English • ‎français • ‎українська

←Latte Dock


Qu'est-ce que Latte Dock ? Comment cela là a t'il commencé ?

Latte Dock est un dock basé sur l'environnement de travail de Plasma et est un successeur direct de Now Dock. Latte est l'effort combiné des développeurs de Now Dock et Candil Dock.

Comment puis-je ajouter des lanceurs ?

Le moyen le plus simple et le plus efficient dans la mémoire et de les glisser-déposer dans le gestionnaire des taches (c'est la zone avec des points et des lignes sous les fenêtres qui sont actuellement utilisées).

Astuce : Vous pouvez aussi les ajouter en dehors du gestionnaire des taches. Mais cela créer des problèmes d'animation avec des tailles supérieurs à 64 pixels et c'est gourmand en mémoire.

Comment puis-je ajouter des appliquettes ?

Right click on your Plasma desktopAdd Widgets. From the plasma widgets explorer, drag n' drop any widget you want onto your Latte Dock.

Comment puis-je activer le Mode Édition dans Latte ?

In Edit Mode the user can remove applets, change their ordering and access advanced settings in various areas. To enable it the user just has to show the Latte Settings Window.

Comment je peux enlever/déplacer des appliquettes ?

You should go to Edit Mode (when the settings window is shown) and then you can drag any applet you want to be placed elsewhere. You can also remove it while under "Edit Mode" by right clicking on it or by pressing the [X] button in the tooltip above the applet.

Est-ce que je peux désactiver l'effet parabolique pour une appliquette spécifique ?

Aller dans le mode édition (quand le fenêtre de configuration est visible) et placer le curseur de la souris sur l'appliquette spécifique. Son infobulle contient une icône de verrous qui désactive l'effet parabolique pour cette appliquette.

My launcher and its window are not associated correctly OR my launcher is using a low-resolution icon?

This issue means that plasma libtaskmanager has not associated your launcher and app windows correctly to the relevant desktop file. Plasma is trying to be smart enough in order to correctly identify which desktop files are associated to which specific windows, but there are cases when it fails. Best way to solve this is to check the StartupWMClass record in the desktop file. This record should point at the proper WM_CLASS record at all times. For example even though the Latte Dock desktop file is called org.kde.latte-dock.desktop, its StartupWMClass is lattedock. In order to correctly identify the StartupWMClass of an application, you can use xprop.


  1. Run xprop from the command line.
  2. Click on the window you are interested in.
  3. Locate at the end of the output the record WM_CLASS(STRING) =.
  4. Add the previously mentioned record in the application desktop file at the StartupWMClass field.

For instance, with "Gimp 2.10", even though its desktop file is called gimp.desktop, its StartupWMClass is "gimp-2.10". StartupWMClass is not needed to be added for "Gimp" since plasma developers have taken special care to map it properly through /etc/xdg/taskmanagerrulesrc.

How does Latte Dock (auto)start and why is a widget provided?

Latte starts from the menu; there is no need to place the widget on your desktop. It is there for testing purposes. Automatic start can be enabled through Settings WindowTweaks.

Did any other dock inspire you? How does Latte Dock compare to other docks?

Latte Dock has an architecture inspired and based on Plasmashell, but we also took some inspiration from Plank, e.g.: its Visibility modes.

Quels sont les technologies/langages de programmation qui sont utilisés ?

Latte est écrit principalement en Qt/QML et C++14, mais ce projet ne serais pas possible sans KDE Frameworks 5.

Ok, you convinced me to try it! How can I install it and what are its dependencies?

You can download the sources, install the required dependencies and build Latte. Please read the README and INSTALLATION. But if you have any problems or doubts, you can ask the development team.

Which distributions have packaged Latte Dock so that I can install it through the package manager?

Please read at the bottom of Latte Dock's Main Page the Repositories section.

Why is the displayed window not smooth after the launcher's bouncing animation?

Try the following steps:

  1. Go to Plasma System SettingsApplicationsLaunch Feedback(disable) Task Manager animation.
  2. If the problem persists, then your application desktop file might be missing the "StartupWMClass" record. In Inkscape's case, that would be: StartupWMClass=inkscape. You can use the xprop application in order to identify its correct value.

Quels sont les options basiques de configuration ?

Latte is highly configurable. We invite you to explore and configure latte to your liking from the config window. 👍 But some special features are: Visibility, Zoom Effect and Add widgets/plasmoids from KDE Plasma.

Where are the configuration(s) stored?

Soyer vigilant !!! Il est recommandé de créer une sauvegarde de ces fichiers, si vous voulez garder les configurations originales.

cat ~/.config/lattedock-appletsrc

cat ~/.config/lattedockrc

Inside ~/.config/lattedock-appletsrc I see several things. Can you explain a little the idea behind those?

Config is organized based on "Containments" (e.g. [Containments][1]). Each of those has a number to distinguish one from the other, and each one has different blocks of options. That's where "applets" come into play and each "Containment" has its applets (usually one - [Containments][1][Applets][2]). So it goes like:


Now, applet-2 may be a series of launchers, a Plasma Widget, anything. Each and every applet also has multiple blocks of configuration. A block might be used for generic "applet" configuration (e.g. [Containments][1][Applets][2]) or some more specific options (e.g. [Containments][1][Applets][2][Configuration][General]).

As you can tell, we can't document everything about those numerous options here, but here is the deal: You can tweak every applet separately, you can change the order applets appear with appletOrder=No_of_Applet;No_of_Another, under [Containments][1][General]* , you can manually change the iconSize at the same block, if you want shadows, what the zoomLevel must be, etc. A sample is provided here so you can see it for yourself.

  • You see, it contains all the other applets and you tweak it under general options.

What are some expert configuration options to never mess with?

None is forbiden, as long as you take frequent backups of your configuration. Use cron or similar software to automate the procedure and place them in a safe place.

How can I enable the Latte Global Shortcuts?

In most cases you need to go to Plasma System SettingsGlobal ShortcutsLatte Dock and enable what shortcuts you need.

  • Super + No: Activate a task
  • Super + Ctrl + No: A new instance for a task
  • Super + `: Rend un dock invisible visible

Est-ce que je peux utiliser ma touche super pour ouvrir le lanceur d'applications?

Tout d'abord soyez sûre que Latte Dock n'est pas ouvert.

Option 1 :

Bien sur vous pouvez, mais vous devez ajouter à votre fichier ~/.config/kwinrc, le code suivant :


Puis rechargez KWin avec :

qdbus org.kde.KWin /KWin reconfigure

Option 2:

Alternatively, you can run the following commands:

kwriteconfig5 --file ~/.config/kwinrc --group ModifierOnlyShortcuts --key Meta "org.kde.lattedock,/Latte,org.kde.LatteDock,activateLauncherMenu"
qdbus org.kde.KWin /KWin reconfigure

Latte v0.8 deactivates Borderless Maximized Windows from Active Window Control plasmoid, what can I do ?

Latte v0.8 supports BorderLess Maximized Windows per layout simultaneously. In order for this to work it had to support that feature internally. You can try the following:

  1. Disable BorderLess Maximized Windows from Active Window Control.
  2. Go to Latte SettingsLayoutsChoose tab (Preferences) and enable Support borderless maximized windows in different layouts.
  3. Return to your layouts and a new column called Borderless should now appear, add a check mark in the column for the layout you want that feature and click Apply.

Ok, so now I can't launch Latte. Is there any sample config to restore it to default settings?

You have been told to take backups. Unfortunately, unless you post your configuration to get help, little can be done now; just killall -9 latte-dock, delete your configuration and restart Latte in order to reconfigure it. A configuration exists [here](, but it will most likely not be useful to you.

Can I tweak things like Latte Dock's distance from the screen's border?

You can minimize the distance, but not directly tweak it. Go to Latte SettingTweaks and select Shrink thickness margins.

Are there preloaded layouts for Latte v0.6?

In Latte v0.7, the layouts have been added by default in the Appearance page. For previous v0.6, users are able to use the Preloaded Layouts file, which contains four of the most used layouts (Default, Unity, Plasma, Favourite).

Can I tweak a launcher's icon or its command parameters?

You can set it up on your plasma environment and drag n' drop it onto your "Latte Dock".

Can I rearrange misplaced launchers and applets through the configuration files?

If you misplaced a launcher (or a whole applet), open ~/.config/lattedock-appletsrc. Search your launcher and decide where you want to place it. Cut


(yes, with the semicolon too) and paste it after the launcher - and its semicolon - you want. Be very careful; only the last launcher won't need a semicolon afterwards! So if you are copying your launcher between two others, you have to make sure that a semicolon exists both before and after your launcher. Let's see an example; let's say you need to copy the launcher for transmission-qt:


If what you want to reposition is a whole applet, rather than a launcher in an applet, you will find appletOrder very useful. Just note your applet's number and change the order in which applets are written in the previously mentioned option. Have I mentioned to keep a backup before you edit? I'm mentioning again; it's good practice.

What effects does Latte Dock provide? Can launchers rotate, shake or dim when clicked?

Latte only has the zoom effect and shadows, but we are very concerned about delivering an excellent user experience.

How can someone shutdown any effect, so the icons do absolutely nothing when clicked?

You can disable all animations through Latte Configuration WindowAppearanceAnimationsNone.

Launchers are disappearing before the relevant window is shown even though they shouldn't.

We are acquainted with this, but this behavior is provided by plasma's libtaskmanager. You can read more at: Latte Issue #72, KDE bug report

I set Animations to None, but when clicking on a launcher its icon momentarily disappears.

This bug was already fixed in current master and will be included in the next (0.6.0) release. So all you have to do is git pull the latest changes of master, or wait for the next stable version if you prefer.

Some applets in my dock are shown too small from Plasma 5.10 and beyond, can I fix this?

In Plasma 5.10, the plasma developers decided that the applets in the panels should have a maximum size that must not be overcome. You can change this at plasma System Settings-> IconsAdvancedPanel → by setting a size of 256px.

My left dock behaves strangely from Plasma 5.10 onwards, how can I fix this?

In Plasma 5.10, the KWin developers introduced gesture functionality for touch screens, which is enabled by default for all systems. You can disable it through plasma System SettingsWorkspace BehaviorTouchscreen. Relogin your plasma session if the change doesn't take effect immediately.

KWin bug report Plasma bug report

So far so good, but Wayland is the future. What are the plans on this?

We plan to work on this for Plasma 5.10, but we are currently working on offering experimental support as well.

When support for Wayland is provided, will Latte Dock remove its automagical dependency of X11?

It's still a long way off for Wayland to replace X11, but it's possible to build Latte without X11 dependencies, however we are still working on supporting Wayland.

As of writing this F.A.Q., what is the problem with Qt v5.8?

If you are brave enough to mess with technical details, you may want to look here and here.

Is there a way to tell Latte Dock to launch only for a Plasma session ?

Of course you can, please follow these steps:

  1. Go to System SettingsStartup and ShutdownAutostart.
  2. Choose Latte Dock from the applications list.
  3. AdvancedAutostart only in Plasma.

Is there any other hiccup or potential problem I should be careful of?

Software, as everything else in life, isn't perfect; we constantly try to make better software and you can help us out by reporting every possible problem you may find. To answer the question though, there isn't a bug serious enough to prevent you from trying Latte Dock.

Are there any hopes and wishes for features from the Plasma upstream?

The most important feature needed from KWin in Wayland is that distros provide access to KWayland's privileged APIs and/or for the users, a confirmation from them that Latte requests such APIs.

How often will new versions be released and what are your plans?

The first priority needed to release a stable version is that all the needed features are implemented and no major crashes appear. We are of course trying to keep the schedule, but on the other hand, it will be ready when it is ready is the better philosophy we should follow in order to provide a complete and stable release for our users.

I am a complete newbie but I want to help somehow. What can I do?

By the time this F.A.Q. was written, much help is needed to make Latte stable with multi-screen setups. You could clone the "multiscreens" branch and report back any issues. Normal bug reports, reports about problems with specific Plasma or Qt versions, strange desktop behavior or even wishes about new features are all welcome as well. Face-smile.png

I know how to program. What can I do to help?

First step is to know what you are after and then to fork the repo; after that, you can hunt for bugs, add new features - or make already existing features more stable. Discuss your changes and if they are good and reasonable enough, we are more than happy if you provide a pull request.

How can I install from the current master branch?

You can easily download and install from the latest master branch by running a script with the following commands:

git clone
cd Latte-Dock

The last command might ask for your root password just before installing.

How can I install from a specific branch?

If you want to test some features that currently don't exist in the master branch, you have to checkout the branch you wish to install. Let's say you need the multi2 branch:

git clone
cd Latte-Dock
git pull
git branch multi2
git checkout multi2
git pull origin multi2

Compile as usual.

I added the applet, but it is shown without a shadow like the rest of the icons.

Well, if an applet (or more) doesn't have a shadow, you should either double-check that option All is set under Latte SettingsAppearance.

Qu'est-ce qui ce passe si je glisse-dépose des fichiers sur le lanceur ?

The file will be passed as a parameter to the specific application, creating a new instance (e.g. passing an image to Kolourpaint will open the image with Kolourpaint).

Are there known compatibility issues with specific graphics drivers?

If you have Intel Graphics and experience problems with rendering such as pixelated graphics, corrupt text and others, you can try changing the 2D rendering method from SNA to UXA.


section     "Device"
Identifier  "Intel Graphics"
Driver      "intel"
Option      "AccelMethod"  "uxa"

My dock doesn't show anymore when i activate the Auto-hide or the Dodge window feature

Apparently, some features from plasma can hinder Latte Dock's ability to show itself when touching the screen border. Plasma 5.10 added the option to execute actions on swiping over a border on a touch screen. You can find this option in System Settings under: Desktop behaviorTouch screen. If you have your dock on the same border a touch gesture is active, the dock may not be able to show itself. Try deactivating the gesture on that border, then close and restart your session and check if the problem was fixed. (#676)

This page was last edited on 18 May 2019, at 09:00. Content is available under Creative Commons License SA 4.0 unless otherwise noted.