From bbec083fd82f70929a15eb5b92ee6c44ddc653b4 Mon Sep 17 00:00:00 2001 From: RJ Trujillo Date: Tue, 8 Aug 2023 11:39:35 -0600 Subject: [PATCH] fix: Don't copy Steam shortcut to autostart on desktop This shortcut doesn't exist on desktop as Steam isn't layered --- Containerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Containerfile b/Containerfile index c7e6244d..4995205e 100644 --- a/Containerfile +++ b/Containerfile @@ -126,8 +126,6 @@ RUN rm /usr/share/applications/shredder.desktop && \ ln -s "/usr/share/ublue-os/firstboot/launcher/login-profile.sh" \ "/usr/etc/profile.d/ublue-firstboot.sh" && \ cp "/usr/share/ublue-os/firstboot/yafti.yml" "/etc/yafti.yml" && \ - mkdir -p "/etc/xdg/autostart" && \ - cp "/usr/share/applications/steam.desktop" "/etc/xdg/autostart" && \ pip install --prefix=/usr yafti && \ sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_ublue-os-akmods.repo && \ sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_ublue-os-distrobox-git.repo && \ @@ -259,6 +257,8 @@ RUN rm /usr/share/applications/winetricks.desktop && \ ln -s /usr/bin/steamos-logger /usr/bin/steamos-info && \ ln -s /usr/bin/steamos-logger /usr/bin/steamos-notice && \ ln -s /usr/bin/steamos-logger /usr/bin/steamos-warning && \ + mkdir -p "/etc/xdg/autostart" && \ + cp "/usr/share/applications/steam.desktop" "/etc/xdg/autostart" && \ cp "/usr/share/ublue-os/firstboot/yafti.yml" "/etc/yafti.yml" && \ sed -i 's/#HandlePowerKey=poweroff/HandlePowerKey=suspend/g' /etc/systemd/logind.conf && \ sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_ublue-os-akmods.repo && \