Lutris sh commands not found

I am trying to run a script to set up automatic login of a game. When running the script however the commands I specify say “command not found” but it works fine in terminal and if I run the script by its self.

Commands working via Konsole & Lutris not liking the bw command

I’ve installed bw on the host operating system but I’m not sure if I need to do something extra so Lutris has access to those commands.

System Information(Steam Deck):

OS:              GNOME 42 Flatpak runtime
Arch:            x86_64
Kernel:          5.13.0-valve21.3-1-neptune
Desktop:         KDE
Display Server:  x11

Vendor:          AuthenticAMD
Model:           AMD Custom APU 0405
Physical cores:  4
Logical cores:   8

RAM:             14.5 GB
Swap:            1.0 GB

Vendor:          AMD
OpenGL Renderer: AMD VANGOGH (DRM 3.45.0, 5.13.0-valve21.3-1-neptune, LLVM 12.0.1)
OpenGL Version:  4.6 (Compatibility Profile) Mesa 21.3.9 (git-78c96ae5b6)
OpenGL Core:     4.6 (Core Profile) Mesa 21.3.9 (git-78c96ae5b6)
OpenGL ES:       OpenGL ES 3.2 Mesa 21.3.9 (git-78c96ae5b6)
Vulkan:          Supported

Log Pastebin: Lutris Log -

1 Like