From 6c9a9cba2ed6f97c96856620aa59f3708bba3037 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 10 Jan 2022 09:34:19 +0100 Subject: [PATCH] Properly set XDG_CURRENT_DESKTOP There is no such thing as XDG_DESKTOP_NAMES. --- unix/vncserver/vncserver.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unix/vncserver/vncserver.in b/unix/vncserver/vncserver.in index 4f87db7f..91b0f162 100755 --- a/unix/vncserver/vncserver.in +++ b/unix/vncserver/vncserver.in @@ -198,7 +198,7 @@ $ENV{DESKTOP_SESSION} = $sessionname; $ENV{XDG_SESSION_DESKTOP} = $sessionname; if ($session{'DesktopNames'}) { - $ENV{XDG_DESKTOP_NAMES} = $session{'DesktopNames'} =~ s/;/:/gr; + $ENV{XDG_CURRENT_DESKTOP} = $session{'DesktopNames'} =~ s/;/:/gr; } # Make an X server cookie and set up the Xauthority file -- 2.39.5