sync webtop changes

This commit is contained in:
thelamer 2024-01-17 13:38:06 -08:00 committed by Ryan Kuba
parent 4bbc22e727
commit 498695ba99
4 changed files with 16 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1
FROM ghcr.io/linuxserver/baseimage-rdesktop:fedora-38
FROM ghcr.io/linuxserver/baseimage-rdesktop:fedora-39
# set version label
ARG BUILD_DATE

View File

@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1
FROM ghcr.io/linuxserver/baseimage-rdesktop:arm64v8-fedora-38
FROM ghcr.io/linuxserver/baseimage-rdesktop:arm64v8-fedora-39
# set version label
ARG BUILD_DATE

View File

@ -1,3 +1,10 @@
#!/bin/bash
/startpulse.sh &
/usr/bin/startxfce4 > /dev/null 2>&1
setterm blank 0
setterm powerdown 0
if [ -f "${HOME}"/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml ]; then
sed -i \
'/use_compositing/c <property name="use_compositing" type="bool" value="false"/>' \
"${HOME}"/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml
fi
/usr/bin/xfce4-session > /dev/null 2>&1

View File

@ -2,8 +2,13 @@
BIN=/usr/bin/chromium-browser
# Cleanup
if ! pgrep chromium > /dev/null;then
rm -f $HOME/.config/chromium/Singleton*
fi
# Run normally on privved containers or modified un non priv
if grep -q 'Seccomp: 0' /proc/1/status; then
if grep -q 'Seccomp:\t0' /proc/1/status; then
${BIN} --password-store=basic "$@"
else
${BIN} --password-store=basic --no-sandbox --test-type "$@"