LatteDock/TipsAndTricks: Difference between revisions

From KDE UserBase Wiki
(Marked this version for translation)
Line 1: Line 1:
<languages />
<languages />
<translate>
<translate>
<!--T:1-->
[[LatteDock|←Latte Dock]]
[[LatteDock|←Latte Dock]]


== How to make Telegram indicators work with Latte? ==
== How to make Telegram indicators work with Latte? == <!--T:2-->


<!--T:3-->
You need the '''libunity9''' package installed and in Telegram desktop file at the command section: {{Input|1=env XDG_CURRENT_DESKTOP=unity}}
You need the '''libunity9''' package installed and in Telegram desktop file at the command section: {{Input|1=env XDG_CURRENT_DESKTOP=unity}}


<!--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 taskmanager instead of the one provided by Latte? ==
== How can I use a plasma taskmanager instead of the one provided by Latte? == <!--T:5-->


<!--T:6-->
You can follow the steps below:
You can follow the steps below:


<!--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>
# Remove the <menuchoice>Latte Tasks</menuchoice> plasmoid from <menuchoice>Tweaks</menuchoice> page
# Remove the <menuchoice>Latte Tasks</menuchoice> plasmoid from <menuchoice>Tweaks</menuchoice> page
Line 19: Line 24:
# Drag n' drop any plasma taskmanager you want onto Latte dock
# Drag n' drop any plasma taskmanager you want onto Latte dock


== How to add a "History" applet to Latte-dock ? ==
== How to add a "History" applet to Latte-dock ? == <!--T:8-->


<!--T:9-->
* Create a folder
* Create a folder


<!--T:10-->
* drag it to the latte-dock as folder view
* drag it to the latte-dock as folder view


<!--T:11-->
* click with the right mouse button on the new applet
* click with the right mouse button on the new applet


<!--T:12-->
* click on <menuchoice>Configure Folder View</menuchoice>
* click on <menuchoice>Configure Folder View</menuchoice>


