Plasmashell supports a number of environment variables to overwrite some settings or checks. The following variables are supported:
Tracks startup time in a log file in /tmp
whether we want to preload the popups of all plasmoids in the session can have 3 values (case insensitive)
(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!).
You can disable global menu for all application in System Settings → Application Appearance → Widget Style → "Fine Tuning" tab.