Disable GNOME 40 welcome tour harder

Commit 3dadef5a21 didn't actually work
because it set the value as root. This commit fixes it to set it under
the liveuser instead.

Thanks to adamw for figuring out what's going on!
This commit is contained in:
Kalev Lember 2021-02-17 21:11:12 +01:00
parent adfd669d62
commit 1c906904c6
2 changed files with 5 additions and 3 deletions

View File

@ -190,9 +190,6 @@ systemctl stop mdmonitor-takeover.service 2> /dev/null || :
# don't enable the gnome-settings-daemon packagekit plugin
gsettings set org.gnome.software download-updates 'false' || :
# disable welcome tour by passing a huge version number
gsettings set org.gnome.shell welcome-dialog-last-shown-version '4294967295' || :
# don't start cron/at as they tend to spawn things which are
# disk intensive that are painful on a live image
systemctl --no-reload disable crond.service 2> /dev/null || :

View File

@ -66,6 +66,11 @@ FOE
cp /usr/share/anaconda/gnome/fedora-welcome.desktop ~liveuser/.config/autostart/
fi
# Disable GNOME welcome tour so it doesn't overlap with Fedora welcome screen
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
welcome-dialog-last-shown-version='4294967295'
FOE
# Copy Anaconda branding in place
if [ -d /usr/share/lorax/product/usr/share/anaconda ]; then
cp -a /usr/share/lorax/product/* /