Skip to content

Commit a8f8d7d

Browse files
committed
not ready, wps office seems to not function properly with wtype to input non english characters this works fine in X11 mode, has multiple rendering issues
1 parent 54f6f3e commit a8f8d7d

File tree

2 files changed

+27
-10
lines changed

2 files changed

+27
-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

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)