LatteDock/FAQ/uk: Difference between revisions

From KDE UserBase Wiki
(Created page with "'''Панель Латте''' — панель на основі бібліотек Плазми, безпосередній наступник [https://github.com/psifidotos/...")
(Created page with "Так, клацніть правою кнопкою на <menuchoice>Панелі</menuchoice> → <menuchoice>Редагувати панель...</menuchoice> → <me...")
 
(211 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages />
<languages />
[[Special:myLanguage/LatteDock|←Панель Латте]]
[[Special:myLanguage/LatteDock|←Панель Латте]]
[[File:LLoXdgK.png|right|Панель Латте!]]


==  Що таке панель Латте? З чого розпочався проект? ==
==  Що таке панель Латте? З чого розпочався проект? ==
Line 6: Line 8:
'''Панель Латте''' — панель на основі бібліотек Плазми, безпосередній наступник [https://github.com/psifidotos/nowdock-panel панелі Now]. '''Латте''' є результатом об'єднаних зусиль розробників [https://github.com/psifidotos/nowdock-panel панелі Now] та [https://github.com/audoban/Candil-Dock панелі Candil].
'''Панель Латте''' — панель на основі бібліотек Плазми, безпосередній наступник [https://github.com/psifidotos/nowdock-panel панелі Now]. '''Латте''' є результатом об'єднаних зусиль розробників [https://github.com/psifidotos/nowdock-panel панелі Now] та [https://github.com/audoban/Candil-Dock панелі Candil].


== How can I add launchers? ==
== У яких дистрибутивах Linux можна одразу користуватися панеллю Латте? ==
 
The easiest and memory efficient way is to drag n' drop them on the task manager (this is the area that dots and lines are shown under running windows).
 
'''Hint:''' You can add them also outside the task manager but that creates animation issues for size <64px and it is memory hungry.
 
== How can I add [https://en.wikipedia.org/wiki/Applet applets]? ==
 
Right click on your <menuchoice>Plasma desktop</menuchoice> -> <menuchoice>Add Widgets</menuchoice>. 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'''.
* [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]


== How can I move/remove applets? ==
== Як додати кнопки запуску? ==


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.
Найпростішим і найочевиднішим способом є перетягування зі скиданням на панель задач (це ділянка, під запущеними вікнами, де показано крапки і лінії).


== Can I disable parabolic effect for specific applet? ==
Ви можете додати їх поза межами ділянки керування задачами, але це спричинить проблеми із анімацією для розмірів <64 пікселів та надмірного споживання пам'яті.


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.
== Кнопка запуску і її вікно не пов'язано належним чином або чому для кнопки запуску використано піктограму із низькою роздільністю? ==


== My launcher and its window are not associated correctly OR my launcher is using a low-resolution icon? ==
Причиною цієї проблеми є те, що '''libtaskmanager''' Плзами не пов'язує вашу кнопку запуску і вікна програми із відповідним файлом desktop. Плазма намагається якнайточніше визначити, які файли desktop пов'язано із певними вікнами, але іноді автоматичне визначення не спрацьовує. Найкращим способом виправлення є визначення запису <code>StartupWMClass</code> у файлі desktop. Цей запис має вказувати на належний запис <code>WM_CLASS</code>. Наприклад, навіть коли файл desktop панелі Латте називається {{Path|1=org.kde.latte-dock.desktop}}, його <code>StartupWMClass</code> має значення <code>lattedock</code>. З метою належного визначення <code>StartupWMClass</code> програми можете скористатися <code>xprop</code>.


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 <code>StartupWMClass</code> record in the desktop file. That record should point at the proper <code>WM_CLASS</code> record at all times. For example even though Latte desktop file is called {{Path|1=org.kde.latte-dock.desktop}} its <code>StartupWMClass<c/ode> is <code>lattedock</code>. In order to identify correctly the <code>StartupWMClass</code> for an application you can use <code>xprop</code> to do so.
'''Приклад:'''
# Віддайте команду <code>xprop</code> у консолі
# Клацніть на вікні, яким ви цікавитеся
# Знайдіть наприкінці виведених до консолі даних запис <code>WM_CLASS(STRING) =</code>
# Додайте раніше згаданий запис до файла desktop програми у полі <code>StartupWMClass</code>


'''Example:'''
Наприклад, у '''Gimp 2.10''', навіть хоча файл desktop має назву {{Path|1=gimp.desktop}},  <code>StartupWMClass</code> має значення ''gimp-2.10' . Для '''Gimp''' <code>StartupWMClass</code> не потрібно додавати, оскільки розробник Плазми подбали про правильну прив'язку за допомогою {{Path|1=/etc/xdg/taskmanagerrulesrc}}.
# Run <code>xprop</code> in command prompt
# Click on the window you are interested in
# Locate at the end of the output the record <code>WM_CLASS(STRING) =</code>
# Add the previous 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 {{Path|1=gimp.desktop}} its <code>StartupWMClass</code> is ''gimp-2.10' . <code>StartupWMClass</code> is not needed to be added for '''Gimp''' because plasma developers have taken special care to map it properly through {{Path|1=/etc/xdg/taskmanagerrulesrc}}.
== Як увімкнути загальні клавіатурні скорочення Латте? ==


== How Latte Dock (auto)starts and why a widget is provided? ==
У більшості випадків вам слід перейти до сторінки <menuchoice>Системні параметри</menuchoice> &rarr; <menuchoice>Загальні скорочення</menuchoice> &rarr; <menuchoice>Панель Латте</menuchoice> і увімкніть потрібні вами клавіатурні скорочення.


'''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 <menuchoice>Settings Window</menuchoice> -> <menuchoice>Tweaks</menuchoice>.
* <keycap>Super + цифра</keycap>: активувати завдання
* <keycap>Super + Ctrl + цифра</keycap>: новий екземпляр завдання
* <keycap>Super + `</keycap>: показати приховану панель


== Did any other dock inspire you? How does Latte Dock compare to other docks? ==
== Чи можна скористатися клавішею Super (Windows) для відкриття засобу запуску програм? ==


'''Latte''' has an architecture inspired and based on Plasmashell, but we also took some inspiration from Plank eg: the Visibility modes.
* Офіційним способом увімкнути є такий: клацання правою кнопкою миші на <menuchoice>Панель</menuchoice> &rarr; <menuchoice>Налаштувати Латте...</menuchoice> &rarr; <menuchoice>Увімкнути автозапуск під час завантаження системи</menuchoice>


== What technology/programming language does it make use of? ==
* Вручну зробити це можна так: <menuchoice>Закрити Латте</menuchoice> &rarr; <menuchoice>Виконати у командному рядку:</menuchoice> {{Input|1=<nowiki>kwriteconfig5 --file ~/.config/kwinrc --group ModifierOnlyShortcuts --key Meta "org.kde.lattedock,/Latte,org.kde.LatteDock,activateLauncherMenu"
 
'''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'''].
 
== Ok, you convinced me to try it! How can I install it and what are it's dependencies? ==
 
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].
 
== Which distributions have packages for it, so to install it via P.M. ? ==
 
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.
 
== After the launcher bouncing animation the window showing isn't smooth? ==
 
Try the following steps,
 
#Go to <menuchoice>Plasma System Settings</menuchoice> -> <menuchoice>Applications</menuchoice> -> <menuchoice>Launch Feedback</menuchoice> -> <menuchoice>(disable) Task Manager</menuchoice> animation
#If the problem remains then your application desktop file might be missing the '''StartupWMClass''' record. For Inkscape that would be: <code>StartupWMClass=inkscape</code> you can use the <code>xprop</code> program in order to identify that value correctly.
 
== What are some basic configuration options? ==
 
'''Latte''' is highly configurable. We invite you to explore and configure latte to your pleasure from the config window. 👍
But some special features are: Visibility, Zoom Effect and Add widgets/plasmoids from Plasma5.
 
== Where is the configuration(s) stored? ==
 
Be careful!!
 
{{Path|1=cat ~/.config/lattedock-appletsrc}}
 
{{Path|1=cat ~/.config/lattedockrc}}
 
== Inside {{Path|1=~/.config/lattedock-appletsrc}} I see various stuff. Can you explain a little the idea behind those? ==
 
Config is organized based on ''Containments'' (eg <code>[Containments][1]</code>). 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 - <code>[Containments][1][Applets][2]</code>).  So it goes like:
 
{{Input|1=[Containments][NumberOfContainemt][Applets][NumberOf_Applet]}}
 
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 <code>[Containments][1][Applets][2]</code>) or about some more specific options (eg <code>[Containments][1][Applets][2][Configuration][General]</code>).
 
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 <code>appletOrder=No_of_Applet;No_of_Another</code>, under <code>[Containments][1][General]</code>* , you can manually change the <menuchoice>iconSize</menuchoice> in the same block, if want <menuchoice>shadows</menuchoice>, what the <menuchoice>zoomLevel</menuchoice> has to be and etc. A '''sample''' is provided [http://pastebin.ca/3772307 here] to see for your self.
 
* You see, it ''contains'' all the other applets and you tweak 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 [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.
 
== How can I enable the Latte Global Shortcuts? ==
 
In most cases you need to go at <menuchoice>plasma systemsettings</menuchoice> -> <menuchoice>Global Shortcuts</menuchoice> -> <menuchoice>Latte Dock</menuchoice> and enable what shortcuts you need.
 
* <keycap>Super + No</keycap>: Activate a task
* <keycap>Super + Ctrl + No</keycap>: A new instance for a task
* <keycap>Super + `</keycap>: 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 {{Path|1=~/.config/kwinrc}} file the following code:
 
{{Input|1=<nowiki>
[ModifierOnlyShortcuts]
Meta=org.kde.lattedock,/Latte,org.kde.LatteDock,activateLauncherMenu</nowiki>}}
 
Then reload KWin with:
 
{{Input|1=qdbus org.kde.KWin /KWin reconfigure}}
 
===Option 2:===
Alternativily 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 <menuchoice>Borderless Maximized</menuchoice> 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> -> <menuchoice>Layouts</menuchoice> -> <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> must have been added, add a check mark in that column for the layout you want that feature and click <menuchoice>Apply</menuchoice>
 
== Ok now Latte can't launch. Is there any sample config to restore to? ==
 
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.
 
== Can I tweak things like Dock's distance from the screen's border? ==
 
You can minimize the distance, but not directly tweak it. Go to <menuchoice>Latte Setting</menuchoice> -> <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 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)'''
 
== Can I tweak a launcher's ico or it's command parameteres? ==
 
You could set it up at you 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, 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:
 
{{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 `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.
 
== What effects does Latte Dock provide? Can launchers rotate, shake or dim when clicked? ==
 
Latte only has the zoom effect and the 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 <menuchoice>Latte Configuration Window</menuchoice> -> <menuchoice>Appearance</menuchoice> -> <menuchoice>Animations</menuchoice> -> <menuchoice>None</menuchoice>
 
== Launchers are disappearing before the relevant window is shown even though they shouldnt. ==
 
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]
 
== I set Animations to <menuchoice>None</menuchoice>, but when clicking on an launcher it's icon is momentarily disappeared. ==
 
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 <code>git pull</code> the latest changes of master, or wait for the next stable version if you like so.
 
== 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 they shouldnt overcome. You can change this at plasma <menuchoice>systemsettings</menuchoice>-> <menuchoice>Icons</menuchoice> -> <menuchoice>Advanced</menuchoice> -> <menuchoice>Panel</menuchoice> -> set a size of 256px.
 
== My left dock behaves strangely from ''Plasma 5.10'' and beyond, can I fix this? ==
 
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 <menuchoice>systemsettings</menuchoice> -> <menuchoice>Workspace Behavior</menuchoice> -> <menuchoice>Touchscreen</menuchoice>. Relogin your plasma session if the change doesnt take effect immediately.


[https://bugs.kde.org/show_bug.cgi?id=382219 KWin bug report] [https://bugs.kde.org/show_bug.cgi?id=392464 Plasma bug report]
Так, знаємо. Але таку поведінку регламентовано '''libtaskmanager''' Плазми. Докладніше про це: [https://github.com/psifidotos/Latte-Dock/issues/72 вада у Латте 72], [https://bugs.kde.org/show_bug.cgi?id=368386 звіт щодо вади у KDE].


== So far so good, but Wayland is the future. What the plans are on this? ==
== Починаючи з версії Плазми 5.10, ліва панель поводиться якось дивно. Як це виправити? ==


We plan it for Plasma 5.10, but we are working from now on to offer experimental support
У Плазмі 5.10 розробниками KWin було впроваджено можливості використання жестів на сенсорних екранах, які було типово увімкнено на усіх системах. Ви можете вимкнути жести за допомогою сторінки налаштувань Плазми <menuchoice>Системні параметри</menuchoice> &rarr; <menuchoice>Поведінка робочого простору</menuchoice> &rarr; <menuchoice>Сенсорний екран</menuchoice>. Вийдіть і знову увійдіть до сеансу Плазми, якщо внесені вами зміни не набули чинності негайно.


== When support for Wayland is provided, will Latte Dock remove it's auto magical dependency of X11? ==
[https://bugs.kde.org/show_bug.cgi?id=382219 Звіт щодо вади у KWin] [https://bugs.kde.org/show_bug.cgi?id=392464 Звіт щодо вади у Плазмі]


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.
== Чи можна наказати панелі Латте запускатися лише у сеансі Плазми? ==


== As of writing this F.A.Q. , what is the problem with Qt5.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]
# Перейдіть на сторінку програми <menuchoice>Системні параметри</menuchoice> Плазми -> <menuchoice>Запуск і вихід</menuchoice> -> <menuchoice>Автозапуск</menuchoice>
# Виберіть '''Панель Латте''' у списку програм
# <menuchoice>Додатково</menuchoice> -> <menuchoice>Автоматичний запуск лише у Плазмі</menuchoice>


== Is there a way to tell Latte Dock to launch only for a Plasma session ? ==
== Що трапиться, якщо перетягнути і скинути пункти файлів на кнопки запуску? ==


Of course you can, please follow these steps:
Файл буде передано із параметром до відповідної програми зі створенням її нового екземпляра (наприклад, передавання зображення до [[Special:myLanguage/KolourPaint|Kolourpaint]] призведе до відкриття цього зображення у Kolourpaint)


# Go to <menuchoice>Plasma System Settings</menuchoice> -> <menuchoice>Startup and Shutdown</menuchoice> -> <menuchoice>Autostart</menuchoice>
== Чому не працює клацання правою кнопкою миші? ==
# Choose '''Latte Dock''' from applications list
# <menuchoice>Advanced</menuchoice> -> <menuchoice>Autostart only in Plasma</menuchoice>


== Is there any other hickup or potential problem I should be careful of? ==
Якщо клацання правою кнопкою миші не працює для аплетів і завдань, це означає, що вашу панель Латте було зібрано не з тими бібліотеками KDE Frameworks, що і стільницю Плазми. Вирішенням цієї проблеми є або оновлення пакунків Латте у вашому дистрибутиві, або збирання Латте власноруч.


Software as everything else in life, isn't perfect; we constantly try to make a better software and you can help
== Як встановити максимальний розмір піктограм для аплетів на панелях Плазми? ==
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'''.


== Are there any hopes and wishes for features from the Plasma upstream? ==
Якщо вам потрібні піктограми із максимальним розміром у 192 пікселі на панелях, можете віддати таку команду:


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
{{Input|1=<nowiki>kwriteconfig --file ~/.config/kdeglobals --group PanelIcons --key Size "192"</nowiki>}}


== How often new versions will be released and what are your plans? ==
У попередньому прикладі усі аплети Плазми, більші за 192 пікселів, будуть використовувати повне стільничне предсталвення, якщо їх буде розташовано на панелях.


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''.
== Як поліпшити ситуацію із використанням процесора? ==


== I am a complete newbie but I want to help you somehow. What can I do? ==
Латте, загалом, сконцентровано на наданні користувачам максимальних можливостей із налаштовування та швидкодії, тому його графічні і анімаційні параметри мають НАЙОПТИМАЛЬНІШІ значення...


As we write this F.A.Q. much help is needed to make '''Latte''' stable with multiscreen setups. You could clone the
Простим і відомим шляхом до зменшення навантаження на процесор є вимикання тіней для панелі завдань та аплетів. У Латте широко використовується елемент QML DropShadow, який може значно впливати на швидкодію. Щоб вимкнути усі тіні на панелі ви можете зробити так:
`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 :-)


== I know how to program. What can I do? ==
'''Клацнути правою кнопкою миші на панелі -> Редагувати панель -> Ефекти -> «Тіні» [вимкніть усю групу пунктів за допомогою заголовка]'''


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.
У системі автора при використанні параболічного ефекту ''вживання процесора впало на близько 75%''.


== How can I install from the current master branch ? ==
== На панелі Латте не працюють лічильники. Як це виправити? ==


You can easily, download and instal from the last master branch by running a script with commands:
Будь ласка, переконайтеся, що встановлено libunity. У версіях Ubuntu з KDE, зокрема Kubuntu і KDE Neon, вам слід встановити <code>libunity-dev</code>.


{{Input|1=<nowiki>git clone https://github.com/psifidotos/Latte-Dock.git`
== Як автоматично розфарбувати панель Латте на основі кольорів певної програми? ==
cd Latte-Dock
sh install.sh</nowiki>}}


The last command might ask for your root password, just before installing.
# Встановити скрипт KWin <menuchoice>Кольори вікна Латте</menuchoice> з [https://store.kde.org/p/1290287/ Крамниці KDE]
# Клацнути правою кнопкою миші на <menuchoice>панелі Латте</menuchoice> &rarr; <menuchoice>Редагувати панель...</menuchoice> &rarr; <menuchoice>Вигляд</menuchoice> &rarr; <menuchoice>Кольори</menuchoice> &rarr; <menuchoice>З вікна</menuchoice> &rarr; <menuchoice>Будь-яке контактне вікно</menuchoice>
# Визначення різних схем кольорів для ваших програм:
#* Клацніть правою кнопкою миші на <menuchoice>смужці заголовка вікна</menuchoice>
#* <menuchoice>Додаткові дії</menuchoice> &rarr; <menuchoice>Налаштувати особливі параметри програми...</menuchoice>
#* <menuchoice>Додати властивість</menuchoice> &rarr; <menuchoice>Вигляд і виправлення</menuchoice> &rarr; <menuchoice>Схема кольорів панелі заголовка</menuchoice>
#* Виберіть <menuchoice>Примусово</menuchoice> &rarr; <menuchoice>Виберіть бажану схему кольорів</menuchoice>


== How can I install from a specific branch ? ==
== Чи можна вимкнути автоматичний колір для певного аплету? ==


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:
Так, клацніть правою кнопкою на <menuchoice>Панелі</menuchoice> &rarr; <menuchoice>Редагувати панель...</menuchoice> &rarr; <menuchoice>Перевпорядкувати і налаштувати ваші віджети</menuchoice> &rarr; <menuchoice>Вимкніть піктограму «краплі»</menuchoice> на панелі підказки згаданого аплету


{{Input|1=<nowiki>git clone https://github.com/psifidotos/Latte-Dock.git`
cd Latte-Dock
git pull
git branch multi2
git checkout multi2
git pull origin multi2</nowiki>}}


Compile as usual.
== Чи є якісь відомі проблеми із сумісністю з певними драйверами до відеокарток? ==


== I added the applet, but it is shown without a shadow like the rest of the icons ==
Якщо ви користуєтеся графічним прискорювачем Intel і маєте проблеми із пікселізацією та викривленням зображення, помилками у текстових фрагментах та іншими проблемами, ви можете змінити спосіб обробки двовимірної графіки з ''SNA'' на ''UXA''.
 
Well, if an applet (or more) hasn't a shadow, you should either double-check that option <menuchoice>All</menuchoice> is set under <menuchoice>Latte Settings</menuchoice> -> <menuchoice>Appearance</menuchoice>
 
== 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 (eg passing an image to kolourpaint, will open the image with kolourpaint)
 
== Are there known compatibility issues, with some specific graphics driver? ==
 
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''.


{{Path|1=/etc/X11/xorg.conf.d/20-intel.conf}}
{{Path|1=/etc/X11/xorg.conf.d/20-intel.conf}}
Line 269: Line 125:
EndSection</nowiki>}}
EndSection</nowiki>}}


