Difference between revisions of "Plasma/Environment Variables"

 
(2 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
==PLASMA_TRACK_STARTUP==
 
==PLASMA_TRACK_STARTUP==
 
Tracks startup time in a log file in /tmp
 
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!).
 +
 +
<code>KDE_NO_GLOBAL_MENU=1 kwrite</code>
 +
 +
You can disable global menu for all application in System Settings → Application Appearance → Widget Style → "Fine Tuning" tab.

Latest revision as of 20:22, 9 June 2020

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 9 June 2020, at 20:22. Content is available under Creative Commons License SA 4.0 unless otherwise noted.