diff --git a/Dockerfile b/Dockerfile index a2cb6f8..4165cc9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -71,8 +71,10 @@ RUN \ net-tools \ patch \ pciutils \ + pkg-config \ procps \ rsync \ + screen \ sudo \ unzip \ vim \ @@ -162,7 +164,6 @@ RUN \ dbus-x11 \ libxcomposite-dev \ libxcursor1 \ - pkg-config \ x11-xfs-utils \ x11vnc \ xauth \ diff --git a/overlay/usr/bin/start-desktop.sh b/overlay/usr/bin/start-desktop.sh index 9d1b676..7426d66 100644 --- a/overlay/usr/bin/start-desktop.sh +++ b/overlay/usr/bin/start-desktop.sh @@ -5,7 +5,7 @@ # File Created: Thursday, 1st January 1970 12:00:00 pm # Author: Console and webGui login account (jsunnex@gmail.com) # ----- -# Last Modified: Wednesday, 26th January 2022 3:29:47 pm +# Last Modified: Wednesday, 26th January 2022 5:38:23 pm # Modified By: Console and webGui login account (jsunnex@gmail.com) ### # @@ -17,11 +17,15 @@ XDG_RUNTIME_DIR=/run/user/$(id -u ${USER}) XDG_DATA_DIRS="${XDG_DATA_DIRS}:/var/lib/flatpak/exports/share:/home/${USER}/.local/share/flatpak/exports/share" export $(dbus-launch) -# TODO: Set the default background +# Set the default background for gnome based desktop +mkdir -p /etc/alternatives +ln -sf /usr/share/backgrounds/steam.jpg /etc/alternatives/desktop-background # Run the desktop environment in order of priority if [[ -e /usr/bin/cinnamon-session ]]; then /usr/bin/cinnamon-session --display=${DISPLAY} +elif [[ -e /usr/bin/mate-session ]]; then + /usr/bin/mate-session elif [[ -e /usr/bin/startplasma-x11 ]]; then /usr/bin/startplasma-x11 elif [[ -e /usr/bin/startxfce4 ]]; then