== My Dock don't show anymore when i activate the auto-hide or the dodge window feature ==
== Чи можна налаштувати різні параметри '''безрамкових максимізованих''' вікон у різних компонуваннях? ==
 
1. Так, це можна зробити. Спочатку увімкніть цю функціональну можливість у параметрах Латте:
 
[[File:Borderless.png]]
 
2. Увімкніть або вимкніть цю можливість пізніше у параметрах компонування Латте.


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: <menuchoice>Desktop behavior</menuchoice> -> <menuchoice>Touch screen</menuchoice>. 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])
[[File:Layout.png]]

Latest revision as of 06:22, 29 September 2022

Other languages:

←Панель Латте

Панель Латте!
Панель Латте!

Що таке панель Латте? З чого розпочався проект?

Панель Латте — панель на основі бібліотек Плазми, безпосередній наступник панелі Now. Латте є результатом об'єднаних зусиль розробників панелі Now та панелі Candil.

У яких дистрибутивах Linux можна одразу користуватися панеллю Латте?

Як додати кнопки запуску?

Найпростішим і найочевиднішим способом є перетягування зі скиданням на панель задач (це ділянка, під запущеними вікнами, де показано крапки і лінії).

Ви можете додати їх поза межами ділянки керування задачами, але це спричинить проблеми із анімацією для розмірів <64 пікселів та надмірного споживання пам'яті.

