mirror of
https://github.com/linuxserver/docker-webtop.git
synced 2025-07-27 07:34:45 +02:00
wrap dbus
This commit is contained in:
parent
d4a0b2eefe
commit
904938c72d
@ -8,7 +8,8 @@ LABEL maintainer="thelamer"
|
||||
ARG DEBIAN_FRONTEND="noninteractive"
|
||||
|
||||
# title
|
||||
ENV TITLE="Ubuntu KDE"
|
||||
ENV TITLE="Ubuntu KDE" \
|
||||
NO_GAMEPAD=true
|
||||
|
||||
RUN \
|
||||
echo "**** add icon ****" && \
|
||||
|
@ -8,7 +8,8 @@ LABEL maintainer="thelamer"
|
||||
ARG DEBIAN_FRONTEND="noninteractive"
|
||||
|
||||
# title
|
||||
ENV TITLE="Ubuntu KDE"
|
||||
ENV TITLE="Ubuntu KDE" \
|
||||
NO_GAMEPAD=true
|
||||
|
||||
RUN \
|
||||
echo "**** add icon ****" && \
|
||||
|
@ -12,7 +12,7 @@ fi
|
||||
setterm blank 0
|
||||
setterm powerdown 0
|
||||
|
||||
# Direcotries
|
||||
# Directories
|
||||
sudo rm -f /usr/share/dbus-1/system-services/org.freedesktop.UDisks2.service
|
||||
mkdir -p "${HOME}/.config/autostart" "${HOME}/.XDG" "${HOME}/.local/share/"
|
||||
chmod 700 "${HOME}/.XDG"
|
||||
@ -49,6 +49,10 @@ if which nvidia-smi && [ "${DISABLE_ZINK}" == "false" ]; then
|
||||
export GALLIUM_DRIVER=zink
|
||||
fi
|
||||
|
||||
# Stat DE
|
||||
unset LD_PRELOAD
|
||||
dbus-launch /usr/bin/startplasma-x11 > /dev/null 2>&1
|
||||
# Dbus defaults
|
||||
export XDG_RUNTIME_DIR="/tmp/xdg-runtime-${PUID}"
|
||||
mkdir -p -m700 "${XDG_RUNTIME_DIR}"
|
||||
chown -R "${PUID}:${PGID}" "${XDG_RUNTIME_DIR}"
|
||||
|
||||
# Start DE
|
||||
exec dbus-launch --exit-with-session /usr/bin/startplasma-x11 > /dev/null 2>&1
|
||||
|
Loading…
x
Reference in New Issue
Block a user