LatteDock/FAQ/fr: Difference between revisions

From KDE UserBase Wiki
No edit summary
(Updating to match new version of source page)
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
<languages />
<languages />
[[Special:myLanguage/LatteDock|←Latte Dock]]
[[Special:myLanguage/LatteDock|←Latte Dock]]
[[File:LLoXdgK.png|right|Latte Dock!]]


== Qu'est-ce que Latte Dock ? Comment cela là a t'il commencé ? ==
== 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  [https://github.com/psifidotos/nowdock-panel Now Dock]. '''Latte''' est l'effort combiné des développeurs de [https://github.com/psifidotos/nowdock-panel Now Dock] et [https://github.com/audoban/Candil-Dock Candil Dock].
'''Latte Dock''' est un dock basé sur l'environnement de travail de Plasma et est un successeur direct de  [https://github.com/psifidotos/nowdock-panel Now Dock]. '''Latte''' est l'effort combiné des développeurs de [https://github.com/psifidotos/nowdock-panel Now Dock] et [https://github.com/audoban/Candil-Dock Candil Dock].
== Which Linux distros provide "Out Of The Box" Latte Dock experience? ==
* [https://nxos.org/ Nitrux]
* [https://garudalinux.org/ Garuda KDE Dragonized]
* [https://xldb.techxero.com/ Xerolinux]
* [https://distrowatch.com/table.php?distribution=bluestar Bluestar Linux]
* [https://pearos.xyz/ pearOS]


== Comment puis-je ajouter des lanceurs ? ==
== Comment puis-je ajouter des lanceurs ? ==
Line 10: Line 20:
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).
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).


<div class="mw-translate-fuzzy">
'''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.
'''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.
 
</div>
== Comment puis-je ajouter des appliquettes ? ==
 
Clic droit sur votre <menuchoice>Bureau Plasma</menuchoice> &rarr; <menuchoice>Ajouter des composants graphiques</menuchoice>. À parti de l'explorateur de composants graphique de Plasma, glisser et déposer tout composant graphique que vous souhaitez voir, sur votre '''Dock Latte'''.
 
== Comment puis-je activer le Mode Édition dans Latte ? ==
 
En '''Mode Édition''', l'utilisateur peut supprimer des appliquettes, changer leur ordre et accéder aux paramètres avancés de nombreuses zones. Pour activer ce mode, l'utilisateur doit juste afficher la '''Fenêtre des paramétrages de Latte'''.
 
== Comment je peux enlever/déplacer des appliquettes ? ==
 
Vous devriez activer le '''Mode Édition''' (quand la fenêtre des paramètres s'affiche) et vous pourrez ensuite déplacer ailleurs toute appliquette concernée. Vous pouvez également la supprimer, toujours en "Mode Édition", en cliquant-doit dessus et en pression sur le bouton [X] de l'info-bulle au dessus de l'appliquette.
 
== 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.


== Mon lanceur et sa fenêtre ne sont pas associés correctement OU mon lanceur utilise un icône à basse résolution ==
== Mon lanceur et sa fenêtre ne sont pas associés correctement OU mon lanceur utilise un icône à basse résolution ==
Line 40: Line 36:
Par exemple, avec "Gimp 2.10", même si son fichier de bureau est appellé {{Path|1=gimp.desktop}}, sa <code>StartupWMClass</code> est "gimp-2.10". Il n'est pas nécessaire d'ajouter "Gimp" dans <code>StartupWMClass</code> depuis que les développeurs de Plasma ont particulièrement fait attention à l'associer proprement à travers {{Path|1=/etc/xdg/taskmanagerrulesrc}}.
Par exemple, avec "Gimp 2.10", même si son fichier de bureau est appellé {{Path|1=gimp.desktop}}, sa <code>StartupWMClass</code> est "gimp-2.10". Il n'est pas nécessaire d'ajouter "Gimp" dans <code>StartupWMClass</code> depuis que les développeurs de Plasma ont particulièrement fait attention à l'associer proprement à travers {{Path|1=/etc/xdg/taskmanagerrulesrc}}.


== Comment Latte Dock se (auto)lance et pourquoi existe-t-il sous la forme d'un composant graphique ?==
== How can I enable Latte Global Shortcuts? ==
 
'''Latte''' se lance à partir du menu, il est inutile de placer le composant graphique sur votre bureau. Il s'y place qu'à des fins de tests uniquement. Le lancement automatique peut être activé à partir de la <menuchoice>Fenêtre des paramêtres</menuchoice> &rarr; <menuchoice>Ajustements</menuchoice>.
 
== 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 serait pas possible sans [https://api.kde.org/frameworks/index.html '''KDE Frameworks 5'''].
 
== Oui vous m'avez convaincu de l'essayer ! Comment puis-je l'installer et quelles sont ses dépendances ? ==
 
You can download the sources, install the required dependencies and build '''Latte'''. Please read the [https://github.com/psifidotos/Latte-Dock/blob/master/README.md README] and [https://github.com/psifidotos/Latte-Dock/blob/master/INSTALLATION.md INSTALLATION]. But if you have any problems or doubts, you can [https://github.com/psifidotos/Latte-Dock/issues/203 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 [https://github.com/psifidotos/Latte-Dock Latte Dock's Main Page] the [https://github.com/psifidotos/Latte-Dock#from-repositories Repositories] section.
 
== Why is the displayed window not smooth after the launcher's bouncing animation? ==
 
Essayez les étapes suivantes :
 
#Go to <menuchoice>Plasma System Settings</menuchoice> &rarr; <menuchoice>Applications</menuchoice> &rarr; <menuchoice>Launch Feedback</menuchoice> &rarr; <menuchoice>(disable) Task Manager</menuchoice> animation.
#If the problem persists, then your application desktop file might be missing the "StartupWMClass" record. In Inkscape's case, that would be: <code>StartupWMClass=inkscape</code>. You can use the <code>xprop</code> 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.
 
== Où sont rangées les configurations ? ==
 
Soyer vigilant !!! Il est recommandé de créer une sauvegarde de ces fichiers, si vous voulez garder les configurations originales.
 
{{Path|1=cat ~/.config/lattedock-appletsrc}}
 
{{Path|1=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. <code>[Containments][1]</code>). 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 - <code>[Containments][1][Applets][2]</code>). So it goes like:
 
{{Input|1=[Containments][NumberOfContainment][Applets][NumberOf_Applet]}}
 
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. <code>[Containments][1][Applets][2]</code>) or some more specific options (e.g. <code>[Containments][1][Applets][2][Configuration][General]</code>).
 
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 <code>appletOrder=No_of_Applet;No_of_Another</code>, under <code>[Containments][1][General]</code>* , you can manually change the <menuchoice>iconSize</menuchoice> at the same block, if you want <menuchoice>shadows</menuchoice>, what the <menuchoice>zoomLevel</menuchoice> must be, etc. A sample is provided [http://pastebin.ca/3772307 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 forbidden, as long as you take ''frequent backups'' of your configuration. Use [https://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/ 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 <menuchoice>Plasma System Settings</menuchoice> &rarr; <menuchoice>Global Shortcuts</menuchoice> &rarr; <menuchoice>Latte Dock</menuchoice> and enable what shortcuts you need.
In most cases you need to go to <menuchoice>Plasma System Settings</menuchoice> &rarr; <menuchoice>Global Shortcuts</menuchoice> &rarr; <menuchoice>Latte Dock</menuchoice> and enable what shortcuts you need.


* <keycap>Super + No</keycap>: Activate a task
* <menuchoice>Super + Number</menuchoice> : Activate a task
* <keycap>Super + Ctrl + No</keycap>: A new instance for a task
* <menuchoice>Super + Ctrl + Number</menuchoice> : A new instance for a task
* <keycap>Super + `</keycap>: Rend un dock invisible visible
* <keycap>Super + `</keycap>: Rend un dock invisible visible


== Est-ce que je peux utiliser ma touche super pour ouvrir le lanceur d'applications? ==
== 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.
* The official way to enable this is to right click <menuchoice>Dock</menuchoice> &rarr; <menuchoice>Configure Latte...</menuchoice> &rarr; <menuchoice>Enable autostart during startup</menuchoice>


===Option 1 :===
* The manual way is to <menuchoice>Close Latte</menuchoice> &rarr; <menuchoice>Execute in command prompt:</menuchoice> {{Input|1=<nowiki>kwriteconfig5 --file ~/.config/kwinrc --group ModifierOnlyShortcuts --key Meta "org.kde.lattedock,/Latte,org.kde.LatteDock,activateLauncherMenu"
Bien sur vous pouvez, mais vous devez ajouter à votre fichier {{Path|1=~/.config/kwinrc}}, le code suivant :
 
{{Input|1=<nowiki>
[ModifierOnlyShortcuts]
Meta=org.kde.lattedock,/Latte,org.kde.LatteDock,activateLauncherMenu</nowiki>}}
 
Puis rechargez KWin avec :
 
{{Input|1=qdbus org.kde.KWin /KWin reconfigure}}
 
===Option 2:===
Alternatively, you can run the following commands:
 
{{Input|1=<nowiki>kwriteconfig5 --file ~/.config/kwinrc --group ModifierOnlyShortcuts --key Meta "org.kde.lattedock,/Latte,org.kde.LatteDock,activateLauncherMenu"
qdbus org.kde.KWin /KWin reconfigure</nowiki>}}
qdbus org.kde.KWin /KWin reconfigure</nowiki>}}
== Latte v0.8 deactivates Borderless Maximized Windows from Active Window Control plasmoid, what can I do ? ==
Latte v0.8 supports <menuchoice>BorderLess Maximized</menuchoice> Windows per layout simultaneously. In order for this to work it had to support that feature internally. You can try the following:
# Disable <menuchoice>BorderLess Maximized</menuchoice> Windows from <menuchoice>Active Window Control</menuchoice>.
# Go to <menuchoice>Latte Settings</menuchoice> &rarr; <menuchoice>Layouts</menuchoice> &rarr; <menuchoice>Choose tab (Preferences)</menuchoice> and enable <menuchoice>Support borderless maximized windows in different layouts</menuchoice>.
# Return to your layouts and a new column called <menuchoice>Borderless</menuchoice> should now appear, add a check mark in the column for the layout you want that feature and click <menuchoice>Apply</menuchoice>.
== 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 <code>killall -9 latte-dock</code>, delete your configuration and restart '''Latte''' in order to reconfigure it. A configuration exists [here](http://pastebin.ca/3772307), 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 <menuchoice>Latte Setting</menuchoice> &rarr; <menuchoice>Tweaks</menuchoice> and select <menuchoice>Shrink thickness margins</menuchoice>.
== Are there preloaded layouts for Latte v0.6? ==
In '''Latte v0.7''', the layouts have been added by default in the Appearance page. For the previous v0.6, users are able to use the [https://github.com/psifidotos/Latte-Dock/files/888568/MyProfiles.zip 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 {{Path|1=~/.config/lattedock-appletsrc}}. Search your launcher and decide where you want to place it. Cut {{Input|1=;file:///usr/share/applications/myapp.desktop}} (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 afterward! 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''':
{{Input|1=..;file:///usr/share/applications/kchmviewer.desktop;file:transmission-qt;file:....}}
If what you want to reposition is a whole applet, rather than a launcher in an applet, you will find <code>appletOrder</code> 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 excellent user experience.
== How can someone shut down any effect, so the icons do absolutely nothing when clicked? ==
You can disable all animations through <menuchoice>Latte Configuration Window</menuchoice> &rarr; <menuchoice>Appearance</menuchoice> &rarr; <menuchoice>Animations</menuchoice> &rarr; <menuchoice>None</menuchoice>.


== Launchers are disappearing before the relevant window is shown even though they shouldn't. ==
== 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: [https://github.com/psifidotos/Latte-Dock/issues/72 Latte Issue #72], [https://bugs.kde.org/show_bug.cgi?id=368386 KDE bug report]
We are acquainted with this, but this behavior is provided by plasma's '''libtaskmanager'''. You can read more at: [https://github.com/psifidotos/Latte-Dock/issues/72 Latte Issue #72], [https://bugs.kde.org/show_bug.cgi?id=368386 KDE bug report]
== I set Animations to None, but when clicking on a launcher its icon momentarily disappears. ==
This bug was ''already'' fixed in the current master and will be included in the next (0.6.0) release. So all you have to do is <code>git pull</code> 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 <menuchoice>System Settings</menuchoice>-> <menuchoice>Icons</menuchoice> &rarr; <menuchoice>Advanced</menuchoice> &rarr; <menuchoice>Panel</menuchoice> &rarr; by setting a size of 256px.


== My left dock behaves strangely from Plasma 5.10 onwards, how can I fix this? ==
== My left dock behaves strangely from Plasma 5.10 onwards, how can I fix this? ==
Line 183: Line 61:
[https://bugs.kde.org/show_bug.cgi?id=382219 KWin bug report] [https://bugs.kde.org/show_bug.cgi?id=392464 Plasma bug report]
[https://bugs.kde.org/show_bug.cgi?id=382219 KWin bug report] [https://bugs.kde.org/show_bug.cgi?id=392464 Plasma bug report]


== So far so good, but Wayland is the future. What are the plans for this? ==
== Is there a way to tell Latte Dock to launch only in '''Plasma Session''' ? ==
 
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 [https://github.com/psifidotos/Latte-Dock/issues/183 here] and [https://bugreports.qt.io/browse/QTBUG-59044 here].
 
== Is there a way to tell Latte Dock to launch only for a Plasma session ? ==


Of course you can, please follow these steps:
Of course you can, please follow these steps:
Line 203: Line 69:
# <menuchoice>Advanced</menuchoice> &rarr; <menuchoice>Autostart only in Plasma</menuchoice>.
# <menuchoice>Advanced</menuchoice> &rarr; <menuchoice>Autostart only in Plasma</menuchoice>.


== Is there any other hiccup or potential problem I should be careful of? ==
== Qu'est-ce qui ce passe si je glisse-dépose des fichiers sur le lanceur ? ==


Software, like everything else in life, isn't perfect; we constantly try to make better software and you can help
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''').
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? ==
== My right click does not work ? ==


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.
When right-click does not work both for applets and tasks it means that your Latte has not been built with the same KDE Frameworks libraries like Plasma Desktop. The only solution is either your distro to update its Latte package properly or to build Latte by yourself.


== How often will new versions be released and what are your plans? ==
== How can I set the maximum icon size for applets in Plasma panels? ==  


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.
If you want to set 192px. as maximum icon size for applets in panels you can execute:


== I am a complete newbie but I want to help somehow. What can I do? ==
{{Input|1=<nowiki>kwriteconfig --file ~/.config/kdeglobals --group PanelIcons --key Size "192"</nowiki>}}


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
In the previous example, any plasma applets larger than 192px. are going to use their full Desktop representation when are placed inside panels.
"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. {{Smiley}}


== I know how to program. What can I do to help? ==
== How can I improve CPU usage? ==  


The 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.
Latte, in general, has as a focus to provide maximum configurability and performance, so all its graphics and animations are set to BEST values...


== How can I install from the current master branch? ==
An easy and known solution if you want better CPU usage it to DISABLE tasks/applets shadows. Latte is using DropShadow qml element extensively and it is quite costly. To disable all shadows in a dock, you can do:


You can easily download and install from the latest master branch by running a script with the following commands:
'''Right click Dock -> Edit Dock... -> Effects -> "Shadows" [disable that options group from its header]'''


{{Input|1=<nowiki>git clone https://github.com/psifidotos/Latte-Dock.git
In my system, when using the parabolic effect, ''CPU usage is dropped around 75%''
cd Latte-Dock
sh install.sh</nowiki>}}


The last command might ask for your root password just before installing.
== My badge counters do not work in Latte Dock. How can I fix it? ==


== How can I install from a specific branch? ==
Please make sure you have libunity installed. On KDE versions of Ubuntu such as Kubuntu and KDE Neon, you will need <code>libunity-dev</code> installed.


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:
== How can I autocolor my Latte panel based on specific application? ==


{{Input|1=<nowiki>git clone https://github.com/psifidotos/Latte-Dock.git
# Install <menuchoice>Latte Window Colors </menuchoice> KWin script from [https://store.kde.org/p/1290287/ KDE Store]
cd Latte-Dock
# Right click <menuchoice>Latte Panel</menuchoice> &rarr; <menuchoice>Edit Panel...</menuchoice> &rarr; <menuchoice>Appearance</menuchoice> &rarr; <menuchoice>Colors</menuchoice> &rarr; <menuchoice>From Window</menuchoice> &rarr; <menuchoice>Any Touching Window</menuchoice>
git pull
# Specify different color schemes for your applications:
git branch multi2
#* Right click <menuchoice>Window Titlebar</menuchoice>
git checkout multi2
#* <menuchoice>More Actions</menuchoice> &rarr; <menuchoice>Configure Special Application Settings...</menuchoice>
git pull origin multi2</nowiki>}}
#* <menuchoice>Add Property</menuchoice> &rarr; <menuchoice>Appearance and Fixes</menuchoice> &rarr; <menuchoice>Titlebar color scheme</menuchoice>
#* Select <menuchoice>Force</menuchoice> &rarr; <menuchoice>Choose your preferred color scheme</menuchoice>


Compile as usual.
== Can I disable autocolor for specific applet? ==


== I added the applet, but it is shown without a shadow like the rest of the icons. ==
Yes, right click <menuchoice>Dock</menuchoice> &rarr; <menuchoice>Edit Dock...</menuchoice> &rarr; <menuchoice>Rearrange and configure your widgets</menuchoice> &rarr; <menuchoice>Disable "drop" icon</menuchoice> from mentioned applet tooltip
 
Well, if an applet (or more) doesn't have a shadow, you should either double-check that option <menuchoice>All</menuchoice> is set under <menuchoice>Latte Settings</menuchoice> &rarr; <menuchoice>Appearance</menuchoice>.
 
== 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? ==
== Are there any 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''.
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''.
Line 269: Line 127:
EndSection</nowiki>}}
EndSection</nowiki>}}


