Ok I got it. Don’t mind the DEFAULTS, but you can create various sections with different Horizontal numbers. Say one section for the most used 5 monitor rez or whatever. And then when the user changes rez, if that rez is listed in plasmashellrc it will use the values to set the panel. See for yourself:
So I have found out about some very important things. Plasma scripting is definitely the way to go if every desktop resolution should be supported it seems
So far, I was able to create the top bar & its settings using the layout.js file:
This is actually a pretty neat way to provide presets without using .config files.
One thing I have not found about yet is how to get the geometry of the dock in place
This creates the dock but spans it to both sides of the screen. The length seems to be saved in plasmashellrc rather than the applets config file so I'm unsure how to configure this.
You can play around with this using the plasma-interactiveconsole command, which will open a window in which the scripts can be run.
Well I edited my above post, you can try my personal GDrive.
Although I believe a color on the panel may not be the way to go. It depends what you want to provide, what your vision is about the ISO:
1- You want to release an ISO that has a consistent Theme with its default wallpaper (Ghost in your case);
2- You want to release an ISO that has a variable Theme and would look good no matter the wallpaper the user chooses.
In the 1st option, I think my 1st attempt in the above GDrive link would suit better.
In the 2nd option, I see 2 options:
A neutral color (which is what you did in your ISO) that would look sometimes great, sometimes good, sometimes just ok, depending on the wallpaper;
True transparency is perfect here, like Latte, but for the reasons we know we have to let aside for now. I think I have an idea to somewhat work around this. I will play with that this week and provide you with more Theme files.
Yes, it’s stored in plasmashellrc.
I have 0 expertise on JS stuff but I am all ready to test once you find out and I have LOTS of screen rez I can test from, so it will be a good test I believe.
I’ll whoogle that as well as layout.js to see what else I can learn on where to put the file and how to get it launched, etc.
Then I guess either color option (darker like Sweet vs blended within the Ghost paper my 1st test above) are equally valuable. Personally I would opt with blended with Ghost as it is straight ootb blended, but probably less compatible with a greater nb of papers than Sweet’s darker color. Darn true transparency that is unavailable.
I can spend a bit of time perfecting my 1st try and see if I come up with something better.
EDIT: Anyway everyone will have the same challenge (colors) with Plasma Panel, which is why I asked about what your focus is. Tnx for clarifying.
LOLLL!! Ok so then I understand with the java scripting there is something nice you can do. I will opt out of manually setting rez values in plasmashellrc.
Here we have a global look-and-feel folder for the Dr460nized theme that can be put into ~/.local/share/plasma/look-and-feel/. It created the Panel layout very consistently for 1 screen full HD. Now it can be tested on another resolution Now the question is how to do this for every screen there is
It needs to be applied via global settings.
I would love it if those colors could be the same (top bar / titlebar), since it would blend in better when using fullscreen just like before, something that would be possible?
The file which does the setup is located in the layouts folder of the global theme shared above (org.kde.plasma.desktop-layout.js). Its actually refreshing how little code it needs to completely set up the layout
You mean the color of the top bar vs the color of a full screen window?
Fullscreen = maximized window?
I didn’t test that yet, good point. It’s something rather important in Garuda as far as I have read threads on the forum.
Couldn’t wait and tested it on my father’s machine, where I am for the day. Thanks to my @ and @home linked snapshots, perfect for testing.
The portability is now a LOT better. In fact, my father’s machine uses 4K rez but downsized to 85% (his eyes are getting older, he’s a great candidate to test your JS loll), an odd final rez (3264x1836).
And the result was quite good for me. I prefer the top bar a little thicker but I’m sure it is the thickness you want it to me. The bottom dock has ported properly too, nice size for the eye.
Good job!
But there’s still something wrong with the paper yet again, man. loll It just doesn’t pick-up Ghost, Plasma is stubborn.
Yes, the file does exist in that exact location on the machine and is named as in your code.
Also your logout screen/buttons is awesome. That’s new stuff right?
About the Sweet color of the topbar/dock backgrounds… meh… I don’t like it with Ghost, that’s for sure. I tried about 10 papers and it’s ok on some, meh on others… But that’s my taste, although I am trying to keep colors consistent/blended. I will play with something different while I try to get the topbar and maximized window titlebar the same.
Perhaps an announcement on the forum might be a good way to get extra help with this. The announcement could explain that Latte is EOL and it’s future use is likely doubtful for Garuda. Therefore, we are experimenting with replacing Latte with standard KDE dock/panels. We could sollict for help from coders with js experience for this project. I would think being a forum member for at least 3 months would need to be a prerequisite to prevent fly by night users that tend to flake out after volunteering.
Long time experience with Linux and multiple programming languages would also be a good asset. This way perhaps we could kill 2 birds with one stone. Hopefully we could find someone capable of helping with the Latte dock replacement, and maybe also find a good candidate to join the project as a long term dev/maintainer. I assume they would need to be promoted to TL4 to carry out work collectively on the forum, so they would need to be trustworthy. Otherwise, all development on this would need to be carried out by PM’s with the prospective candidates.
I haven’t read all posts, so forgive me if you have checked this option:
Use the default layouts folder at plasma /usr/, and create a package that will provide a default panel, just like Latte was doing.
$ ls -1 /usr/share/plasma/layout-templates
org.kde.plasma.desktop.appmenubar
org.kde.plasma.desktop.defaultPanel
org.kde.plasma.desktop.emptyPanel
I suppose you can use a custom name, like “Garuda default top panel”, “Garuda bottom dock panel”, etc.
Using skel, or HOME/.config is restricting IMHO, and ugly (to me)
To follow on Petsam’s response, maybe it is fixed now.
I now tested from a 1024x768 rez (yes, good ol’ 90s 14" monitor) up to 3840x2160 and the bar and dock sizes remain constant.
Location, geometry, position, also remain constant. I think you nailed it.
Default size of bar and dock is too small for me but other people’s comments will help on determining the “right size fits all” kind of thing.
Update: the garuda-dr460nized-next package contains the new layout presets. Those can be added to the desktop by right-clicking and selecting "Add new panel" -> "Garuda default dock/panel".
Edit: aaaaand here we go, an iso ready for testing Glad it finally worked. Lemme know what needs tweaking!