Difference between revisions of "LatteDock/FAQ"

Jump to: navigation, search
m (forgot one more heading)
m (Fix minor typo)
 
(20 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
<languages />
 
<languages />
 
<translate>
 
<translate>
[[LatteDock|←Latte Dock]]
+
<!--T:1-->
 +
[[Special:myLanguage/LatteDock|←Latte Dock]]
  
==  Q: What is Latte Dock? How did it begin? ==
+
==  What is Latte Dock? How did it begin? == <!--T:2-->
  
A: '''Latte Dock''' is a dock based on plasma frameworks and a direct successor of [https://github.com/psifidotos/nowdock-panel Now Dock]. '''Latte''' is the combined effort from the developers of [https://github.com/psifidotos/nowdock-panel Now Dock] and [https://github.com/audoban/Candil-Dock Candil Dock].
+
<!--T:3-->
 +
'''Latte Dock''' is a dock based on plasma frameworks and a direct successor of [https://github.com/psifidotos/nowdock-panel Now Dock]. '''Latte''' is the combined effort from the developers of [https://github.com/psifidotos/nowdock-panel Now Dock] and [https://github.com/audoban/Candil-Dock Candil Dock].
  
== Q: How can I add launchers? ==
+
== How can I add launchers? == <!--T:4-->
  
'''A:''' The easiest and memory efficient way is to drag n' drop them on the taskmanager (this is the area that dots and lines are shown under running windows).
+
<!--T:5-->
 +
The easiest and most memory efficient way to do so is to drag n' drop them on the task manager (this is the area where dots and lines are shown under running windows).
  
'''Hint:''' You can add them also outside the taskmanager but that creates animation issues for size <64px and it is memory hungry.
+
<!--T:6-->
 +
'''Hint:''' You can also add them outside the task manager, but this creates animation issues for sizes <64px and it is memory hungry.
  
== Q: How can I add applets? ==
+
== How can I add applets? == <!--T:7-->
  
'''A:''' right click on your '''Plasma desktop -> Add Widgets'''. From the plasma widgets explorer drag n' drop any widget you want onto your Latte dock
+
<!--T:8-->
 +
Right click on your <menuchoice>Plasma desktop</menuchoice> &rarr; <menuchoice>Add Widgets</menuchoice>. From the plasma widgets explorer, drag n' drop any widget you want onto your '''Latte Dock'''.
  
== Q: How can I enable ''Edit Mode'' in Latte? ==
+
== How can I enable Edit Mode in Latte? == <!--T:9-->
  
'''A:''' 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'''.
+
<!--T:10-->
 +
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'''.
  
== Q: How can I move/remove applets? ==
+
== How can I move/remove applets? == <!--T:11-->
  
'''A:'''  you should go to '''Edit Mode''' (this is when the settings window is shown) and then you can drag any applet you want to be placed else where. At the same point you can also remove it by right clicking on it or by pressing the [X] button and the tooltip above the applet.
+
<!--T:12-->
 +
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.
  
== Q: Can I disable parabolic effect for specific applet? ==
+
== Can I disable the parabolic effect for a specific applet? == <!--T:13-->
  
'''A:''' you should go to '''Edit Mode''' (this is when the settings window is shown) and hover afterwards the specific applet. Its tooltip contains a locker icon that you can use to disable parabolic effect for that applet.
+
<!--T:14-->
 +
You should go to '''Edit Mode''' (when the settings window is shown) and hover afterwards the specific applet. Its tooltip contains a lock icon that will disable parabolic effect for that applet when clicked.
  
== Q: My launcher and its window are not associated correctly OR my launcher is using a low-resolution icon? ==
+
== My launcher and its window are not associated correctly OR my launcher is using a low-resolution icon? == <!--T:15-->
  
'''A:''' That issue means that plasma libtaskmanager has not associated correctly your launcher and app windows with the relevant desktop file. Plasma is trying to be smart enough in order to identify correctly which desktop files are associated to specific windows but there are cases that it fails. Best way to solve this is to check the `StartupWMClass` record in the desktop file. That record should point at the proper `WM_CLASS` record at all times. For example even though Latte desktop file is called `org.kde.latte-dock.desktop` its `StartupWMClass` is `lattedock`. In order to identify correctly the `StartupWMClass` for an application you can use `xprop` to do so.
+
<!--T:16-->
 +
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 <code>StartupWMClass</code> record in the desktop file. This record should point at the proper <code>WM_CLASS</code> record at all times. For example even though the Latte Dock desktop file is called {{Path|1=org.kde.latte-dock.desktop}}, its <code>StartupWMClass</code> is <code>lattedock</code>. In order to correctly identify the <code>StartupWMClass</code> of an application, you can use <code>xprop</code>.
  
 +
<!--T:17-->
 
'''Example:'''
 
'''Example:'''
1. Run `xprop` in command prompt
+
# Run <code>xprop</code> from the command line.</translate>
2. Click on the window you are interested in
+
<translate>
3. Locate at the end of the output the record `WM_CLASS(STRING) =`
+
<!--T:121-->
4. Add the previous mentioned record in the application desktop file at the `StartupWMClass` field
+
# Click on the window you are interested in.</translate>
 +
<translate>
 +
<!--T:122-->
 +
# Locate at the end of the output the record <code>WM_CLASS(STRING) =</code>.</translate>
 +
<translate>
 +
<!--T:123-->
 +
# Add the previously mentioned record in the application desktop file at the <code>StartupWMClass</code> field.
  
e.g. for '''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''' because plasma developers have taken special care to map it properly through `/etc/xdg/taskmanagerrulesrc`.
+
<!--T:18-->
 +
For instance, with "Gimp 2.10", even though its desktop file is called {{Path|1=gimp.desktop}}, its <code>StartupWMClass</code> is "gimp-2.10". <code>StartupWMClass</code> is not needed to be added for "Gimp" since plasma developers have taken special care to map it properly through {{Path|1=/etc/xdg/taskmanagerrulesrc}}.
  
== Q: How Latte Dock (auto)starts and why a widget is provided? ==
+
== How does Latte Dock (auto)start and why is a widget provided? == <!--T:19-->
  
'''A:''' '''Latte''' starts from the menu; there is no need to place the widget on your desktop. It is there for testing purposes. The automatic start can be enabled through '''Settings Window -> Tweaks'''.
+
<!--T:20-->
 +
'''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 <menuchoice>Settings Window</menuchoice> &rarr; <menuchoice>Tweaks</menuchoice>.
  
== Q: Did any other dock inspire you? How does Latte Dock compare to other docks? ==
+
== Did any other dock inspire you? How does Latte Dock compare to other docks? == <!--T:21-->
  
'''A:''' '''Latte''' has an architecture inspired and based on Plasmashell, but we also took some inspiration from Plank eg: the Visibility modes.
+
<!--T:22-->
 +
'''Latte Dock''' has an architecture inspired and based on '''Plasmashell''', but we also took some inspiration from '''Plank''', e.g.: its Visibility modes.
  
== Q: What technology/programming language does it make use of? ==
+
== What technology/programming language does it make use of? == <!--T:23-->
  
'''A:''' '''Latte''' is mostly written in '''Qt/QML''' and '''C++14''', but this project would not be possible without [https://api.kde.org/frameworks/index.html '''KDE Frameworks 5'''].
+
<!--T:24-->
 +
'''Latte''' is mostly written in Qt/QML and C++14, but this project would not be possible without [https://api.kde.org/frameworks/index.html '''KDE Frameworks 5'''].
  
== Q: Ok, you convinced me to try it! How can I install it and what are it's dependencies? ==
+
== Ok, you convinced me to try it! How can I install it and what are its dependencies? == <!--T:25-->
  
'''A:''' Download the sources and build '''Latte''' also remember to install the dependencies. Please read [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 problems or doubts you can [https://github.com/psifidotos/Latte-Dock/issues/203 ask us].
+
<!--T:26-->
 +
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].
  
== Q: Which distributions have packages for it, so to install it via P.M. ? ==
+
== Which distributions have packaged Latte Dock so that I can install it through the package manager? == <!--T:27-->
  
'''A:''' Please read at the bottom of [https://github.com/psifidotos/Latte-Dock Latte Dock Main Page] the [https://github.com/psifidotos/Latte-Dock#from-repositories Repositories] section.
+
<!--T:28-->
 +
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.
  
== Q: After the launcher bouncing animation the window showing isn't smooth? ==
+
== Why is the displayed window not smooth after the launcher's bouncing animation? == <!--T:29-->
  
'''A:''' try the following steps,
+
<!--T:30-->
  1. Go to `Plasma System Settings -> Applications -> Launch Feedback -> (disable) Task Manager` animation
+
Try the following steps:
  2. If the problem remains then your application desktop file might be missing the '''StartupWMClass''' record. For Inkscape that would be: `StartupWMClass=inkscape`
 
      you can use the `xprop` program in order to identify that value correctly.
 
  
== Q: What are some basic configuration options? ==
+
<!--T:31-->
 +
#Go to <menuchoice>Plasma System Settings</menuchoice> &rarr; <menuchoice>Applications</menuchoice> &rarr; <menuchoice>Launch Feedback</menuchoice> &rarr; <menuchoice>(disable) Task Manager</menuchoice> animation.</translate>
 +
<translate>
 +
<!--T:124-->
 +
#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.
  
'''A:''' '''Latte''' is highly configurable. We invite you to explore and configure latte to your pleasure from the config window. 👍
+
== What are some basic configuration options? == <!--T:32-->
But some special features are: Visibility, Zoom Effect and Add widgets/plasmoids from Plasma5.
 
  
== Q: Where is the configuration(s) stored? ==
+
<!--T:33-->
 +
'''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.
  
'''A:''' Be careful!!
+
== Where are the configuration(s) stored? == <!--T:34-->
`cat ~/.config/lattedock-appletsrc`
 
`cat ~/.config/lattedockrc`
 
  
== Q: Inside `~/.config/lattedock-appletsrc` I see various stuff. Can you explain a little the idea behind those? ==
+
<!--T:35-->
 +
Be careful! It is recommended to make a backup of those if you want to keep the original configurations.
  
'''A:''' Config is organized based on `Containments` (eg `[Containments][1]`). Each of those have a number to distiguish one from the other and each one also has different blocks of options. That's where `applets` come in to play and each `Containment` has it's applets (usually one - `[Containments][1][Applets][2]`).  So it goes like: 
+
<!--T:36-->
 +
{{Path|1=cat ~/.config/lattedock-appletsrc}}
  
`[Containments][NumberOfContainemt][Applets][NumberOf_Applet]` 
+
<!--T:37-->
 +
{{Path|1=cat ~/.config/lattedockrc}}
  
Now, applet-2 maybe a series of launchers, a Plasma Widget, anything. Each and every applet also has multiple blocks of configuration. A block might be for generic _applet_ configuration (eg `[Containments][1][Applets][2]`) or about some more specific options (eg `[Containments][1][Applets][2][Configuration][General]`).
+
== Inside ~/.config/lattedock-appletsrc I see several things. Can you explain a little the idea behind those? == <!--T:38-->
  
As you can tell we can't write all about those numerous options, but here is the deal: You can tweak every applet seperately, you can change the appereance order of applets with `appletOrder=No_of_Applet;No_of_Another`, under `[Containments][1][General]`* , you can manually change the `iconSize` in the same block, if want `shadows`, what the `zoomLevel` has to be and etc. A '''sample''' is provided [http://pastebin.ca/3772307 here] to see for your self.  
+
<!--T:39-->
 +
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:
  
*You see, it _contains_ all the other applets and you tweak under _general_ options
+
<!--T:40-->
 +
{{Input|1=[Containments][NumberOfContainment][Applets][NumberOf_Applet]}}
  
== Q: What are some expert configuration options to never mess with? ==
+
<!--T:41-->
 +
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>).
  
'''A:''' None is forbiden, 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 an safe place.
+
<!--T:42-->
 +
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.
  
== Q: How can I enable the Latte Global Shortcuts? ==
+
<!--T:43-->
 +
* You see, it ''contains'' all the other applets and you tweak it under ''general'' options.
  
'''A:''' In most cases you need to go at `plasma systemsettings -> Global Shortcuts -> Latte Dock` and enable what shortcuts you need.
+
== What are some expert configuration options to never mess with? == <!--T:44-->
  
  - '''Super+No''': activate a task
+
<!--T:45-->
  - '''Super+Ctrl+No''': a new instance for a task
+
None is forbiden, 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.
  - '''Super+`''': show a hidden dock
 
  
== Q: Can I use my '''super key''' to open the app launcher? ==
+
== How can I enable the Latte Global Shortcuts? == <!--T:46-->
  
'''A1:''' of course you can but you will need to add at your `~/.config/kwinrc` file the following code:
+
<!--T:47-->
 +
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.
  
  [ModifierOnlyShortcuts]
+
<!--T:48-->
  Meta=org.kde.lattedock,/Latte,org.kde.LatteDock,activateLauncherMenu
+
* <keycap>Super + No</keycap>: Activate a task</translate>
 +
<translate>
 +
<!--T:125-->
 +
* <keycap>Super + Ctrl + No</keycap>: A new instance for a task</translate>
 +
<translate>
 +
<!--T:126-->
 +
* <keycap>Super + `</keycap>: Show a hidden dock
  
 +
== Can I use my super key to open the app launcher? == <!--T:49-->
 +
 +
<!--T:50-->
 +
First make sure '''Latte Dock''' is not open.
 +
 +
===Option 1:=== <!--T:51-->
 +
Of course you can, but you will need to add at your {{Path|1=~/.config/kwinrc}} file the following code:
 +
 +
<!--T:52-->
 +
{{Input|1=<nowiki>
 +
[ModifierOnlyShortcuts]
 +
Meta=org.kde.lattedock,/Latte,org.kde.LatteDock,activateLauncherMenu</nowiki>}}
 +
 +
<!--T:53-->
 
Then reload KWin with:
 
Then reload KWin with:
  
  qdbus org.kde.KWin /KWin reconfigure
+
<!--T:54-->
 +
{{Input|1=qdbus org.kde.KWin /KWin reconfigure}}
 +
 
 +
===Option 2:=== <!--T:55-->
 +
Alternatively, you can run the following commands:
 +
 
 +
<!--T:56-->
 +
{{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>}}
 +
 
 +
== Latte v0.8 deactivates Borderless Maximized Windows from Active Window Control plasmoid, what can I do ? == <!--T:57-->
 +
 
 +
<!--T:58-->
 +
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:
 +
 
 +
<!--T:59-->
 +
# Disable <menuchoice>BorderLess Maximized</menuchoice> Windows from <menuchoice>Active Window Control</menuchoice>.</translate>
 +
<translate>
 +
<!--T:127-->
 +
# 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>.</translate>
 +
<translate>
 +
<!--T:128-->
 +
# 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? == <!--T:60-->
  
'''A2:''' alternativily you can run commands:
+
<!--T:61-->
 +
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.
  
  kwriteconfig5 --file ~/.config/kwinrc --group ModifierOnlyShortcuts --key Meta "org.kde.lattedock,/Latte,org.kde.LatteDock,activateLauncherMenu"
+
== Can I tweak things like Latte Dock's distance from the screen's border? == <!--T:62-->
qdbus org.kde.KWin /KWin reconfigure
 
  
== Q: Latte v0.8 deactivates '''Borderless Maximized''' Windows from Active Window Control plasmoid, what can I do ? ==
+
<!--T:63-->
 +
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>.
  
'''A:''' 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:
+
== Are there preloaded layouts for Latte v0.6? == <!--T:64-->
  
1. Disable '''BorderLess Maximized''' Windows from "'''Active Window Control'''"
+
<!--T:65-->
2. Go to Latte Settings -> Layouts -> Choose tab (Preferences) and enable "'''Support borderless maximized windows in different layouts'''"
+
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 [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).
3. Return to your layouts and a new column called '''"Borderless'''" must have been added, add a check mark in that column for the layout you want that feature and click '''Apply'''
 
  
== Q: Ok now Latte can't launch. Is there any sample config to restore to? ==
+
== Can I tweak a launcher's icon or its command parameters? == <!--T:66-->
  
'''A:''' You have been told to take backups. Unfortunatelly 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](http://pastebin.ca/3772307) but it's most likely useless to you.
+
<!--T:67-->
 +
You can set it up on your plasma environment and drag n' drop it onto your "Latte Dock".
  
== Q: Can I tweak things like Dock's distance from the screen's border? ==
+
== Can I rearrange misplaced launchers and applets through the configuration files? == <!--T:68-->
  
'''A:''' You can minimize the distance, but not directly tweak it. Go to '''Latte Setting -> Tweaks''' and select '''Shrink thickness margins'''
+
<!--T:69-->
 +
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 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''':
  
== Q: Are there preloaded layouts for Latte v0.6? ==
+
<!--T:70-->
 +
{{Input|1=..;file:///usr/share/applications/kchmviewer.desktop;file:transmission-qt;file:....}}
  
'''A:''' In Latte v0.7 the layouts have been added by default in Appearance page. For previous v0.6 the users can use [https://github.com/psifidotos/Latte-Dock/files/888568/MyProfiles.zip Preloaded Layouts] file, that contains four of the most used layouts '''(Default, Unity, Plasma, Favourite)'''
+
<!--T:71-->
 +
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.
  
== Q: Can I tweak a launcher's ico or it's command parameteres? ==
+
== What effects does Latte Dock provide? Can launchers rotate, shake or dim when clicked? == <!--T:72-->
  
'''A:''' You could set it up at you plasma environment and drag n' drop it onto your Latte dock
+
<!--T:131-->
 +
'''Latte''' only has the zoom effect and shadows, but we are very concerned about delivering an excellent user experience.
  
== Q: Can I rearrange misplaced launchers and applets through the configuration files? ==
+
== How can someone shutdown any effect, so the icons do absolutely nothing when clicked? == <!--T:73-->
  
'''A:''' 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 `;file:///usr/share/applications/myapp.desktop` (yes, the semicolon too) and paste it after the launcher - and before it's semicolon - you wish. '''Be very careful'''; Only the last launcher doesn't need a semicolor afterwards! So if you are copying your launcher between two others, you have to make sure that both _before and after_ your launcher, a semicolon exists. Let's see an example; let's say you need to copy `transmission-qt` launcher:
+
<!--T:74-->
 +
You can disable all animations through <menuchoice>Latte Configuration Window</menuchoice> &rarr; <menuchoice>Appearance</menuchoice> &rarr; <menuchoice>Animations</menuchoice> &rarr; <menuchoice>None</menuchoice>.
  
`..;file:///usr/share/applications/kchmviewer.desktop;file:transmission-qt;file:....`
+
== Launchers are disappearing before the relevant window is shown even though they shouldn't. == <!--T:75-->
  
If what you want to reposition is a whole '''applet''', rather than a launcher in an applet, you will find `appletOrder` very usefull. 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 did now.
+
<!--T:76-->
 +
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]
  
== Q: What effects does Latte Dock provide? Can launchers rotate, shake or dim when clicked? ==
+
== I set Animations to None, but when clicking on a launcher its icon momentarily disappears. == <!--T:77-->
 
 
'''A:''' Latte only has the zoom effect and the shadows, but we are very concerned about delivering an excellent user experience.
 
  
== Q: How can someone shutdown *any* effect, so the icons do absolutely nothing when clicked? ==
+
<!--T:78-->
 +
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 <code>git pull</code> the latest changes of master, or wait for the next stable version if you prefer.
  
'''A:''' You can disable all animations through '''Latte Configuration Window -> Appearance -> Animations -> None'''
+
== Some applets in my dock are shown too small from Plasma 5.10 and beyond, can I fix this? == <!--T:79-->
  
== Q: Launchers are disappearing before the relevant window is shown even though they shouldnt. ==
+
<!--T:80-->
 +
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.
  
'''A:''' We know but this behavior is provided by '''plasma 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]
+
== My left dock behaves strangely from Plasma 5.10 onwards, how can I fix this? == <!--T:81-->
  
== Q: I set Animations to "None", but when clicking on an launcher it's icon is momentarily disappeared. ==
+
<!--T:82-->
 +
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 <menuchoice>System Settings</menuchoice> &rarr; <menuchoice>Workspace Behavior</menuchoice> &rarr; <menuchoice>Touchscreen</menuchoice>. Relogin your plasma session if the change doesn't take effect immediately.
  
'''A:''' This bug is _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 like so.
+
<!--T:83-->
 +
[https://bugs.kde.org/show_bug.cgi?id=382219 KWin bug report] [https://bugs.kde.org/show_bug.cgi?id=392464 Plasma bug report]
  
== Q: Some applets in my dock are shown too small from _Plasma 5.10_ and beyond, can I fix this? ==
+
== So far so good, but Wayland is the future. What are the plans on this? == <!--T:84-->
  
_'''A:'''_ In Plasma 5.10, the plasma developers decided that the applets in the panels should have a maximum size that they shouldnt overcome. You can change this at plasma `systemsettings -> Icons -> Advanced -> Panel ->` '''set a size of 256px.'''
+
<!--T:85-->
 +
We plan to work on this for Plasma 5.10, but we are currently working on offering experimental support as well.
  
== Q: My left dock behaves strangely from _Plasma 5.10_ and beyond, can I fix this? ==
+
== When support for Wayland is provided, will Latte Dock remove its automagical dependency of X11? == <!--T:86-->
  
'''A:''' In Plasma 5.10, the kwin developers introduced the gestures functionality for touch screens which is enabled by default for all systems. You can disable it through plasma `systemsettings -> Workspace Behavior -> Touchscreen`. Relogin your plasma session if the change doesnt take effect immediately.
+
<!--T:87-->
 +
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.
  
kwin upstream: https://bugs.kde.org/show_bug.cgi?id=382219
+
== As of writing this F.A.Q., what is the problem with Qt v5.8? == <!--T:88-->
plasma upstream: https://bugs.kde.org/show_bug.cgi?id=392464
 
  
== Q: So far so good, but Wayland is the future. What the plans are on this? ==
+
<!--T:89-->
 +
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].
  
'''A:''' We plan it for Plasma 5.10, but we are working from now on to offer experimental support
+
== Is there a way to tell Latte Dock to launch only for a Plasma session ? == <!--T:90-->
  
== Q: When support for Wayland is provided, will Latte Dock remove it's auto magical dependency of X11? ==
+
<!--T:91-->
 +
Of course you can, please follow these steps:
  
'''A:''' It's still a long way off for Wayland to replace X11, but it's possible to build '''Latte''' without dependencies X11, however we are still working on supporting Wayland.
+
<!--T:92-->
 +
# Go to <menuchoice>System Settings</menuchoice> &rarr; <menuchoice>Startup and Shutdown</menuchoice> &rarr; <menuchoice>Autostart</menuchoice>.</translate>
 +
<translate>
 +
<!--T:129-->
 +
# Choose '''Latte Dock''' from the applications list.</translate>
 +
<translate>
 +
<!--T:130-->
 +
# <menuchoice>Advanced</menuchoice> &rarr; <menuchoice>Autostart only in Plasma</menuchoice>.
  
== Q: As of writing this F.A.Q. , what is the problem with Qt5.8? ==
+
== Is there any other hiccup or potential problem I should be careful of? == <!--T:93-->
  
'''A:''' If you are brave enough to mess with technical details, you may want to look [here](https://github.com/psifidotos/Latte-Dock/issues/183) and [here](https://bugreports.qt.io/browse/QTBUG-59044)
+
<!--T:94-->
 +
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'''.
  
== Q: Is there a way to tell Latte Dock to launch only for a Plasma session ? ==
+
== Are there any hopes and wishes for features from the Plasma upstream? == <!--T:95-->
  
'''A:''' Of course you can, please follow these steps:
+
<!--T:96-->
 +
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.
  
1. Go to '''Plasma System Settings -> Startup and Shutdown -> Autostart'''
+
== How often will new versions be released and what are your plans? == <!--T:97-->
2. Choose '''Latte Dock''' from applications list
 
3. Advanced
 
4. '''Autostart only in Plasma'''
 
  
== Q: Is there any other hickup or potential problem I should be careful of? ==
+
<!--T:98-->
 +
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.
  
'''A:''' Software as everything else in life, isn't perfect; we constantly try to make a better software and you can help
+
== I am a complete newbie but I want to help somehow. What can I do? == <!--T:99-->
us out with this by reporting every possilbe problem you may find. To answer the question though, there isn't a bug serious enough to prevent you from trying '''Latte Dock'''.
 
  
== Q: Are there any hopes and wishes for features from the Plasma upstream? ==
+
<!--T:100-->
 +
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. {{Smiley}}
  
'''A:''' The most important feature needed from KWin in wayland is the distrors to provide access at kwayland's priviliged apis _(and/or)_ for the users, a confirmation from them that Latte requests such apis
+
== I know how to program. What can I do to help? == <!--T:101-->
  
== Q: How often new versions will be released and what are your plans? ==
+
<!--T:102-->
 +
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.
  
'''A:''' The first priority to release a stable version is for all the needed features to have been implemented and no major crashes to appear. So we try to keep the schedule but on the other hand _it will be ready when it is ready_.
+
== How can I install from the current master branch? == <!--T:103-->
  
== Q: I am a complete newbie but I want to help you somehow. What can I do? ==
+
<!--T:104-->
 +
You can easily download and install from the latest master branch by running a script with the following commands:
  
'''A:''' As we write this F.A.Q. much help is needed to make '''Latte''' stable with multiscreen setups. You could clone the
+
<!--T:105-->
`multiscreens` branch and report back any issues. Also normal bug reports, reports about problems with specific Plasma or Qt versions, strange desktop behavior or even wishes about new features are all welcome :-)
+
{{Input|1=<nowiki>git clone https://github.com/psifidotos/Latte-Dock.git
 +
cd Latte-Dock
 +
sh install.sh</nowiki>}}
  
== Q: I know how to program. What can I do? ==
+
<!--T:106-->
 +
The last command might ask for your root password just before installing.
  
'''A:''' First step is to know what you are after and then to `fork` this repo; after that you can hunt bugs, add new features - or make more stable those already existing. Discuss your changes and if they are good and reasonable enough, we are more than happy for your pull request.
+
== How can I install from a specific branch? == <!--T:107-->
  
== Q: How can I install from the current master branch ? ==
+
<!--T:108-->
 +
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:
  
'''A:''' You can easily, download and instal from the last master branch by running a script with commands:
+
<!--T:109-->
  - `git clone https://github.com/psifidotos/Latte-Dock.git`
+
{{Input|1=<nowiki>git clone https://github.com/psifidotos/Latte-Dock.git
  - `cd Latte-Dock`
+
cd Latte-Dock
  - `sh install.sh`
+
git pull
The last command might ask for your root password, just before installing.
+
git branch multi2
 +
git checkout multi2
 +
git pull origin multi2</nowiki>}}
  
== Q: How can I install from a specific branch ? ==
+
<!--T:110-->
 +
Compile as usual.
  
'''A:'''  If you wish test some features currently non existing in `master` branch, you have to `checkout` the branch you wish to install. Let's say you need the `multi2` branch: 
+
== I added the applet, but it is shown without a shadow like the rest of the icons. == <!--T:111-->
  - `git clone https://github.com/psifidotos/Latte-Dock.git`
 
  - `cd Latte-Dock`
 
  - `git pull`
 
  - `git branch multi2`
 
  - `git checkout multi2`
 
  - `git pull origin multi2` 
 
Compile as usual.
 
  
== Q: I added the applet, but it is shown without a shadow like the rest of the icons ==
+
<!--T:112-->
 +
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>.
  
'''A:''' Well, if an applet (or more) hasn't a shadow, you should either double-check that option `All` is set under '''Latte Settings -> Appearance'''
+
== What happens if I drag 'n' drop files on launchers? == <!--T:113-->
  
== Q: What happens if I drag 'n' drop files on launchers ? ==
+
<!--T:114-->
 +
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''').
  
'''A:''' The file will be passed as a parameter to the specific application, creating a new instance (eg passing an image to kolourpaint, will open the image with kolourpaint)
+
== Are there known compatibility issues with specific graphics drivers? == <!--T:115-->
  
== Q: Are there known compatibility issues, with some specific graphics driver ? ==
+
<!--T:116-->
 +
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''.
  
'''A:''' If you have Intel Graphics and experiment problems with the rendering e.g. pixelated graphics, corrupt text, etc, you can try changing the rendering method 2D from `SNA` to `UXA`.
+
<!--T:117-->
 +
{{Path|1=/etc/X11/xorg.conf.d/20-intel.conf}}
  
_/etc/X11/xorg.conf.d/20-intel.conf_
+
<!--T:118-->
 +
{{Input|1=<nowiki>
 +
section    "Device"
 +
Identifier  "Intel Graphics"
 +
Driver      "intel"
 +
Option      "AccelMethod"  "uxa"
 +
EndSection</nowiki>}}
  
  section "Device"
+
== My dock doesn't show anymore when i activate the Auto-hide or the Dodge window feature == <!--T:119-->
  Identifier  "Intel Graphics"
 
  Driver      "intel"
 
  Option      "AccelMethod"  "uxa"
 
  EndSection
 
== Q: My Dock don't show anymore when i activate the auto-hide or the dodge window feature ==
 
  
'''A:''' Apparently some features from plasma can hinder the 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 the system preferences under: Desktop behavior > Touch screen. If you have your dock on the same border a touch gesture is activated 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. ([https://github.com/psifidotos/Latte-Dock/issues/676 #676])
+
<!--T:120-->
 +
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: <menuchoice>Desktop behavior</menuchoice> &rarr; <menuchoice>Touch screen</menuchoice>. 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. ([https://github.com/psifidotos/Latte-Dock/issues/676 #676])
  
 
</translate>
 
</translate>

Latest revision as of 08:51, 18 May 2019

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

←Latte Dock

Contents

What is Latte Dock? How did it begin?

Latte Dock is a dock based on plasma frameworks and a direct successor of Now Dock. Latte is the combined effort from the developers of Now Dock and Candil Dock.

How can I add launchers?

The easiest and most memory efficient way to do so is to drag n' drop them on the task manager (this is the area where dots and lines are shown under running windows).

Hint: You can also add them outside the task manager, but this creates animation issues for sizes <64px and it is memory hungry.

How can I add applets?

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

How can I enable Edit Mode in 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.

How can I move/remove applets?

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.

Can I disable the parabolic effect for a specific applet?

You should go to Edit Mode (when the settings window is shown) and hover afterwards the specific applet. Its tooltip contains a lock icon that will disable parabolic effect for that applet when clicked.

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.

Example:

  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.

What technology/programming language does it make use of?

Latte is mostly written in Qt/QML and C++14, but this project would not be possible without 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.

What are some basic configuration options?

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?

Be careful! It is recommended to make a backup of those if you want to keep the original configurations.

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:

[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. [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 + `: Show a hidden dock

Can I use my super key to open the app launcher?

First make sure Latte Dock is not open.

Option 1:

Of course you can, but you will need to add at your ~/.config/kwinrc file the following code:

[ModifierOnlyShortcuts]
Meta=org.kde.lattedock,/Latte,org.kde.LatteDock,activateLauncherMenu

Then reload KWin with:

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](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 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

;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 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:

..;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 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 https://github.com/psifidotos/Latte-Dock.git
cd Latte-Dock
sh install.sh

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 https://github.com/psifidotos/Latte-Dock.git
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.

What happens if I drag 'n' drop files on launchers?

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.

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

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

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 08:51. Content is available under Creative Commons License SA 4.0 unless otherwise noted.