Plasma/Environment Variables: Difference between revisions

From KDE Community Wiki
Line 19: Line 19:
Enables various debugging features:
Enables various debugging features:


- QQmlDebuggingEnabler (see Qt docs for how to connect to Plasma)
* QQmlDebuggingEnabler (see Qt docs for how to connect to Plasma)
- Expanded error information when an applet fails to load
* Expanded error information when an applet fails to load


==KDE_NO_GLOBAL_MENU==
==KDE_NO_GLOBAL_MENU==

Revision as of 21:09, 22 January 2021

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 various debugging features:

  • QQmlDebuggingEnabler (see Qt docs for how to connect to Plasma)
  • Expanded error information when an applet fails to load

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.