From 7662bbf057de0fb8d8e33f73caeda8e5d2d21f38 Mon Sep 17 00:00:00 2001 From: thelamer Date: Thu, 1 Jan 2026 13:42:17 -0500 Subject: [PATCH] build tweaks in directly as it only has wayland support --- Dockerfile | 1 + Dockerfile.aarch64 | 1 + root/defaults/startwm_wayland.sh | 9 +-------- root/usr/bin/wl-copy | 1 + root/usr/bin/wl-paste | 1 + 5 files changed, 5 insertions(+), 8 deletions(-) create mode 100755 root/usr/bin/wl-copy create mode 100755 root/usr/bin/wl-paste diff --git a/Dockerfile b/Dockerfile index a9d8a2d4..320bab24 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,6 +30,7 @@ RUN \ echo "**** cleanup ****" && \ rm -rf \ /config/.cache \ + /etc/xdg/autostart/* \ /tmp/* # add local files diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 5788965b..2b5d625f 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -30,6 +30,7 @@ RUN \ echo "**** cleanup ****" && \ rm -rf \ /config/.cache \ + /etc/xdg/autostart/* \ /tmp/* # add local files diff --git a/root/defaults/startwm_wayland.sh b/root/defaults/startwm_wayland.sh index 0fad7bc6..3e2853b0 100755 --- a/root/defaults/startwm_wayland.sh +++ b/root/defaults/startwm_wayland.sh @@ -48,15 +48,8 @@ sudo mv \ /etc/xdg/menus/applications.menu kbuildsycoca6 -# Wayland Hacks -unset DISPLAY -sudo rm -Rf /etc/xdg/autostart/* -sudo rm -f /usr/bin/wl-paste /usr/bin/wl-copy -echo "#! /bin/bash" > /tmp/wl-paste && chmod +x /tmp/wl-paste -echo "exit 0" > /tmp/wl-copy && chmod +x /tmp/wl-copy -sudo cp /tmp/wl-* /usr/bin/ - # Start DE +unset DISPLAY export QT_QPA_PLATFORM=wayland WAYLAND_DISPLAY=wayland-1 dbus-run-session kwin_wayland & sleep 2 diff --git a/root/usr/bin/wl-copy b/root/usr/bin/wl-copy new file mode 100755 index 00000000..36ac3689 --- /dev/null +++ b/root/usr/bin/wl-copy @@ -0,0 +1 @@ +#! /bin/bash diff --git a/root/usr/bin/wl-paste b/root/usr/bin/wl-paste new file mode 100755 index 00000000..36ac3689 --- /dev/null +++ b/root/usr/bin/wl-paste @@ -0,0 +1 @@ +#! /bin/bash