Plasma/Environment Variables: Difference between revisions
(Document KDE_NO_GLOBAL_MENU introduced in https://phabricator.kde.org/D6310) |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
= Available Environment Variables = | = Available Environment Variables = | ||
Plasmashell supports a number of environment variables to overwrite some settings or checks. The following variables are supported: | Plasmashell supports a number of environment variables to overwrite some settings or checks. To set these variables on startup, see [[userbase:Session Environment Variables]]. The following variables are supported: | ||
=DEBUGGING= | =DEBUGGING= | ||
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 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== | ==KDE_NO_GLOBAL_MENU== |
Latest revision as of 01:43, 4 June 2022
Available Environment Variables
Plasmashell supports a number of environment variables to overwrite some settings or checks. To set these variables on startup, see userbase:Session Environment Variables. 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.