fix(deck): Autostart Steam using desktop shortcut rather than firstboot launcher (#121)

This would forcefully open Steam every boot no matter whether or not users opted out of it in Steam
This commit is contained in:
RJ Trujillo 2023-08-08 11:25:53 -06:00 committed by GitHub
parent 34d6865c02
commit 3190f81ca2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 7 deletions

View File

@ -126,6 +126,8 @@ 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 && \

View File

@ -1,7 +0,0 @@
#!/usr/bin/env bash
# Simply launches the "yafti" GUI with the uBlue image's configuration.
/usr/bin/yafti /usr/share/ublue-os/firstboot/yafti.yml
# Open Steam so that it can update
/usr/bin/steam