LatteDock/TipsAndTricks: Difference between revisions

From KDE Wiki Sandbox
(Created page with "←Latte Dock = Q: How to make Telegram indicators work with Latte? = '''A:''' you need the **libunity9** package installed and in Telegram desktop file at the...")
 
(Lot of formatting fix :D)
Line 1: Line 1:
[[LatteDock|←Latte Dock]]
[[LatteDock|←Latte Dock]]


= Q: How to make Telegram indicators work with Latte? =
== How to make Telegram indicators work with Latte? ==


'''A:''' you need the **libunity9** package installed and in Telegram desktop file at the command section: `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}}


_e.g._ `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}}


= Q: 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? ==


'''A:''' You can follow the steps below:
You can follow the steps below:
# Disable from `Tweaks` page the `Automatic applet shrinking when it is needed`
# Remove the `Latte Tasks` plasmoid from `Tweaks` page
# Enable the `Justify alignment`
# Set `zoom to 0%` from `Appearance` page _(this is optional, Latte blocks automatically applets that use fillWidth/Height)_
# `Drag n' drop any plasma taskmanager` you want onto Latte dock


= Q: How to add a "History" applet to Latte-dock ? =
# Disable from <menuchoice>Tweaks</menuchoice> page the <menuchoice>Automatic applet shrinking when it is needed</menuchoice>


'''A:'''
# Remove the <menuchoice>Latte Tasks</menuchoice> plasmoid from <menuchoice>Tweaks</menuchoice> page
  - Create a folder
  - drag it to the latte-dock as folder view
  - click with the right mouse button on the new applet
  - click on folder view setting
  - edit the `"specify a folder field"` with `"recentdocuments://"`


= Q: I've moved Latte-Dock on the left screen side, but when I move the cursor it stays hidden. How can I fix it? =
# Enable the <menuchoice>Justify alignment</menuchoice>


'''A:''' This is a known issue and the procedure is explained here [#676](https://github.com/psifidotos/Latte-Dock/issues/676)
# Set <menuchoice>Zoom On Hover</menuchoice> to 0% from <menuchoice>Appearance</menuchoice> page ''(this is optional, Latte blocks automatically applets that use fillWidth/Height)''


# Drag n' drop any plasma taskmanager you want onto Latte dock


= Q: How to provide uniformity for active applets (same active line) across all my docks with Latte 0.7? =
== How to add a "History" applet to Latte-dock ? ==


'''A:''' 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:
* Create a folder
 
* drag it to the latte-dock as folder view
 
* click with the right mouse button on the new applet
 
* click on <menuchoice>Configure Folder View</menuchoice>
 
* 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? ==
 
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? ==
 
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:
 
# 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


# Go to `theme directory/widgets/` and rename `tabbar.svg` to `tabbar.svg.old`
# execute at command line `kbuildsycoca5 --noincremental` to update your cache
# restart Latte
# restart Latte
# go to `Tweaks -> Active Applet Indicator -> Everywhere`
 
# go to <menuchoice>Tweaks</menuchoice> -> <menuchoice>Active Applet Indicator</menuchoice> -> <menuchoice>Everywhere</menuchoice>


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


<p align="center">
[[File:LatteDockLeftGiganticDaddylonglegs-size_restricted.gif|center|500px]]
<img src="https://thumbs.gfycat.com/LeftGiganticDaddylonglegs-size_restricted.gif" width="650">
</p>


= Q: How can I activate the **Internal Tasks Separator**?=
== How can I activate the '''Internal Tasks Separator'''? ==


'''A:'''
# activate [Edit Mode](https://github.com/psifidotos/Latte-Dock/wiki/F.A.Q.#q-how-can-i-enable-edit-mode-in-latte)
# right click on _Tasks Plasmoid_ to show its context menu
# activate the _**Internal Separator**_ through the context menu


<p align="center">
# activate [https://github.com/psifidotos/Latte-Dock/wiki/F.A.Q.#q-how-can-i-enable-edit-mode-in-latte Edit Mode]
<img src="https://i.imgur.com/FSWWzt1.png" width="650">
# right click on ''Tasks Plasmoid'' to show its context menu
</p>
# activate the '''Internal Separator''' through the context menu


[[File:LatteDockInternalTasksSeparator.png|500px|center]]


= Q: Can I change the Previews delay in Latte taskmanager?=
== Can I change the Previews delay in Latte taskmanager? ==


'''A:''' You will need to alter your layout text file
You will need to alter your layout text file


# Close Latte
# Close Latte
# Open your layout text file from `~/.config/latte`
 
# Try to locate your Latte plasmoid settings. Fast way to do this, search for `isInLatteDock=true` text
# Open your layout text file from {{Path|1=~/.config/latte}}
 
# Try to locate your Latte plasmoid settings. Fast way to do this, search for <code>isInLatteDock=true</code> text
 
# the following text sets previews delay to 150ms. Take note that this is the lowest value that can be set and work correctly.
# the following text sets previews delay to 150ms. Take note that this is the lowest value that can be set and work correctly.
# Open Latte
# Open Latte


e.g.
e.g.
  [Containments][13][Applets][68][Configuration][General]
{{Input|1=<nowiki>
  isInLatteDock=true
[Containments][13][Applets][68][Configuration][General]
  previewsDelay=150
isInLatteDock=true
previewsDelay=150</nowiki>}}


= Q: Can I disable **Unified Global Shortcuts** feature introduced with v0.8?=
== Can I disable **Unified Global Shortcuts** feature introduced with v0.8? ==


'''A:''' 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`
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}}


e.g.
e.g.
  [UniversalSettings]
{{Input|1=<nowiki>
  ...
[UniversalSettings]
  unifiedGlobalShortcuts=false
...
  ...
unifiedGlobalShortcuts=false
...
</nowiki>}}


= Q: Can I have different BorderlessMaximized windows option between different layouts?=
== Can I have different BorderlessMaximized windows option between different layouts? ==


'''A:''' Yes, this is possible. First enable this functionality at Latte preferences
Yes, this is possible. First enable this functionality at Latte preferences


[[File:Borderless.png]]
[[File:Borderless.png]]

Revision as of 21:16, 9 March 2019

←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
  1. Remove the Latte Tasks plasmoid from Tweaks page
  1. Enable the Justify alignment
  1. Set Zoom On Hover to 0% from Appearance page (this is optional, Latte blocks automatically applets that use fillWidth/Height)
  1. 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
  1. execute at command line
    kbuildsycoca5 --noincremental
    to update your cache
  1. restart Latte
  1. 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
  1. Open your layout text file from ~/.config/latte
  1. Try to locate your Latte plasmoid settings. Fast way to do this, search for isInLatteDock=true text
  1. the following text sets previews delay to 150ms. Take note that this is the lowest value that can be set and work correctly.
  1. 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 BorderlessMaximized windows option between different layouts?

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

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