Кнопка запуску і її вікно не пов'язано належним чином або чому для кнопки запуску використано піктограму із низькою роздільністю?

Причиною цієї проблеми є те, що libtaskmanager Плзами не пов'язує вашу кнопку запуску і вікна програми із відповідним файлом desktop. Плазма намагається якнайточніше визначити, які файли desktop пов'язано із певними вікнами, але іноді автоматичне визначення не спрацьовує. Найкращим способом виправлення є визначення запису StartupWMClass у файлі desktop. Цей запис має вказувати на належний запис WM_CLASS. Наприклад, навіть коли файл desktop панелі Латте називається org.kde.latte-dock.desktop, його StartupWMClass має значення lattedock. З метою належного визначення StartupWMClass програми можете скористатися xprop.

Приклад:

  1. Віддайте команду xprop у консолі
  2. Клацніть на вікні, яким ви цікавитеся
  3. Знайдіть наприкінці виведених до консолі даних запис WM_CLASS(STRING) =
  4. Додайте раніше згаданий запис до файла desktop програми у полі StartupWMClass

Наприклад, у Gimp 2.10, навіть хоча файл desktop має назву gimp.desktop, StartupWMClass має значення gimp-2.10' . Для Gimp StartupWMClass не потрібно додавати, оскільки розробник Плазми подбали про правильну прив'язку за допомогою /etc/xdg/taskmanagerrulesrc.

