3
0
Fork 0
forked from mirrors/nixpkgs

nixos/display-managers: Add DesktopNames parameter to generated desktop session files

Some display managers (e.g. SDDM) set the XDG_CURRENT_DESKTOP variable accroding to this parameter.
If this variable is not defined, there will be some problems (e.g. MATE doesn't have icons on the desktop).

Fixes https://github.com/NixOS/nixpkgs/issues/71427
This commit is contained in:
Ilya Fedin 2020-02-11 18:08:17 +04:00
parent c6fa3c201c
commit f7768c939a

View file

@ -427,6 +427,7 @@ in
TryExec=${script}
Exec=${script}
Name=${sessionName}
DesktopNames=${sessionName}
'';
} // {
providedSessions = [ sessionName ];