Skip to content

Commit 8ddd966

Browse files
authored
Merge pull request #20 from linuxserver/wayland-default
Wayland default
2 parents 7a09ddb + 186b095 commit 8ddd966

File tree

4 files changed

+29
-10
lines changed

4 files changed

+29
-10
lines changed

Dockerfile

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ LABEL maintainer="thelamer"
1212
# title
1313
ENV TITLE=WPS-Office \
1414
NO_FULL=true \
15-
NO_GAMEPAD=true
15+
NO_GAMEPAD=true \
16+
PIXELFLUX_WAYLAND=true \
17+
SELKIES_DESKTOP=true
1618

1719
RUN \
1820
echo "**** add icon ****" && \
@@ -26,12 +28,6 @@ RUN \
2628
qt6-base \
2729
tint2 \
2830
thunar && \
29-
echo "**** install sfwbar ****" && \
30-
cd /tmp && \
31-
git clone https://aur.archlinux.org/sfwbar.git && \
32-
chown -R abc:abc sfwbar && \
33-
cd sfwbar && \
34-
sudo -u abc makepkg -sAci --skipinteg --noconfirm --needed && \
3531
echo "**** install wps-office ****" && \
3632
cd /tmp && \
3733
git clone https://aur.archlinux.org/wps-office-cn.git && \
@@ -63,6 +59,19 @@ RUN \
6359
$(pacman -Qdtq) && \
6460
rm -rf \
6561
/tmp/* \
62+
/usr/share/applications/avahi-discover.desktop \
63+
/usr/share/applications/bssh.desktop \
64+
/usr/share/applications/bvnc.desktop \
65+
/usr/share/applications/cmake-gui.desktop \
66+
/usr/share/applications/footclient.desktop \
67+
/usr/share/applications/foot-server.desktop \
68+
/usr/share/applications/thunar-bulk-rename.desktop \
69+
/usr/share/applications/thunar-settings.desktop \
70+
/usr/share/applications/tint2conf.desktop \
71+
/usr/share/applications/tint2.desktop \
72+
/usr/share/applications/uxterm.desktop \
73+
/usr/share/applications/xfce4-about.desktop \
74+
/usr/share/applications/xterm.desktop \
6675
/var/cache/pacman/pkg/* \
6776
/var/lib/pacman/sync/*
6877

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -639,6 +639,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
639639

640640
## Versions
641641

642+
* **11.04.26:** - Make Wayland default disable with PIXELFLUX_WAYLAND=false.
642643
* **21.03.26:** - Use Wayland ozone platform for chromium fixes scaling and acceleration.
643644
* **28.12.25:** - Add Wayland init logic.
644645
* **10.07.25:** - Rebase to Selkies HTTPS IS NOW REQUIRED, merge chinese and english image.

readme-vars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ init_diagram: |
100100
"wps-office:latest" <- Base Images
101101
# changelog
102102
changelogs:
103+
- {date: "11.04.26:", desc: "Make Wayland default disable with PIXELFLUX_WAYLAND=false."}
103104
- {date: "21.03.26:", desc: "Use Wayland ozone platform for chromium fixes scaling and acceleration."}
104105
- {date: "28.12.25:", desc: "Add Wayland init logic."}
105106
- {date: "10.07.25:", desc: "Rebase to Selkies HTTPS IS NOW REQUIRED, merge chinese and english image."}

root/defaults/autostart_wayland

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1+
#!/bin/bash
2+
13
# default file copies first run
4+
if [ ! -f "${HOME}/Desktop/wps-office-prometheus.desktop" ]; then
5+
cp /usr/share/applications/wps-office-prometheus.desktop "${HOME}/Desktop/"
6+
cp /usr/share/applications/chromium.desktop "${HOME}/Desktop/"
7+
fi
8+
29
if [ ! -f $HOME/.config/Kingsoft/Office.conf ]; then
310
mkdir -p $HOME/.config/Kingsoft
411
echo "[kdcsdk]
@@ -7,7 +14,8 @@ NotFirstOpen=true
714
common\\AcceptedEULA=true" > $HOME/.config/Kingsoft/Office.conf
815
fi
916

17+
gio mime x-scheme-handler/http chromium.desktop
18+
gio mime x-scheme-handler/https chromium.desktop
19+
gio mime application/x-terminal-emulator foot.desktop
1020

11-
# Start UI
12-
sfwbar &
13-
wps
21+
touch "${HOME}/.config/panel-reload"

0 commit comments

Comments
 (0)