Noble xfce (#237)

* rebase xfce to noble

* xfce tweaks
This commit is contained in:
Ryan Kuba 2024-04-22 12:11:58 -07:00 committed by GitHub
parent 66dcd77e6a
commit 13428ca13e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 17 additions and 6 deletions

View File

@ -1,4 +1,4 @@
FROM ghcr.io/linuxserver/baseimage-kasmvnc:ubuntujammy FROM ghcr.io/linuxserver/baseimage-kasmvnc:ubuntunoble
# set version label # set version label
ARG BUILD_DATE ARG BUILD_DATE
@ -34,6 +34,8 @@ RUN \
echo "**** cleanup ****" && \ echo "**** cleanup ****" && \
apt-get autoclean && \ apt-get autoclean && \
rm -rf \ rm -rf \
/config/.cache \
/config/.launchpadlib \
/var/lib/apt/lists/* \ /var/lib/apt/lists/* \
/var/tmp/* \ /var/tmp/* \
/tmp/* /tmp/*

View File

@ -1,4 +1,4 @@
FROM ghcr.io/linuxserver/baseimage-kasmvnc:arm64v8-ubuntujammy FROM ghcr.io/linuxserver/baseimage-kasmvnc:arm64v8-ubuntunoble
# set version label # set version label
ARG BUILD_DATE ARG BUILD_DATE
@ -34,6 +34,8 @@ RUN \
echo "**** cleanup ****" && \ echo "**** cleanup ****" && \
apt-get autoclean && \ apt-get autoclean && \
rm -rf \ rm -rf \
/config/.cache \
/config/.launchpadlib \
/var/lib/apt/lists/* \ /var/lib/apt/lists/* \
/var/tmp/* \ /var/tmp/* \
/tmp/* /tmp/*

View File

@ -2,9 +2,16 @@
setterm blank 0 setterm blank 0
setterm powerdown 0 setterm powerdown 0
if [ -f "${HOME}"/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml ]; then if [ ! -f "${HOME}"/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml ]; then
sed -i \ mkdir -p "${HOME}"/.config/xfce4/xfconf/xfce-perchannel-xml/
'/use_compositing/c <property name="use_compositing" type="bool" value="false"/>' \ cat <<EOT >> "${HOME}"/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml
"${HOME}"/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml <?xml version="1.0" encoding="UTF-8"?>
<channel name="xfwm4" version="1.0">
<property name="general" type="empty">
<property name="use_compositing" type="bool" value="false"/>
</property>
</channel>
EOT
fi fi
/usr/bin/xfce4-session > /dev/null 2>&1 /usr/bin/xfce4-session > /dev/null 2>&1