Skip to content

Commit 6d9baec

Browse files
authored
Merge pull request #14 from linuxserver/wayland-default
make wayland default
2 parents c6535a9 + d3239f9 commit 6d9baec

5 files changed

Lines changed: 64 additions & 7 deletions

File tree

‎Dockerfile‎

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
1010
LABEL maintainer="thelamer"
1111

1212
# title
13-
ENV TITLE=Github-Desktop
13+
ENV TITLE=Github-Desktop \
14+
NO_GAMEPAD=true \
15+
NO_FULL=true \
16+
SELKIES_DESKTOP=true \
17+
PIXELFLUX_WAYLAND=true
1418

1519
RUN \
1620
echo "**** add icon ****" && \
@@ -42,6 +46,9 @@ RUN \
4246
/tmp/codium.deb -L \
4347
"https://github.com/VSCodium/vscodium/releases/download/${CODIUM_VERSION}/codium_${CODIUM_VERSION}_amd64.deb" && \
4448
apt install --no-install-recommends -y /tmp/codium.deb && \
49+
sed -i \
50+
's:/usr/share/codium/codium:/usr/bin/codium:g' \
51+
/usr/share/applications/codium.desktop && \
4552
echo "**** container tweaks ****" && \
4653
ln -s \
4754
/usr/bin/xfce4-terminal \
@@ -52,9 +59,24 @@ RUN \
5259
echo "**** cleanup ****" && \
5360
apt-get autoclean && \
5461
rm -rf \
62+
/tmp/* \
63+
/usr/share/applications/caja-autorun-software.desktop \
64+
/usr/share/applications/caja-computer.desktop \
65+
/usr/share/applications/caja.desktop \
66+
/usr/share/applications/caja-file-management-properties.desktop \
67+
/usr/share/applications/caja-folder-handler.desktop \
68+
/usr/share/applications/caja-home.desktop \
69+
/usr/share/applications/codium-url-handler.desktop \
70+
/usr/share/applications/debian-uxterm.desktop \
71+
/usr/share/applications/debian-xterm.desktop \
72+
/usr/share/applications/footclient.desktop \
73+
/usr/share/applications/foot-server.desktop \
74+
/usr/share/applications/mate-about.desktop \
75+
/usr/share/applications/mate-color-select.desktop \
76+
/usr/share/applications/st.desktop \
77+
/usr/share/applications/xfce4-terminal-settings.desktop \
5578
/var/lib/apt/lists/* \
56-
/var/tmp/* \
57-
/tmp/*
79+
/var/tmp/*
5880

5981
# add local files
6082
COPY /root /

‎Dockerfile.aarch64‎

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
1010
LABEL maintainer="thelamer"
1111

1212
# title
13-
ENV TITLE=Github-Desktop
13+
ENV TITLE=Github-Desktop \
14+
NO_GAMEPAD=true \
15+
NO_FULL=true \
16+
SELKIES_DESKTOP=true \
17+
PIXELFLUX_WAYLAND=true
1418

1519
RUN \
1620
echo "**** add icon ****" && \
@@ -42,6 +46,9 @@ RUN \
4246
/tmp/codium.deb -L \
4347
"https://github.com/VSCodium/vscodium/releases/download/${CODIUM_VERSION}/codium_${CODIUM_VERSION}_arm64.deb" && \
4448
apt install --no-install-recommends -y /tmp/codium.deb && \
49+
sed -i \
50+
's:/usr/share/codium/codium:/usr/bin/codium:g' \
51+
/usr/share/applications/codium.desktop && \
4552
echo "**** container tweaks ****" && \
4653
ln -s \
4754
/usr/bin/xfce4-terminal \
@@ -52,9 +59,24 @@ RUN \
5259
echo "**** cleanup ****" && \
5360
apt-get autoclean && \
5461
rm -rf \
62+
/tmp/* \
63+
/usr/share/applications/caja-autorun-software.desktop \
64+
/usr/share/applications/caja-computer.desktop \
65+
/usr/share/applications/caja.desktop \
66+
/usr/share/applications/caja-file-management-properties.desktop \
67+
/usr/share/applications/caja-folder-handler.desktop \
68+
/usr/share/applications/caja-home.desktop \
69+
/usr/share/applications/codium-url-handler.desktop \
70+
/usr/share/applications/debian-uxterm.desktop \
71+
/usr/share/applications/debian-xterm.desktop \
72+
/usr/share/applications/footclient.desktop \
73+
/usr/share/applications/foot-server.desktop \
74+
/usr/share/applications/mate-about.desktop \
75+
/usr/share/applications/mate-color-select.desktop \
76+
/usr/share/applications/st.desktop \
77+
/usr/share/applications/xfce4-terminal-settings.desktop \
5578
/var/lib/apt/lists/* \
56-
/var/tmp/* \
57-
/tmp/*
79+
/var/tmp/*
5880

5981
# add local files
6082
COPY /root /

‎README.md‎

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

648648
## Versions
649649

650+
* **03.04.26:** - Make Wayland default disable with PIXELFLUX_WAYLAND=false.
650651
* **21.03.26:** - Use Wayland ozone platform flag for apps fixes scaling and acceleration.
651652
* **28.12.25:** - Add Wayland init logic.
652653
* **22.09.25:** - Rebase to Debian Trixie.

‎readme-vars.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ init_diagram: |
107107
"github-desktop:latest" <- Base Images
108108
# changelog
109109
changelogs:
110+
- {date: "03.04.26:", desc: "Make Wayland default disable with PIXELFLUX_WAYLAND=false."}
110111
- {date: "21.03.26:", desc: "Use Wayland ozone platform flag for apps fixes scaling and acceleration."}
111112
- {date: "28.12.25:", desc: "Add Wayland init logic."}
112113
- {date: "22.09.25:", desc: "Rebase to Debian Trixie."}

‎root/defaults/autostart_wayland‎

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
11
#! /bin/bash
2-
xdg-mime default caja.desktop inode/directory
2+
3+
if [ ! -f "${HOME}/Desktop/github-desktop.desktop" ]; then
4+
cp /usr/share/applications/github-desktop.desktop "${HOME}/Desktop/"
5+
cp /usr/share/applications/chromium.desktop "${HOME}/Desktop/"
6+
cp /usr/share/applications/codium.desktop "${HOME}/Desktop/"
7+
fi
8+
9+
touch "${HOME}/.config/panel-reload"
10+
gio mime x-scheme-handler/http chromium.desktop
11+
gio mime x-scheme-handler/https chromium.desktop
12+
gio mime application/x-terminal-emulator foot.desktop
13+
314
dbus-launch github-desktop

0 commit comments

Comments
 (0)