Σελίδες

Tuesday, 1 September 2020

Latte Dock v0.10~ | Simplify Layouts Mode

 


Hello everyone,

that is a major new feature, so please read carefully and take full backup before updating to Latte v0.9.86~   [~,  stands for rapid development,  in your distro package repos is mentioned as git version]
 

Contents;

In v0.9.86 layouts handling is reconsidered and reimplemented in different way. This is why you should take full backup configuration before upgrading. You can do so easily with: 

  1. Right click on any Dock
  2. Layouts -> Manage Layouts...
  3. File -> Export Configuration

 

2. Shared Layouts No More

Shared Layouts are no more, their support has been totally removed! That means you will not lose them when you upgrade but you should reassign them to Activities in order to show properly to your preference.



3. Single Layout Mode

In Single Layout Mode no Plasma Activities handling takes place any more. In that mode you will ALWAYS use one single layout assigned to ALL ACTIVITIES at all times. You can easily specify which layout is going to be used through Layouts Editor.
 

Shared Layouts were dropped for a good reason. Now that Latte has advanced its layouts technology there is no reason to request users to learn new things. Layouts can now be assigned to multiple different Activities with no restrictions. Each layout can be assigned at:
- new activities menu -

  • All Activities
  • Free Activities
  • Current Activity
  • Specific Activities with no restriction

 

There is NO RESTRICTION on how many Layouts will be assigned to previous options. Mentioned workflow is based  totally on TaskManager launchers and Windows and how they give users the option to be split out to different Activities.

Note1: Plasma  Wayland does not support Activities yet; this is why current Activity is used  to load the proper layouts set and only when you change to different Activity the layouts set is updated. So I propose to stick with the same layouts set at all cases under wayland.

Note2: In case activities assigned to layouts get you into a situation in which no layout should be shown, Latte protects you and Default layout is added. For the time being if you want some Activities to NOT USE any layout you can add an Empty Template layout through New button in Layouts Editor and assign the Empty layout to these activities.

 
 
 
  • lastNonAssignedLayout and currentLayout properties found in ~/.config/lattedockrc are not used any more and they have been replaced from singleModeLayoutName in order to define which layout should be applied in Single Layout mode.

  • The proposed way to switch layouts is through Latte dbus interface, for example:
qdbus org.kde.lattedock /Latte switchToLayout <layout_name>
qdbus org.kde.lattedock /Latte switchToLayout <layout_absolutefilepath>
 



Personally I do not think donations are necessary. Easier thing you can do is to just install from KDE Store the Latte related widgets, they work just fine even with plasma panels. KDE Store provides me some monthly beers because of this. Funny thing in that Latte Separator that I developed in a day provides me most of the beers and Latte Dock that I develop plenty of hours daily for the last three years provides me almost none.. :) I mention it as a funny fact, please do not take it differently.

In a case, if you still want to donate you can use the following:

You can find Latte at Liberapay ,     Donate using Liberapay


or you can split your donation between my active projects in kde store.