== My right click does not work ? ==
== Can I have different '''Borderless Maximized''' windows options between different layouts? ==


When right-click does not work both for applets and tasks it means that your Latte has not been built with the same KDE Frameworks libraries like Plasma Desktop. The only solution is either your distro to update its Latte package properly or to build Latte by yourself.
1. Yes, this is possible. First enable this functionality in Latte's Preferences settings:


== How can I set the maximum icon size for applets in Plasma panels? ==
[[File:Borderless.png]]


If you want to set 192px. as maximum icon size for applets in panels you can execute:
2. Enable/Disable this functionality per layout on the Latte Layout settings afterwards.


{{Input|1=<nowiki>kwriteconfig --file ~/.config/kdeglobals --group PanelIcons --key Size "192"</nowiki>}}
[[File:Layout.png]]
 
In the previous example, any plasma applets larger than 192px. are going to use their full Desktop representation when are placed inside panels.
 
== How can I improve CPU usage? ==
 
Latte, in general, has as a focus to provide maximum configurability and performance, so all its graphics and animations are set to BEST values...
 
An easy and known solution if you want better CPU usage it to DISABLE tasks/applets shadows. Latte is using DropShadow qml element extensively and it is quite costly. To disable all shadows in a dock, you can do:
 
'''Right click Dock -> Dock settings - Effects -> "Shadows" [disable that options group from its header]'''
 
