[Latte Dock] The end of an era (designing a Latte-Dock free alternative dr460nized setup)

Fortunately for us I just did this same upgrade on my VirtualM Garuda at work today.
So the grep is short.
What I did:
ran - garuda-update
ran - sudo pacman -Rns latte-dock
ran - sudo pacman -Syu garuda-dr460nized-next
rebooted
Set Garuda Dock and panel again by hand because they were missing here too.
Same Breeze, same everything as on my home machine.
Here is the entire output:

╰─λ journalctl -r | grep Sweet
febr 01 13:40:25 garuda sddm[494]: Loading theme configuration from "/usr/share/sddm/themes/Sweet/theme.conf"
febr 01 12:59:25 garuda sddm[481]: Loading theme configuration from "/usr/share/sddm/themes/Sweet/theme.conf"
febr 01 12:40:41 garuda sddm[500]: Loading theme configuration from "/usr/share/sddm/themes/Sweet/theme.conf"
febr 01 12:28:40 garuda sddm-greeter[5629]: file:///usr/share/sddm/themes/Sweet/Main.qml:420: TypeError: Cannot read property 'longDuration' of null
febr 01 12:28:40 garuda sddm-greeter[5629]: file:///usr/share/sddm/themes/Sweet/Main.qml:202: TypeError: Cannot read property 'longDuration' of null
febr 01 12:28:40 garuda sddm-greeter[5629]: file:///usr/share/sddm/themes/Sweet/components/UserDelegate.qml:50: TypeError: Cannot read property 'longDuration' of null
febr 01 12:28:40 garuda sddm-greeter[5629]: file:///usr/share/sddm/themes/Sweet/components/UserDelegate.qml:90: TypeError: Cannot read property 'longDuration' of null
febr 01 12:28:40 garuda sddm-greeter[5629]: file:///usr/share/sddm/themes/Sweet/components/UserDelegate.qml:110: TypeError: Cannot read property 'gridUnit' of null
febr 01 12:28:40 garuda sddm-greeter[5629]: file:///usr/share/sddm/themes/Sweet/components/UserDelegate.qml:84: TypeError: Cannot read property 'largeSpacing' of null
febr 01 12:28:40 garuda sddm-greeter[5629]: file:///usr/share/sddm/themes/Sweet/components/UserDelegate.qml:44: TypeError: Cannot read property 'smallSpacing' of null
febr 01 12:28:40 garuda sddm-greeter[5629]: file:///usr/share/sddm/themes/Sweet/components/UserDelegate.qml:118: TypeError: Cannot read property 'largeSpacing' of null
febr 01 12:28:40 garuda sddm-greeter[5629]: file:///usr/share/sddm/themes/Sweet/components/UserList.qml:26: TypeError: Cannot read property 'gridUnit' of null
febr 01 12:28:40 garuda sddm-greeter[5629]: file:///usr/share/sddm/themes/Sweet/components/UserList.qml:25: TypeError: Cannot read property 'gridUnit' of null
febr 01 12:28:40 garuda sddm-greeter[5629]: file:///usr/share/sddm/themes/Sweet/components/SessionManagementScreen.qml:89: TypeError: Cannot read property 'gridUnit' of null
febr 01 12:28:40 garuda sddm-greeter[5629]: file:///usr/share/sddm/themes/Sweet/components/SessionManagementScreen.qml:99: TypeError: Cannot read property 'gridUnit' of null
febr 01 12:28:40 garuda sddm-greeter[5629]: file:///usr/share/sddm/themes/Sweet/components/SessionManagementScreen.qml:98: TypeError: Cannot read property 'gridUnit' of null
febr 01 12:28:40 garuda sddm-greeter[5629]: file:///usr/share/sddm/themes/Sweet/components/SessionManagementScreen.qml:112: TypeError: Cannot read property 'smallSpacing'of null
febr 01 12:28:40 garuda sddm-greeter[5629]: file:///usr/share/sddm/themes/Sweet/components/SessionManagementScreen.qml:83: TypeError: Cannot read property 'gridUnit' of null
febr 01 12:28:40 garuda sddm-greeter[5629]: file:///usr/share/sddm/themes/Sweet/components/ActionButton.qml:37: TypeError: Cannot read property 'smallSpacing' of null
febr 01 12:28:40 garuda sddm-greeter[5629]: file:///usr/share/sddm/themes/Sweet/components/ActionButton.qml:36: TypeError: Cannot read property 'largeSpacing' of null
febr 01 12:28:40 garuda sddm-greeter[5629]: file:///usr/share/sddm/themes/Sweet/components/ActionButton.qml:34: TypeError: Cannot read property 'gridUnit' of null
febr 01 12:28:40 garuda sddm-greeter[5629]: file:///usr/share/sddm/themes/Sweet/components/ActionButton.qml:64: TypeError: Cannot read property 'smallSpacing' of null
febr 01 12:28:40 garuda sddm-greeter[5629]: file:///usr/share/sddm/themes/Sweet/components/ActionButton.qml:37: TypeError: Cannot read property 'smallSpacing' of null
febr 01 12:28:40 garuda sddm-greeter[5629]: file:///usr/share/sddm/themes/Sweet/components/ActionButton.qml:36: TypeError: Cannot read property 'largeSpacing' of null
febr 01 12:28:40 garuda sddm-greeter[5629]: file:///usr/share/sddm/themes/Sweet/components/ActionButton.qml:34: TypeError: Cannot read property 'gridUnit' of null
febr 01 12:28:40 garuda sddm-greeter[5629]: file:///usr/share/sddm/themes/Sweet/components/ActionButton.qml:64: TypeError: Cannot read property 'smallSpacing' of null
febr 01 12:28:40 garuda sddm-greeter[5629]: file:///usr/share/sddm/themes/Sweet/components/ActionButton.qml:37: TypeError: Cannot read property 'smallSpacing' of null
febr 01 12:28:40 garuda sddm-greeter[5629]: file:///usr/share/sddm/themes/Sweet/components/ActionButton.qml:36: TypeError: Cannot read property 'largeSpacing' of null
febr 01 12:28:40 garuda sddm-greeter[5629]: file:///usr/share/sddm/themes/Sweet/components/ActionButton.qml:34: TypeError: Cannot read property 'gridUnit' of null
febr 01 12:28:40 garuda sddm-greeter[5629]: file:///usr/share/sddm/themes/Sweet/components/ActionButton.qml:64: TypeError: Cannot read property 'smallSpacing' of null
febr 01 12:28:40 garuda sddm-greeter[5629]: file:///usr/share/sddm/themes/Sweet/components/ActionButton.qml:37: TypeError: Cannot read property 'smallSpacing' of null
febr 01 12:28:40 garuda sddm-greeter[5629]: file:///usr/share/sddm/themes/Sweet/components/ActionButton.qml:36: TypeError: Cannot read property 'largeSpacing' of null
febr 01 12:28:40 garuda sddm-greeter[5629]: file:///usr/share/sddm/themes/Sweet/components/ActionButton.qml:34: TypeError: Cannot read property 'gridUnit' of null
febr 01 12:28:40 garuda sddm-greeter[5629]: file:///usr/share/sddm/themes/Sweet/components/ActionButton.qml:64: TypeError: Cannot read property 'smallSpacing' of null
febr 01 12:28:40 garuda sddm-greeter[5629]: file:///usr/share/sddm/themes/Sweet/Main.qml:415: TypeError: Cannot read property 'smallSpacing' of null
febr 01 12:28:37 garuda sddm-greeter[5629]: file:///usr/share/sddm/themes/Sweet/Login.qml:94:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
febr 01 12:28:37 garuda sddm-greeter[5629]: file:///usr/share/sddm/themes/Sweet/components/VirtualKeyboard.qml:21:1: module "QtQuick.VirtualKeyboard" is not installed
febr 01 12:28:37 garuda sddm-greeter[5629]: file:///usr/share/sddm/themes/Sweet/Main.qml:440:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
febr 01 12:28:36 garuda sddm-greeter[5629]: Loading file:///usr/share/sddm/themes/Sweet/Main.qml...
febr 01 12:28:36 garuda sddm-greeter[5629]: Loading theme configuration from "/usr/share/sddm/themes/Sweet/theme.conf"
febr 01 12:28:36 garuda sddm[500]: Loading theme configuration from "/usr/share/sddm/themes/Sweet/theme.conf"
febr 01 12:26:07 garuda sddm[566]: Loading theme configuration from "/usr/share/sddm/themes/Sweet/theme.conf"

