Setting theme KDE

good morning, i have a question: how can save a theme set in KDE?

Hi and welcome,

What do you mean exactly?
If the theme is set surely you already have it saved on disk somewhere.

There’s no built-in way to save a full KDE theme so that you can restore it later (which is what I think you’re asking for?)

Someone did post a bash script to copy everything (don’t have the link sorry, but it was a LOT of files that needed to be copied), but again that’s not build into KDE, it’s a manual process.

ok, thanks, that’s what I meant.

This one? :innocent:

The problem is that if I want to create a light and dark personalized theme and move from one to the other without having to reset color pointers icons etc.

Oooooh.

Well then I would set everything the way I like and then export that as a ‘Global’ (previous ‘Look-and-feel’) theme. Which I remembered being easier. The tools are provided by plasma-sdk package.

Thanks, what do you mean by exporting? I installed the plasma sdk package, but I don’t understand how to export the theme settings.

lookandfeelexplorer started from the terminal.
(There is no .desktop file for launcher)
Its a bit unwieldy .. but make sure to click almost all the buttons, start a new ‘plugin’, fill out the sections, select ‘layout from current plasma setup’ and then save.
You should then have your new global theme available (and located at ~/.local/share/plasma/look-and-feel).

Also here is a link that may provide some extra explanation..
https://userbase.kde.org/Plasma/Create_a_Global_Theme_Package

Super !!! thanks thanks thanks…

Oh, by the way, I forgot to mention ..

You can use lookandfeeltool to apply different ‘Global’ (/lookandfeel) themes.

lookandfeeltool --list
lookandfeeltool -a org.kde.breeze.desktop
lookandfeeltool -a org.kde.breezedark.desktop

(of course using your own themes)
This can also be aliased;

alias daytheme="lookandfeeltool -a org.kde.breeze.desktop"
alias nighttheme="lookandfeeltool -a org.kde.breezedark.desktop"

Or put in a script or similar.
That can then be put in a widget or keyboard combination or something else to easily ‘switch’.

thanks for your support.