XDG_CURRENT_DESKTOP
default variable to get the session name
Gui session editor for lxde
lxsession-edit [name]
lxsession-edit is an application that allows changing the list of applications that will run when a session starts. The session name can be specified or retrieved from environment variables (see below). Otherwise, LXDE is the default.
XDG_CURRENT_DESKTOP
default variable to get the session name
DESKTOP_SESSION
fallback variable to get the session name
It follows the Freedesktop.org Autostart Specification.
6 releases since Debian 9 (Stretch); the text changed 1 time.