rootpages
rootpages copied to clipboard
[graphics][desktop] KDE Plasma how to configure theme globally
There is a huge lack of information about how to configure all of the different aspects of the KDE Plasma themes globally. Some of these settings require having a new user account or at least an empty ~/.config/ configuration.
Using [$i] in the /etc/ configuration files make it immutable so that it cannot be changed in the GUI (all options will be grayed out) or in ~/.config/` options.
Global themes Directory:
- System = /usr/share/plasma/look-and-feel/
- User = ~/.local/share/plasma/look-and-feel/
Configuration:
- System = /etc/xdg/kdeglobals
- User = ~/.config/kdeglobals
[KDE][$i]
LookAndFeelPackage=<GLOBAL_THEME>
Verify it has been loaded:
$ kreadconfig6 --file kdeglobals --group KDE --key LookAndFeelPackage
Plasma styles Directory:
- System = /usr/share/plasma/desktoptheme/
- User = ~/.local/share/plasma/desktoptheme/
Configuration:
- System = /etc/xdg/plasmarc
- User = ~/.config/plasmarc
[Theme][$i]
name=<PLASMA_STYLE>
Verify it has been loaded:
$ kreadconfig6 --file plasmarc --group Theme --key name
Windows decorations Directory:
- System = /usr/share/aurorae/themes/ (needs to be created first)
- User = ~/.local/share/aurorae/themes/
Configuration:
- System = /etc/xdg/kwinrc
- User = ~/.config/kwinrc
[org.kde.kdecoration2][$i]
library=org.kde.kwin.aurorae
theme=__aurorae__svg__<WINDOWS_DECORATION>
Verify it has been loaded:
$ kreadconfig6 --file kwinrc --group org.kde.kdecoration2 --key library
$ kreadconfig6 --file kwinrc --group org.kde.kdecoration2 --key theme
Color schemes Directory:
- System = /usr/share/color-schemes/
- User = ~/.local/share/color-schemes/
Configuration:
- System = /etc/xdg/kdeglobals
- User = ~/.config/kdeglobals
[General][$i]
ColorScheme=<COLOR_SCHEME>
Verify it has been loaded:
$ kreadconfig6 --file kdeglobals --group General --key ColorScheme
Icons Directory:
- System = /usr/share/icons/
- User = ~/.local/share/icons/
Configuration:
- System = /etc/xdg/kdeglobals
- User = ~/.config/kdeglobals
[Icons][$i]
Theme=<ICONS>
Verify it has been loaded:
$ kreadconfig6 --file kdeglobals --group KDE --key LookAndFeelPackage
Wallpaper (NOT WORKING) Directory:
- System = /usr/share/wallpapers/
- User = ~/.local/share/wallpapers/ (needs to be created first, only recommended - not required. User wallpapers can be stored anywhere).
Configuration:
- System
- /etc/xdg/plasmarc
- /etc/xdg/plasma-org.kde.plasma.desktop-appletsrc
- User
- ~/.config/plasmarc
- ~/.config/plasma-org.kde.plasma.desktop-appletsrc
Configuration for official wallpapers:
$ less /etc/xdg/plasma-org.kde.plasma.desktop-appletsrc
[Containments][1][Wallpaper][org.kde.iamge][General][$i]
Image=/usr/share/wallpapers/<OFFICIAL_WALLPAPER>
Configuration for user-provided wallpapers:
$ less /etc/xdg/plasma-org.kde.plasma.desktop-appletsrc
[Containments][1][Wallpaper][org.kde.image][General][$i]
Image=<IMAGE_FILE>
$ less /etc/xdg/plasmarc
[Wallpapers][$i]
usersWallpapers=<IMAGE_FILE>
Verify it has been loaded:
$ kreadconfig6 --file plasma-org.kde.plasma.desktop-appletsrc --group Containments --group 1 --group Wallpaper --group org.kde.image --group General --key Image
$ kreadconfig6 --file plasmarc --group Wallpapers --key usersWallpapers
Start menu button (NOTT WORKING)
~/.config/plasma-org.kde.plasma.desktop-appletsrc
Configuration:
[Containments][2][Applets][3][Configuration][General]
icon=<IMAGE_FILE>