Package: lutris
Version: 0.5.12-1
Severity: normal
X-Debbugs-Cc: deb...@elliot.pro

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

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.0.0-6-amd64 (SMP w/24 CPU threads; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages lutris depends on:
ii  cabextract            1.9-3
ii  curl                  7.87.0-1
ii  fluid-soundfont-gs    3.1-5.3
ii  gir1.2-gtk-3.0        3.24.36-1
ii  gir1.2-webkit2-4.1    2.38.3-1
ii  mesa-utils            8.5.0-1
ii  p7zip                 16.02+dfsg-8
ii  psmisc                23.6-1
ii  python3               3.10.6-3+b1
ii  python3-dbus          1.3.2-3
ii  python3-distro        1.8.0-1
ii  python3-gi            3.42.2-3
ii  python3-lxml          4.9.2-1
ii  python3-magic         2:0.4.26-3
ii  python3-pil           9.4.0-1
ii  python3-requests      2.28.1+dfsg-1
ii  python3-setproctitle  1.3.1-1+b1
ii  python3-yaml          6.0-3+b1
ii  unzip                 6.0-27
ii  x11-xserver-utils     7.7+9+b1

Versions of packages lutris recommends:
ii  gvfs-backends        1.50.2-2
pn  libwine-development  <none>
ii  python3-evdev        1.6.0+dfsg-1+b2
ii  winetricks           20220411-1

Versions of packages lutris suggests:
pn  gamemode   <none>
pn  gamescope  <none>

-- no debconf information

Reply via email to