Oh boy, 2 of your machines with same issues (you got 2 issues actually).
I'd love to reproduce this on mine, not sure yet on how to troubleshoot, I have to think. :thinking:

1 Like

Only changes I made to the default desktop was change my background and the window decorations. I didn't like the 3 dot Apple style buttons so I switched to Breeze.

You should be able to reproduce it easy in a VirtualBox session, just do what I did.

Edit to add: The VM version at work is basically a virgin install. Only thing I added
was Yakuake.

Ok so steps to hopefully reproduce would be:

  • Install from ISO 221019
  • garuda-update (done automatically after 1st boot post-install anyway)
  • sudo pacman -Rns latte-dock (this step may be the culprit, I am very curious to test it!!)
  • sudo pacman -Syu garuda-dr460nized-next
  • Reboot

Expected (unwanted) results:

  • Missing Panel/Dock (so boots only to wallpaper?)
  • Default Breeze Window Decos
1 Like

Oh yes it’s easy to reproduce!

The problem is exactly what I suspected: the removal of Latte-Dock in a bad sequence of actions.
Not to make any criticism here, we all learn from mistakes, but actually this issue happened cuz you did not understand the consequences of your actions, or believed something otherwise. And I understand that.

You removed the old garuda-dr460nized package and installed garuda-dr460nized-next, but you never applied the Theme. The package is independent from the action of applying it.
Then you removed Latte-Dock and rebooted.

