Configuring some Plasma system settings?

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?
17 Replies
Luci :3
Luci :3OP2w ago
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)
No description
MR sticky piston
All this is saved in your ~/.config folder. You can pick the files that change these things and put them in /etc/skel/. config
MR sticky piston
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
GitHub
Sticky-OS/files/system/etc/skel/.config/kdedefaults at main · MrSti...
Contribute to MrStickyPiston/Sticky-OS development by creating an account on GitHub.
MR sticky piston
GitHub
Sticky-OS/files/system/usr/share/plasma/look-and-feel/org.kde.breez...
Contribute to MrStickyPiston/Sticky-OS development by creating an account on GitHub.
xyny
xyny2w ago
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
MR sticky piston
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
xyny
xyny2w ago
yeah...
MR sticky piston
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
Luci :3
Luci :3OP2w ago
Better than my idea (just replace the default wallpaper image) Can I pull these from my current (non-atomic) KDE spin?
MR sticky piston
I think so But you may need to do some filtering
Luci :3
Luci :3OP2w ago
Time to hike through ~/.config then! ~/.config/kdedefaults looks promising.
MR sticky piston
Thats only for defaults and not used settings i think. Most user kde settings are in ~/.config For example ~/.config/plasmarc
Luci :3
Luci :3OP2w ago
It does have Breeze-Dark in it, though, which is confusing. Fedora does their own weird ass look-and-feel setup iirc
[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
[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?
MR sticky piston
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
Luci :3
Luci :3OP2w ago
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.
MR sticky piston
No, but you can try searching in the files for something like "font" or "typography"
Luci :3
Luci :3OP2w ago
I'm finding matches for Plex Sans in "trolltech.conf" and "xsettingsd.conf" Oh!
[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
[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

Did you find this page helpful?