In my system, when using the parabolic effect, ''CPU usage is dropped around 75%''
 
== My badge counters don't work in latte-dock. How can fix it? ==
 
Please make sure you have libunity installed. On KDE versions of Ubuntu such as Kubuntu and KDE Neon, you will need <code>libunity-dev</code> installed.

Latest revision as of 23:04, 23 September 2022

Other languages:

←Latte Dock

Latte Dock!
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.

Which Linux distros provide "Out Of The Box" Latte Dock experience?

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.

Mon lanceur et sa fenêtre ne sont pas associés correctement OU mon lanceur utilise un icône à basse résolution

Cette anomalie signifie que libtaskmanager n'a pas associé au lanceur et à l'application le bon type de fichier concerné. Plasma essaie d'être suffisamment intelligent pour identifier correctement les types de fichiers aux applications dédiées, mais dans certains cas il peut ne pas y arriver. Le meilleur moyen pour résoudre cela est de vérifier l'enregistrement StartupWMClass dans le fichier du bureau. Cet enregistrement doit toujours pointer vers le bon WM_CLASS. Par exemple à chaque fois que le fichier Latte Dock est appelé org.kde.latte-dock.desktop, sa classe StartupWMClass est lattedock. De fait pour correctement identifier la StartupWMClass d'une application, vous pouvez utiliser xprop.

