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:
parent
c6fa3c201c
commit
f7768c939a
@ -427,6 +427,7 @@ in
|
|||||||
TryExec=${script}
|
TryExec=${script}
|
||||||
Exec=${script}
|
Exec=${script}
|
||||||
Name=${sessionName}
|
Name=${sessionName}
|
||||||
|
DesktopNames=${sessionName}
|
||||||
'';
|
'';
|
||||||
} // {
|
} // {
|
||||||
providedSessions = [ sessionName ];
|
providedSessions = [ sessionName ];
|
||||||
|
Loading…
Reference in New Issue
Block a user