LinuxCommandLibrary

plasma-apply-desktoptheme

Apply a Plasma desktop theme

TLDR

List available desktop themes

$ plasma-apply-desktoptheme --list-themes
copy

Apply a desktop theme
$ plasma-apply-desktoptheme [default]
copy

Display help
$ plasma-apply-desktoptheme --help
copy

SYNOPSIS

plasma-apply-desktoptheme [options]

PARAMETERS

--help
    Displays help on commandline options.

--help-all
    Displays help including Qt specific options.

--help-kde
    Displays help including KDE specific options.

--version
    Displays the version.


    The name of the desktop theme to apply.

DESCRIPTION

The `plasma-apply-desktoptheme` command allows users to apply Plasma desktop themes non-interactively from the command line. This is particularly useful for scripting, automated deployments, and remote system configuration. It avoids the need for a graphical interface to change the desktop theme. The command directly interacts with the Plasma configuration system to set the desired theme, affecting aspects such as window decorations, icons, color schemes, and cursors. Using this command, one can ensure consistency across multiple Plasma desktops, deploy customized environments, or switch between themes quickly. It supports applying pre-existing themes or themes available via KDE's online services. The command's changes are typically applied immediately, allowing for a seamless transition to the new desktop theme.

CAVEATS

The specified theme name must exist either locally or be available through KDE's online services. Incorrect theme names will result in an error. The command requires appropriate permissions to modify Plasma configuration files.

EXAMPLES

plasma-apply-desktoptheme Breeze
Applies the 'Breeze' desktop theme.

plasma-apply-desktoptheme MyCustomTheme
Applies the 'MyCustomTheme' desktop theme.

SEE ALSO

kcmshell5(1), kdialog(1), lookandfeeltool(1)

Copied to clipboard