Exemple :

  1. Exécutez xprop à partir de la ligne de commande.
  2. Cliquez sur la fenêtre qui vous intéresse.
  3. Localisez à la fin de la sortie l'enregistrement WM_CLASS(STRING) =.
  4. Ajoutez l'enregistrement pré-cité dans le fichier de bureau de l'application, au champ StartupWMClass.

Par exemple, avec "Gimp 2.10", même si son fichier de bureau est appellé gimp.desktop, sa StartupWMClass est "gimp-2.10". Il n'est pas nécessaire d'ajouter "Gimp" dans StartupWMClass depuis que les développeurs de Plasma ont particulièrement fait attention à l'associer proprement à travers /etc/xdg/taskmanagerrulesrc.

How can I enable Latte Global Shortcuts?

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

  • Super + Number : Activate a task
  • Super + Ctrl + Number : 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?

  • The official way to enable this is to right click DockConfigure Latte...Enable autostart during startup
  • The manual way is to Close LatteExecute in command prompt:
    kwriteconfig5 --file ~/.config/kwinrc --group ModifierOnlyShortcuts --key Meta "org.kde.lattedock,/Latte,org.kde.LatteDock,activateLauncherMenu"
    qdbus org.kde.KWin /KWin reconfigure

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

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

Is there a way to tell Latte Dock to launch only in 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.

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).

