[Gambas-user] Desktop.Type crash in WSL2

Benoit Minisini benoit.minisini at gambas-basic.org
Tue Feb 21 12:03:48 CET 2023


Le 21/02/2023 à 11:08, Safiur Rahman a écrit :
> The followings are application environment:
> 
> SHELL : /bin/bash
> WSL2_GUI_APPS_ENABLED : 1
> WSL_DISTRO_NAME : Ubuntu
> NAME : DESKTOP-OLD130M
> PWD : /home/dcode
> LOGNAME : dcode
> HOME : /home/dcode
> LANG : en_US.UTF-8
> WSL_INTEROP : /run/WSL/534_interop
> WAYLAND_DISPLAY : wayland-0
> TERM : xterm-256color
> USER : dcode
> DISPLAY : :0
> SHLVL : 0
> XDG_RUNTIME_DIR : /mnt/wslg/runtime-dir
> WSLENV :
> XDG_DATA_DIRS : /usr/local/share:/usr/share:/var/lib/snapd/desktop
> PATH : /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Program
> Files/WindowsApps/MicrosoftCorporationII.WindowsSubsystemForLinux_1.0.3.0_x64__8wekyb3d8bbwe:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Users/Acer/AppData/Local/Microsoft/WindowsApps:/snap/bin
> HOSTTYPE : x86_64
> PULSE_SERVER : /mnt/wslg/PulseServer
> _ : /usr/bin/healthybit
> LC_ALL : en_US.UTF-8
> TZ : :/etc/localtime
> APPMENU_DISPLAY_BOTH : 1
> 
> 

OK, I see: it's the missing 'XDG_CURRENT_DESKTOP' that triggers the bug.

-- 
Benoît Minisini.



More information about the User mailing list