diff --git a/Dockerfile b/Dockerfile index 84cdc68..ddfb7d3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,9 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA LABEL maintainer="thelamer" # title -ENV TITLE=Altus +ENV TITLE=Altus \ + NO_GAMEPAD=true \ + PIXELFLUX_WAYLAND=true RUN \ echo "**** add icon ****" && \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 649f54b..6f4eebb 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -43,7 +43,9 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA LABEL maintainer="thelamer" # title -ENV TITLE=Altus +ENV TITLE=Altus \ + NO_GAMEPAD=true \ + PIXELFLUX_WAYLAND=true COPY --from=build-stage /opt/altus /opt/altus diff --git a/README.md b/README.md index d0072b2..7192b3d 100644 --- a/README.md +++ b/README.md @@ -612,6 +612,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64 ## Versions +* **03.04.26:** - Make Wayland default disable with PIXELFLUX_WAYLAND=false. * **21.03.26:** - Use Wayland ozone platform fixes scaling and acceleration. * **28.12.25:** - Add Wayland init logic. * **22.09.25:** - Rebase to Debian Trixie. diff --git a/readme-vars.yml b/readme-vars.yml index c5f5cd8..424da15 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -107,6 +107,7 @@ init_diagram: | "altus:latest" <- Base Images # changelog changelogs: + - {date: "03.04.26:", desc: "Make Wayland default disable with PIXELFLUX_WAYLAND=false."} - {date: "21.03.26:", desc: "Use Wayland ozone platform fixes scaling and acceleration."} - {date: "28.12.25:", desc: "Add Wayland init logic."} - {date: "22.09.25:", desc: "Rebase to Debian Trixie."} diff --git a/root/defaults/autostart_wayland b/root/defaults/autostart_wayland index 008016b..7bb2e98 100644 --- a/root/defaults/autostart_wayland +++ b/root/defaults/autostart_wayland @@ -1 +1 @@ -/opt/altus/Altus --ozone-platform=wayland --no-sandbox +altus diff --git a/root/defaults/menu_wayland.xml b/root/defaults/menu_wayland.xml index 8a72035..5f40c7a 100644 --- a/root/defaults/menu_wayland.xml +++ b/root/defaults/menu_wayland.xml @@ -2,6 +2,6 @@ /usr/bin/foot -/opt/altus/Altus --ozone-platform=wayland --no-sandbox +altus diff --git a/root/usr/bin/altus b/root/usr/bin/altus new file mode 100755 index 0000000..ea53fb0 --- /dev/null +++ b/root/usr/bin/altus @@ -0,0 +1,12 @@ +#! /bin/bash + +BIN=/opt/altus/Altus + +# Wayland check +if ls -l /dev/dri/* > /dev/null 2>&1; then + if pgrep labwc > /dev/null 2>&1; then + WAYLAND="--ozone-platform=wayland" + fi +fi + +${BIN} --password-store=basic ${WAYLAND} --no-sandbox "$@"