My right click does not work ?

When right-click does not work both for applets and tasks it means that your Latte has not been built with the same KDE Frameworks libraries like Plasma Desktop. The only solution is either your distro to update its Latte package properly or to build Latte by yourself.

How can I set the maximum icon size for applets in Plasma panels?

If you want to set 192px. as maximum icon size for applets in panels you can execute:

kwriteconfig --file ~/.config/kdeglobals --group PanelIcons --key Size "192"

In the previous example, any plasma applets larger than 192px. are going to use their full Desktop representation when are placed inside panels.

How can I improve CPU usage?

Latte, in general, has as a focus to provide maximum configurability and performance, so all its graphics and animations are set to BEST values...

An easy and known solution if you want better CPU usage it to DISABLE tasks/applets shadows. Latte is using DropShadow qml element extensively and it is quite costly. To disable all shadows in a dock, you can do:

Right click Dock -> Edit Dock... -> Effects -> "Shadows" [disable that options group from its header]

In my system, when using the parabolic effect, CPU usage is dropped around 75%

My badge counters do not work in Latte Dock. How can I fix it?

Please make sure you have libunity installed. On KDE versions of Ubuntu such as Kubuntu and KDE Neon, you will need libunity-dev installed.

How can I autocolor my Latte panel based on specific application?

  1. Install Latte Window Colors KWin script from KDE Store
  2. Right click Latte PanelEdit Panel...AppearanceColorsFrom WindowAny Touching Window
  3. Specify different color schemes for your applications:
    • Right click Window Titlebar
    • More ActionsConfigure Special Application Settings...
    • Add PropertyAppearance and FixesTitlebar color scheme
    • Select ForceChoose your preferred color scheme

Can I disable autocolor for specific applet?

Yes, right click DockEdit Dock...Rearrange and configure your widgetsDisable "drop" icon from mentioned applet tooltip


Are there any 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.

/etc/X11/xorg.conf.d/20-intel.conf

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

Can I have different Borderless Maximized windows options between different layouts?

1. Yes, this is possible. First enable this functionality in Latte's Preferences settings:

2. Enable/Disable this functionality per layout on the Latte Layout settings afterwards.