Lutris

Lutris #

Moonlight | Wolf
Lutris screenshot

An open-source gaming platform for Linux that allows you to install and manage games from various sources, including Steam, GOG, and more. It simplifies the process of running games on Linux.

Gamepad-UI #

Moonlight | Wolf
lutris-gamepad-ui

By default Wolf’s Lutris image uses lutris-gamepad-ui, a gamepad-navigable frontend for Lutris library along with many settings.

Typically, you still need Lutris for some operations which are not yet supported by Gamepad UI. Just open Gamepad UI menu and select “Open Lutris” to use the classic Lutris.

If you only want to use the classic UI of Lutris, you can disable Gamepad UI by setting the environment variable WOLF_LUTRIS_GAMEPAD_UI_ENABLE=0 in the config.toml file. Note that by doing so, Gamescope will be disabled and Sway will be enabled by default, which typically means the screen will be split for multiple windows (tiling layout). If you’re not familiar with Sway, you’d better set the environment variable RUN_GAMESCOPE=1 and RUN_SWAY=0.

Default config

This is the default configuration block that will be used in Wolf, you can override it by editing the config.toml.

Click to expand
[[apps]]
title = "Lutris"
icon_png_path = "https://games-on-whales.github.io/wildlife/apps/lutris/assets/icon.png"
start_virtual_compositor = true

[apps.runner]
type = "docker"
name = "WolfLutris"
image = "ghcr.io/games-on-whales/lutris:edge"
mounts = ["lutris:/var/lutris/:rw"]
env = [
    'WOLF_LUTRIS_GAMEPAD_UI_ENABLE=1',
    "GOW_REQUIRED_DEVICES=/dev/input/event* /dev/dri/* /dev/nvidia* /var/lutris/",
]
devices = []
ports = []
base_create_json = """
{
  "HostConfig": {
    "IpcMode": "host",
    "CapAdd": ["SYS_ADMIN", "SYS_NICE", "SYS_PTRACE", "NET_RAW", "MKNOD", "NET_ADMIN"],
    "SecurityOpt": ["seccomp=unconfined", "apparmor=unconfined"],
    "Ulimits": [{"Name":"nofile", "Hard":524288, "Soft":524288}],
    "Privileged": false,
    "DeviceCgroupRules": ["c 13:* rmw", "c 244:* rmw"]
  }
}
\
"""