LatteDock/TipsAndTricks: Difference between revisions

From KDE Wiki Sandbox
m (Minor corrections)
(add logo)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages />
<languages />
<translate>
<translate>
[[File:LLoXdgK.png|right|Latte Dock!]]
<!--T:1-->
<!--T:1-->
[[Special:myLanguage/LatteDock|←Latte Dock]]
[[Special:myLanguage/LatteDock|←Latte Dock]]
Line 10: Line 12:


<!--T:4-->
<!--T:4-->
"e.g." {{Input|1=env XDG_CURRENT_DESKTOP=unity /home/john/bin/Telegram/Telegram -- %u}}
''e.g.'' {{Input|1=env XDG_CURRENT_DESKTOP=unity /home/john/bin/Telegram/Telegram -- %u}}


== How can I use a plasma task manager instead of the one provided by Latte? == <!--T:5-->
== How can I use a plasma task manager instead of the one provided by Latte? == <!--T:5-->
Line 18: Line 20:


<!--T:7-->
<!--T:7-->
# Disable from <menuchoice>Tweaks</menuchoice> page the <menuchoice>Automatic applet shrinking when it is needed</menuchoice>
# Disable from <menuchoice>Tweaks</menuchoice> page the <menuchoice>Automatic applet shrinking when it is needed</menuchoice></translate>
# Remove the <menuchoice>Latte Tasks</menuchoice> plasmoid from the <menuchoice>Tweaks</menuchoice> page
<translate>
# Enable the <menuchoice>Justify alignment</menuchoice>
<!--T:37-->
# Set <menuchoice>Zoom On Hover</menuchoice> to 0% from the <menuchoice>Appearance</menuchoice> page "(this is optional, Latte automatically blocks applets that use fillWidth/Height)"
# Remove the <menuchoice>Latte Tasks</menuchoice> plasmoid from the <menuchoice>Tweaks</menuchoice> page</translate>
<translate>
<!--T:38-->
# Enable the <menuchoice>Justify alignment</menuchoice></translate>
<translate>
<!--T:39-->
# Set <menuchoice>Zoom On Hover</menuchoice> to 0% from the <menuchoice>Appearance</menuchoice> page "(this is optional, Latte automatically blocks applets that use fillWidth/Height)"</translate>
<translate>
<!--T:40-->
# Drag n' drop any plasma taskmanager you want onto Latte dock
# Drag n' drop any plasma taskmanager you want onto Latte dock


Line 52: Line 62:


<!--T:18-->
<!--T:18-->
# Go to {{Path|1=<theme directory>/widgets/}} and rename {{Path|1=tabbar.svg}} to {{Path|1=tabbar.svg.old}}
# Go to {{Path|1=<theme directory>/widgets/}} and rename {{Path|1=tabbar.svg}} to {{Path|1=tabbar.svg.old}}</translate>
# execute the command {{Input|1=kbuildsycoca5 --noincremental}} to update your cache
<translate>
# restart Latte
<!--T:41-->
# execute the command {{Input|1=kbuildsycoca5 --noincremental}} to update your cache</translate>
<translate>
<!--T:42-->
# restart Latte</translate>
<translate>
<!--T:43-->
# go to <menuchoice>Tweaks</menuchoice> -> <menuchoice>Active Applet Indicator</menuchoice> -> <menuchoice>Everywhere</menuchoice>
# go to <menuchoice>Tweaks</menuchoice> -> <menuchoice>Active Applet Indicator</menuchoice> -> <menuchoice>Everywhere</menuchoice>


<!--T:19-->
<!--T:19-->
This way, you will be able to have the same active line for all your applets and tasks as well as one that is animated. ;)
This way, you will be able to have the same active line for all your applets and tasks as well as one that is animated. <!--(-->;)


<!--T:20-->
<!--T:20-->
Line 67: Line 83:


<!--T:22-->
<!--T:22-->
# activate [https://github.com/psifidotos/Latte-Dock/wiki/F.A.Q.#q-how-can-i-enable-edit-mode-in-latte Edit Mode]
# activate [https://github.com/psifidotos/Latte-Dock/wiki/F.A.Q.#q-how-can-i-enable-edit-mode-in-latte Edit Mode]</translate>
# right click on "Tasks Plasmoid" to show its context menu
<translate>
<!--T:44-->
# right click on "Tasks Plasmoid" to show its context menu</translate>
<translate>
<!--T:45-->
# activate the "Internal Separator" through the context menu
# activate the "Internal Separator" through the context menu


