https://blue-build.org/ logo
Configuring some Plasma system settings?
# questions
l
Is there a way to change some Plasma settings in my image so that I don't have to spend time in systemsettings or Edit Mode with the panels?
a
message has been deleted
l
This is the setup I want to replicate. I want the slimmer non-floating 38px panel with the date disabled on the clock widget, the grey accent color (which is a preset in systemsettings), the font (IBM Plex Sans Light), the wallpaper, the light cursor theme, natural scrolling, single-click to activate (as was the default in Plasma 5), the default Plasma Kickoff icon, and possibly more (but I can't think of anything else) https://cdn.discordapp.com/attachments/1332554345702490245/1332555008063049799/image.png?ex=6795ae0f&is=67945c8f&hm=af1fa8d7b0388d26dc16a5254dba219168d535a2470494eb6aa6d507f2db9740&
m
All this is saved in your ~/.config folder. You can pick the files that change these things and put them in /etc/skel/. config
I dont know your exact settings as config files, but my config could be an example: https://github.com/MrStickyPiston/Sticky-OS/tree/main/files%2Fsystem%2Fetc%2Fskel%2F.config%2Fkdedefaults
x
if you want to have the files in
~/.config
update you can consider using the
chezmoi
module with a separate dotfile repo or just a systemd service to copy the files automatically on boot
/etc/skel/
will only be copied in on new user creation AFAIK
thanks for the link though, previously i had no idea how to customize kde ootb
m
i would not say this is how you should do it as it contains some quirks, but it works
but i could not find any real docs either
x
yeah...
m
for example, the way i set the background is by adding a wallpaper, then refernecing that from the look and feel, then referencing the look and feel in the defaults. that feels really weird to me but i could not find any other way except running a script that does it at runtime
but that script made the desktop flash so im not using that anymore
oh nvm that old method also app;ied a lookandfeeltheme just not as kde default
l
Better than my idea (just replace the default wallpaper image)
Can I pull these from my current (non-atomic) KDE spin?
m
I think so
But you may need to do some filtering
l
Time to hike through ~/.config then!
~/.config/kdedefaults looks promising.
m
Thats only for defaults and not used settings i think. Most user kde settings are in ~/.config
For example ~/.config/plasmarc
l
It does have Breeze-Dark in it, though, which is confusing.
Fedora does their own weird ass look-and-feel setup iirc
Copy code
[PlasmaViews][Panel 2]
floating=0

[PlasmaViews][Panel 2][Defaults]
thickness=38

[Updates]
performed=/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/00-start-here-2.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/containmentactions_middlebutton.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/digitalclock_migrate_font_settings.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/digitalclock_migrate_showseconds_setting.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/digitalclock_rename_timezonedisplay_key.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/folderview_fix_recursive_screenmapping.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/keyboardlayout_migrateiconsetting.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/keyboardlayout_remove_shortcut.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/klipper_clear_config.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/maintain_existing_desktop_icon_sizes.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/mediaframe_migrate_useBackground_setting.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/migrate_font_weights.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/move_desktop_layout_config.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/no_middle_click_paste_on_panels.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/systemloadviewer_systemmonitor.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/unlock_widgets.js
Hooray!
Panel settings!
Do I need the [Updates] section?
m
I think not, i guess its used by plasma to apply updates. I think keeping it will not apply any changes
But i dont know exactly how it works
l
I think I'll just start with fonts. Do you know where that's set?
I'm trying to teach myself not to make gargantuan changes in a single commit because I know I'll muck it up eventually.
m
No, but you can try searching in the files for something like "font" or "typography"
l
I'm finding matches for Plex Sans in "trolltech.conf" and "xsettingsd.conf"
Oh!
Copy code
[General]
AccentColor=104,107,111
ColorSchemeHash=babca25f3a5cf7ece26a85de212ab43d0a141257
LastUsedCustomAccentColor=104,107,111
XftHintStyle=hintslight
XftSubPixel=none
fixed=IBM Plex Mono Light,10,-1,5,300,0,0,0,0,0,0,0,0,0,0,1,Regular
font=IBM Plex Sans Light,10,-1,5,300,0,0,0,0,0,0,0,0,0,0,1,Regular
menuFont=IBM Plex Sans Light,10,-1,5,300,0,0,0,0,0,0,0,0,0,0,1,Regular
smallestReadableFont=IBM Plex Sans Light,8,-1,5,300,0,0,0,0,0,0,0,0,0,0,1,Regular
toolBarFont=IBM Plex Sans Light,9,-1,5,300,0,0,0,0,0,0,0,0,0,0,1,Regular
Hm, the cursor theme isn't in there though. Geez, this is a rabbit hole haha
2 Views