From: Pierre Ossman Date: Mon, 10 Jan 2022 08:34:19 +0000 (+0100) Subject: Properly set XDG_CURRENT_DESKTOP X-Git-Tag: v1.12.90~65 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6c9a9cba2ed6f97c96856620aa59f3708bba3037;p=tigervnc.git Properly set XDG_CURRENT_DESKTOP There is no such thing as XDG_DESKTOP_NAMES. --- 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