Plasma/Environment Variables

Available Environment Variables

Plasmashell supports a number of environment variables to overwrite some settings or checks. The following variables are supported:

DEBUGGING

PLASMA_TRACK_STARTUP

Tracks startup time in a log file in /tmp

PLASMA_PRELOAD_POLICY

whether we want to preload the popups of all plasmoids in the session can have 3 values (case insensitive)

  • "none": never preload popups
  • "adaptive": preload popups of most frequently used plasmoids
  • "aggressive" preload popups of every plasmoid

PLASMA_ENABLE_QML_DEBUG

(Since Plasma 5.19' Enables QQmlDebuggingEnabler. See relevant Qt docs for how to connect.

KDE_NO_GLOBAL_MENU

(since Plasma 5.11)

Disable global menu, even if it is enabled in settings. This only affects Qt-based applications using Plasma-Integration.

It can be useful to disable global menu for individual applications that have issues with global menu support (please do file bug reports about this to either the application or global menu in plasmashell!).

KDE_NO_GLOBAL_MENU=1 kwrite

You can disable global menu for all application in System Settings → Application Appearance → Widget Style → "Fine Tuning" tab.


This page was last edited on 22 January 2021, at 21:09. Content is available under Creative Commons License SA 4.0 unless otherwise noted.