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