diff --git a/Dockerfile b/Dockerfile index 76bfc9f..8c547ff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,9 @@ LABEL maintainer="thelamer" # title ENV TITLE=Weixin \ - NO_FULL=true + NO_FULL=true \ + SELKIES_DESKTOP=true \ + PIXELFLUX_WAYLAND=true RUN \ echo "**** add icon ****" && \ @@ -52,6 +54,20 @@ RUN \ apt-get clean && \ rm -rf \ /tmp/* \ + /usr/share/applications/caja-computer.desktop \ + /usr/share/applications/caja.desktop \ + /usr/share/applications/caja-file-management-properties.desktop \ + /usr/share/applications/caja-folder-handler.desktop \ + /usr/share/applications/debian-uxterm.desktop \ + /usr/share/applications/debian-xterm.desktop \ + /usr/share/applications/footclient.desktop \ + /usr/share/applications/foot-server.desktop \ + /usr/share/applications/mate-about.desktop \ + /usr/share/applications/mate-color-select.desktop \ + /usr/share/applications/mate-network-scheme.desktop \ + /usr/share/applications/st.desktop \ + /usr/share/applications/tint2conf.desktop \ + /usr/share/applications/tint2.desktop \ /var/lib/apt/lists/* \ /var/tmp/* diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index e4078cf..a132930 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -8,7 +8,9 @@ LABEL maintainer="thelamer" # title ENV TITLE=Weixin \ - NO_FULL=true + NO_FULL=true \ + SELKIES_DESKTOP=true \ + PIXELFLUX_WAYLAND=true RUN \ echo "**** add icon ****" && \ @@ -52,6 +54,20 @@ RUN \ apt-get clean && \ rm -rf \ /tmp/* \ + /usr/share/applications/caja-computer.desktop \ + /usr/share/applications/caja.desktop \ + /usr/share/applications/caja-file-management-properties.desktop \ + /usr/share/applications/caja-folder-handler.desktop \ + /usr/share/applications/debian-uxterm.desktop \ + /usr/share/applications/debian-xterm.desktop \ + /usr/share/applications/footclient.desktop \ + /usr/share/applications/foot-server.desktop \ + /usr/share/applications/mate-about.desktop \ + /usr/share/applications/mate-color-select.desktop \ + /usr/share/applications/mate-network-scheme.desktop \ + /usr/share/applications/st.desktop \ + /usr/share/applications/tint2conf.desktop \ + /usr/share/applications/tint2.desktop \ /var/lib/apt/lists/* \ /var/tmp/* diff --git a/README.md b/README.md index e4c29c2..f57b369 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 +* **29.03.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. * **08.08.25:** - Initial release. diff --git a/readme-vars.yml b/readme-vars.yml index a79b161..b8319f6 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -105,6 +105,7 @@ init_diagram: | "weixin:latest" <- Base Images # changelog changelogs: + - {date: "29.03.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: "08.08.25:", desc: "Initial release."} diff --git a/root/defaults/autostart_wayland b/root/defaults/autostart_wayland index 7714096..6606afb 100644 --- a/root/defaults/autostart_wayland +++ b/root/defaults/autostart_wayland @@ -1,3 +1,14 @@ #!/bin/bash +if [ ! -f "${HOME}/Desktop/wechat.desktop" ]; then + cp /usr/share/applications/wechat.desktop "${HOME}/Desktop/" + cp /usr/share/applications/chromium.desktop "${HOME}/Desktop/" +fi + +touch "${HOME}/.config/panel-reload" + +gio mime x-scheme-handler/http chromium.desktop +gio mime x-scheme-handler/https chromium.desktop +gio mime application/x-terminal-emulator foot.desktop + wechat --ozone-platform=wayland