<!--T:13-->
* edit the <menuchoice>Custom location</menuchoice> with {{Path|1=recentdocuments://}}
* edit the <menuchoice>Custom location</menuchoice> with {{Path|1=recentdocuments://}}


== I've moved Latte-Dock on the left screen side, but when I move the cursor it stays hidden. How can I fix it? ==
== I've moved Latte-Dock on the left screen side, but when I move the cursor it stays hidden. How can I fix it? == <!--T:14-->


<!--T:15-->
This is a known issue and the procedure is explained here [https://github.com/psifidotos/Latte-Dock/issues/676 #676]
This is a known issue and the procedure is explained here [https://github.com/psifidotos/Latte-Dock/issues/676 #676]


== How to provide uniformity for active applets (same active line) across all my docks with Latte 0.7? ==
== How to provide uniformity for active applets (same active line) across all my docks with Latte 0.7? == <!--T:16-->


<!--T:17-->
Plasma uses the {{Path|1=tabbar.svg}} file in order to provide how an active applet would look like. This file is located at your {{Path|1=theme directory/widgets/tabbar.svg}}. So if the user wants to use the same line (color and thickness) found at Latte Tasks plasmoid to its applets also and the same time not messing with some lines shown at top and some at the bottom he can try the following:
Plasma uses the {{Path|1=tabbar.svg}} file in order to provide how an active applet would look like. This file is located at your {{Path|1=theme directory/widgets/tabbar.svg}}. So if the user wants to use the same line (color and thickness) found at Latte Tasks plasmoid to its applets also and the same time not messing with some lines shown at top and some at the bottom he can try the following:


<!--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}}
# execute at command line {{Input|1=kbuildsycoca5 --noincremental}} to update your cache
# execute at command line {{Input|1=kbuildsycoca5 --noincremental}} to update your cache
Line 44: Line 57:
# 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-->
this way you will be able to have the same active line for all your applets and tasks and one which is animated also ;)
this way you will be able to have the same active line for all your applets and tasks and one which is animated also ;)


<!--T:20-->
[[File:LatteDockLeftGiganticDaddylonglegs-size_restricted.gif|center|500px]]
[[File:LatteDockLeftGiganticDaddylonglegs-size_restricted.gif|center|500px]]


== How can I activate the '''Internal Tasks Separator'''? ==
== How can I activate the '''Internal Tasks Separator'''? == <!--T:21-->




<!--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]
# right click on ''Tasks Plasmoid'' to show its context menu
# right click on ''Tasks Plasmoid'' to show its context menu
# activate the '''Internal Separator''' through the context menu
# activate the '''Internal Separator''' through the context menu


<!--T:23-->
[[File:LatteDockInternalTasksSeparator.png|500px|center]]
[[File:LatteDockInternalTasksSeparator.png|500px|center]]


== Can I change the Previews delay in Latte taskmanager? ==
== Can I change the Previews delay in Latte taskmanager? == <!--T:24-->


<!--T:25-->
You will need to alter your layout text file
You will need to alter your layout text file


<!--T:26-->
# Close Latte
# Close Latte
# Open your layout text file from {{Path|1=~/.config/latte}}
# Open your layout text file from {{Path|1=~/.config/latte}}
Line 67: Line 86:
# Open Latte
# Open Latte


<!--T:27-->
e.g.
e.g.
{{Input|1=<nowiki>
{{Input|1=<nowiki>
Line 73: Line 93:
previewsDelay=150</nowiki>}}
previewsDelay=150</nowiki>}}


== Can I disable '''Unified Global Shortcuts''' feature introduced with v0.8? ==
== Can I disable '''Unified Global Shortcuts''' feature introduced with v0.8? == <!--T:28-->


<!--T:29-->
If you want Latte to trigger activation/new instance global shortcuts only for Latte plasmoid this is possible from v0.8.1 by disabling parameter <code>unifiedGlobalShortcuts</code> at file {{Path|1=~/.config/lattedockrc}}
If you want Latte to trigger activation/new instance global shortcuts only for Latte plasmoid this is possible from v0.8.1 by disabling parameter <code>unifiedGlobalShortcuts</code> at file {{Path|1=~/.config/lattedockrc}}


<!--T:30-->
e.g.
e.g.
{{Input|1=<nowiki>
{{Input|1=<nowiki>
Line 85: Line 107:
</nowiki>}}
</nowiki>}}


== Can I have different '''Borderless Maximized''' windows option between different layouts? ==
== Can I have different '''Borderless Maximized''' windows option between different layouts? == <!--T:31-->


<!--T:32-->
1. Yes, this is possible. First enable this functionality at Latte preferences
1. Yes, this is possible. First enable this functionality at Latte preferences


<!--T:33-->
[[File:Borderless.png]]
[[File:Borderless.png]]


<!--T:34-->
2. Enable/Disable afterwards this functionality per layout at Latte Layout Settings.
2. Enable/Disable afterwards this functionality per layout at Latte Layout Settings.


<!--T:35-->
[[File:Layout.png]]
[[File:Layout.png]]


<!--T:36-->
[[Category:Plasma]]
[[Category:Plasma]]
[[Category:Desktop]]
[[Category:Desktop]]
</translate>
</translate>

Revision as of 17:06, 10 March 2019

Other languages:

←Latte Dock

How to make Telegram indicators work with Latte?

You need the libunity9 package installed and in 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 taskmanager 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 Tweaks page
  3. Enable the Justify alignment
  4. Set Zoom On Hover to 0% from Appearance page (this is optional, Latte blocks automatically 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 on the left screen side, but when I move the cursor it stays hidden. How can I fix it?

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 to its applets also and the same time not messing with some lines shown at top and some at the bottom he can try the following:

  1. Go to <theme directory>/widgets/ and rename tabbar.svg to tabbar.svg.old
  2. execute at command line
    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 and one which is animated also ;)

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 Previews delay in Latte taskmanager?

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. Fast way to do this, search for isInLatteDock=true text
  4. the following text sets previews 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 Unified Global Shortcuts feature introduced with v0.8?

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

e.g.

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

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

1. Yes, this is possible. First enable this functionality at Latte preferences

2. Enable/Disable afterwards this functionality per layout at Latte Layout Settings.