Як увімкнути загальні клавіатурні скорочення Латте?

У більшості випадків вам слід перейти до сторінки Системні параметриЗагальні скороченняПанель Латте і увімкніть потрібні вами клавіатурні скорочення.

  • Super + цифра: активувати завдання
  • Super + Ctrl + цифра: новий екземпляр завдання
  • Super + `: показати приховану панель

Чи можна скористатися клавішею Super (Windows) для відкриття засобу запуску програм?

  • Офіційним способом увімкнути є такий: клацання правою кнопкою миші на ПанельНалаштувати Латте...Увімкнути автозапуск під час завантаження системи
  • Вручну зробити це можна так: Закрити ЛаттеВиконати у командному рядку:
    kwriteconfig5 --file ~/.config/kwinrc --group ModifierOnlyShortcuts --key Meta "org.kde.lattedock,/Latte,org.kde.LatteDock,activateLauncherMenu"
    qdbus org.kde.KWin /KWin reconfigure

Кнопки запуску зникають до того, як буде показано відповідне вікно, хоча так не повинно бути. Що робити?

Так, знаємо. Але таку поведінку регламентовано libtaskmanager Плазми. Докладніше про це: вада у Латте 72, звіт щодо вади у KDE.

Починаючи з версії Плазми 5.10, ліва панель поводиться якось дивно. Як це виправити?

У Плазмі 5.10 розробниками KWin було впроваджено можливості використання жестів на сенсорних екранах, які було типово увімкнено на усіх системах. Ви можете вимкнути жести за допомогою сторінки налаштувань Плазми Системні параметриПоведінка робочого просторуСенсорний екран. Вийдіть і знову увійдіть до сеансу Плазми, якщо внесені вами зміни не набули чинності негайно.

Звіт щодо вади у KWin Звіт щодо вади у Плазмі

Чи можна наказати панелі Латте запускатися лише у сеансі Плазми?

Так, це можна зробити. Виконайте такі настанови:

  1. Перейдіть на сторінку програми Системні параметри Плазми -> Запуск і вихід -> Автозапуск
  2. Виберіть Панель Латте у списку програм
  3. Додатково -> Автоматичний запуск лише у Плазмі

Що трапиться, якщо перетягнути і скинути пункти файлів на кнопки запуску?

Файл буде передано із параметром до відповідної програми зі створенням її нового екземпляра (наприклад, передавання зображення до Kolourpaint призведе до відкриття цього зображення у Kolourpaint)

Чому не працює клацання правою кнопкою миші?

Якщо клацання правою кнопкою миші не працює для аплетів і завдань, це означає, що вашу панель Латте було зібрано не з тими бібліотеками KDE Frameworks, що і стільницю Плазми. Вирішенням цієї проблеми є або оновлення пакунків Латте у вашому дистрибутиві, або збирання Латте власноруч.

Як встановити максимальний розмір піктограм для аплетів на панелях Плазми?

Якщо вам потрібні піктограми із максимальним розміром у 192 пікселі на панелях, можете віддати таку команду:

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

У попередньому прикладі усі аплети Плазми, більші за 192 пікселів, будуть використовувати повне стільничне предсталвення, якщо їх буде розташовано на панелях.

Як поліпшити ситуацію із використанням процесора?

Латте, загалом, сконцентровано на наданні користувачам максимальних можливостей із налаштовування та швидкодії, тому його графічні і анімаційні параметри мають НАЙОПТИМАЛЬНІШІ значення...

Простим і відомим шляхом до зменшення навантаження на процесор є вимикання тіней для панелі завдань та аплетів. У Латте широко використовується елемент QML DropShadow, який може значно впливати на швидкодію. Щоб вимкнути усі тіні на панелі ви можете зробити так:

Клацнути правою кнопкою миші на панелі -> Редагувати панель -> Ефекти -> «Тіні» [вимкніть усю групу пунктів за допомогою заголовка]

У системі автора при використанні параболічного ефекту вживання процесора впало на близько 75%.

На панелі Латте не працюють лічильники. Як це виправити?

Будь ласка, переконайтеся, що встановлено libunity. У версіях Ubuntu з KDE, зокрема Kubuntu і KDE Neon, вам слід встановити libunity-dev.

Як автоматично розфарбувати панель Латте на основі кольорів певної програми?

  1. Встановити скрипт KWin Кольори вікна Латте з Крамниці KDE
  2. Клацнути правою кнопкою миші на панелі ЛаттеРедагувати панель...ВиглядКольориЗ вікнаБудь-яке контактне вікно
  3. Визначення різних схем кольорів для ваших програм:
    • Клацніть правою кнопкою миші на смужці заголовка вікна
    • Додаткові діїНалаштувати особливі параметри програми...
    • Додати властивістьВигляд і виправленняСхема кольорів панелі заголовка
    • Виберіть ПримусовоВиберіть бажану схему кольорів

Чи можна вимкнути автоматичний колір для певного аплету?

Так, клацніть правою кнопкою на ПанеліРедагувати панель...Перевпорядкувати і налаштувати ваші віджетиВимкніть піктограму «краплі» на панелі підказки згаданого аплету


Чи є якісь відомі проблеми із сумісністю з певними драйверами до відеокарток?

Якщо ви користуєтеся графічним прискорювачем Intel і маєте проблеми із пікселізацією та викривленням зображення, помилками у текстових фрагментах та іншими проблемами, ви можете змінити спосіб обробки двовимірної графіки з SNA на UXA.

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

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

Чи можна налаштувати різні параметри безрамкових максимізованих вікон у різних компонуваннях?

1. Так, це можна зробити. Спочатку увімкніть цю функціональну можливість у параметрах Латте:

2. Увімкніть або вимкніть цю можливість пізніше у параметрах компонування Латте.