Line 80: Line 100:


<!--T:26-->
<!--T:26-->
# Close Latte
# Close Latte</translate>
# Open your layout text file from {{Path|1=~/.config/latte}}
<translate>
# Try to locate your Latte plasmoid settings. A quick way to do this is to search for <code>isInLatteDock=true</code>  
<!--T:46-->
# The following line sets preview delay to 150ms. Take note that this is the lowest value that can be set and work correctly.
# Open your layout text file from {{Path|1=~/.config/latte}}</translate>
<translate>
<!--T:47-->
# Try to locate your Latte plasmoid settings. A quick way to do this is to search for <code>isInLatteDock=true</code> </translate>
<translate>
<!--T:48-->
# The following line sets preview delay to 150ms. Take note that this is the lowest value that can be set and work correctly.</translate>
<translate>
<!--T:49-->
# Open Latte
# Open Latte


<!--T:27-->
<!--T:27-->
e.g.
''e.g.''
{{Input|1=<nowiki>
{{Input|1=<nowiki>
[Containments][13][Applets][68][Configuration][General]
[Containments][13][Applets][68][Configuration][General]
Line 99: Line 127:


<!--T:30-->
<!--T:30-->
e.g.
''e.g.''
{{Input|1=<nowiki>
{{Input|1=<nowiki>
[UniversalSettings]
[UniversalSettings]

Latest revision as of 09:53, 28 November 2021

Other languages:
Latte Dock!
Latte Dock!

←Latte Dock

How to make Telegram indicators work with Latte?

You need the "libunity9" package installed as well as the following in the Telegram desktop file at the command section:

env XDG_CURRENT_DESKTOP=unity

e.g.

env XDG_CURRENT_DESKTOP=unity /home/john/bin/Telegram/Telegram -- %u

How can I use a plasma task manager instead of the one provided by Latte?

You can follow the steps below:

  1. Disable from Tweaks page the Automatic applet shrinking when it is needed
  2. Remove the Latte Tasks plasmoid from the Tweaks page
  3. Enable the Justify alignment
  4. Set Zoom On Hover to 0% from the Appearance page "(this is optional, Latte automatically blocks applets that use fillWidth/Height)"
  5. Drag n' drop any plasma taskmanager you want onto Latte dock

How to add a "History" applet to Latte Dock?

  • Create a folder
  • drag it to the Latte Dock as folder view
  • click with the right mouse button on the new applet
  • click on Configure Folder View
  • edit the Custom location with recentdocuments://

I've moved Latte Dock to the left side of the screen, but when I move the cursor there it stays hidden. How can I fix this?

This is a known issue and the procedure is explained here: #676

How to provide uniformity for active applets (same active line) across all my docks with Latte 0.7?

Plasma uses the tabbar.svg file in order to provide how an active applet would look like. This file is located at your theme directory/widgets/tabbar.svg. So if the user wants to use the same line (color and thickness) found at Latte Tasks plasmoid for its applets as well while at the same time not messing with some lines shown at the top and some at the bottom, they can try the following:

  1. Go to <theme directory>/widgets/ and rename tabbar.svg to tabbar.svg.old
  2. execute the command
    kbuildsycoca5 --noincremental
    to update your cache
  3. restart Latte
  4. go to Tweaks -> Active Applet Indicator -> Everywhere

This way, you will be able to have the same active line for all your applets and tasks as well as one that is animated. ;)

How can I activate the "Internal Tasks Separator"?

  1. activate Edit Mode
  2. right click on "Tasks Plasmoid" to show its context menu
  3. activate the "Internal Separator" through the context menu

Can I change the preview delay in the Latte task manager?

You will need to alter your layout text file:

  1. Close Latte
  2. Open your layout text file from ~/.config/latte
  3. Try to locate your Latte plasmoid settings. A quick way to do this is to search for isInLatteDock=true
  4. The following line sets preview delay to 150ms. Take note that this is the lowest value that can be set and work correctly.
  5. Open Latte

e.g.

[Containments][13][Applets][68][Configuration][General]
isInLatteDock=true
previewsDelay=150

Can I disable the "Unified Global Shortcuts" feature introduced with v0.8?

If you want Latte to trigger activation/new instance global shortcuts only for Latte plasmoids, this is possible from v0.8.1 by disabling the parameter unifiedGlobalShortcuts in the file ~/.config/lattedockrc

e.g.

[UniversalSettings]
...
unifiedGlobalShortcuts=false
...

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

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

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