What do you think will happen? :slight_smile: You will login a Plasma that has no Theme selected, therefore no panel, no dock and Plasma will default to its basic defaults.

All you gotta do is one of the 2 following options:

1- You remove Latte-Dock after you apply Dr460nized Global Theme
2- You still remove it before, but once you log back in the system, alt-space to open up krunner and type systemsettings. Then go here and apply the Global Theme as such:

Either way you MUST apply the theme as in the screenshot above. Why? Cuz with the old garuda-d460nzied package, the Global Theme was non-existent, it was using Sweetified Plasma along with some other tweaks in the Appareance section. Therefore by installing garuda-dr460nzied-next, you just install files and a Global Theme. You were simply missing the step of “applying” it. :slight_smile:

And you’re done. :smiley: No need to waste time manually creating panel, dock, window decos, etc. and miss something that will not give you the complete Dr460nized experience.

5 Likes

This way of working will not work very well. It is display resolution dependent.

This is how Spacer=2 setup with AWC Fill Width=2 notches + Fine Tuning=-10 looks like on 1920x1080 rez:

1920x1080-orisetup

Ok now this is how it looks like on 3840x2160:

3840x2160-orisetup

If I use AWC to tweak this in 3840, I end up with Fill Width=1 notch + Fine Tuning=-40:

3840x2160-newsetup

But then this is how that one looks in 1920x1080:

1920x1080-newsetup

I’ll play more with AWC’s config but it seems that applet needs to be manually configured if you use a display rez that diverges too much from the original one that was used to configure AWC’s default settings.

Now, dr460nf1r3 , what exactly is the requirement here, how much space exactly should there be on either side of the 3-buttons?
You mentioned you want to increase the space between the Launcher and window buttons.
image

That seems pretty much equal on that shot, but not quite!
Maybe a few px more between the Launcher and window buttons?
Should the 2 spaces highlighted be exactly equal to each other? Which means if the RIGHT side is slightly shrunk it would not matter?

4 Likes

Ok Thanks!

It looks like you put the spacer to the right of the buttons. It goes to the left to increase distance between launcher and buttons. For the problem with display resolution, I have only 1920x1080 and lower so I can't test myself, but the initial panel creation is scriptable. I will check if I can change the size depending on screen resolution.

Turns out the solution is simple: Don't use "fill width" and only do fine tuning.

7 Likes

No, it’s the spacer you put to the left only.
AWC’s fill width is not dynamic, that’s the challenge.

Tried that quickly without much success but I will definately put a bit more time tonight and see how it goes! :slight_smile:

Ha you nailed it, man! :slight_smile:
You piqued my curiosity with this yet again so I went off testing it now instead of tonight.

Keeping the left spacer + using only FineTuning works as good as Latte-Dock’s Window Buttons applet!

I do prefer 56 instead of 67, it would reproduce the same as old Window Buttons:

1440
1440_-56

1920
1920_-56

3840
3840_-56

Old Window Buttons in Latte-Dock
Latte-Buttons

I love that, thanks so much! :smiley:

7 Likes

Out of curiosity: If I install kde-git-meta from Chaotic AUR, do I currently get the 5.27 beta or a development branch? The version reported is 5.27.90.

I'll tell you what you get a mess, cause with it a lot of KDE subcomponents that should never be linked together are so there is no removing the individual components if you choose to do so.

I can undo that mess but I want to ensure I am running 5.27 beta, not development branch.

You get the development (git master branch) builds using kde-git-meta.

1 Like

So should I use kde-unstable repo to get 5.27 Beta?

1 Like

Yes.
It will be 5.26.90.

EDIT: kde-git will push you to what’s after 5.27beta, which is pre-6.0, which is (was a few days ago) 5.28.80.

2 Likes

This is a development thread. The purpose of development threads is to help the devs shape future versions of Garuda. This developmental thread is solely for the purpose creating a Latte dock replacement. Please keep all comments on point, and help contribute useful feedback for the devs in their difficult task of replacing our beloved Latte dock.

Development threads are held to a higher standard than regular threads on the forum. Posts that do not contribute positively to the development of Garuda on developmental threads may be purged by moderators without advanced warning.

Any posts on this developmental thread arguing about my above warning will also be purged, and the user may be silenced if they continue to post unhelpful cruft on any developmental thread.

Just FYI, and fair warning given.

5 Likes

Agreed. The 20% is subtle but still makes me think of the Sweetified Garuda theme color palette. I like the 20%!

1 Like

Tnx for the comments guys!

30% will be the start (no typo in the number lol), will be pushed to new package upgrade at some time (don't forget, you need 5.26.90 and up to activate this).

Since we are changing default wallpaper, it also changes the feel of the opacity variable, as well as many other details around. For good for the most, though!

Constant revision of the theming to squeeze the max juice out of it will be done. For now we will give 30% a chance and see. :slight_smile:

3 Likes