Hello, It appears that the Lutris package (as of 0.5.12-1) makes assumptions about the `PATH` variable for the user shell. If `$PATH` does not include `/usr/games` by default (which zsh seems not to), the icon is simply not displayed[1]. I fixed this in my local install by altering the Exec= line of the .desktop file to `/usr/games/lutris` instead of `lutris`. This is how the `steam` package is configured. Looking at the source file[2], it seems that this is default upstream behaviour which would need to be patched in Debian due to the usage of /usr/games. Warm regards, Arcayr 1: https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#exec-variables 2: https://github.com/lutris/lutris/blob/3f54c9f8bb207b747681f4f6e521860a25cc1980/share/applications/net.lutris.Lutris.desktop
I also ran into this problem recently (being unable to start lutris). This gitlab issue seems somewhat relevant[1]. I think the actual bug is caused by gdm3. After finding your bug report, I was able to find out that /usr/games was also missing from my $PATH under certain circumstances. The circumstances were running a wayland kde plasma session that was launched through GDM on a Debian system where games are in /usr/games. I was also unable to start five-or-more or gnome-chess, as those are also located in /usr/games. However, I am able to start lutris under GNOME through GDM; my PATH appears to be set properly: `/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games`. Whereas SDDM handles the PATH environment variable properly, something about specifically launching the plasma wayland session (or sway) through GDM leads to PATH being set to: `/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin`. The issue persists on a fresh install of Debian 12 bookworm. I still do not know why this happens, but I assume it is related to GDM's handling of wayland sessions. Jaycee 1: https://gitlab.gnome.org/GNOME/gdm/-/issues/692
On Wed, 22 Feb 2023 16:10:03 -0800 Jaycee Santos <jlsantos@protonmail.com> wrote: > I still do not know why this happens, but I assume it is related to GDM's handling > of wayland sessions. I'm unsure we should even be using /usr/games. As far back as 2010 there was movement to deprecate its use. As far as I'm aware Debian is the only mainstream distribution that uses /usr/games for anything anymore and - given the current state of the gaming world with its deluge of always-online DRM - I can't imagine something like it will be useful again. Warm regards, Arcayr