fix: plasma-welcome wrapper (#2795)
fixup of e93c41edd7.
The previous iteration has worked but only when calling via the desktop
file, something else during first boot calls /usr/bin/plasma-welcome
directly.
xref: https://github.com/ublue-os/aurora/issues/2624
This commit is contained in:
parent
2396ec06e0
commit
c55ab3d054
2 changed files with 4 additions and 4 deletions
|
|
@ -4,6 +4,9 @@ echo "::group:: ===$(basename "$0")==="
|
|||
|
||||
set -eoux pipefail
|
||||
|
||||
# HACK for https://github.com/ublue-os/aurora/issues/2624 https://bugs.kde.org/show_bug.cgi?id=523540
|
||||
mv /usr/bin/plasma-welcome /usr/bin/plasma-welcome-original
|
||||
|
||||
# Copy Files to Container
|
||||
rsync -rvKl /ctx/system_files/shared/ /
|
||||
|
||||
|
|
@ -45,7 +48,4 @@ ln -s /usr/share/applications/dev.getaurora.offline-docs.desktop /usr/share/kglo
|
|||
desktop-file-edit --set-key=X-KDE-Shortcuts --set-value='Ctrl+Alt+T,Meta+Return' /usr/share/applications/org.kde.konsole.desktop
|
||||
ln -sf /usr/share/applications/org.kde.konsole.desktop /usr/share/kglobalaccel/org.kde.konsole.desktop
|
||||
|
||||
# HACK for https://github.com/ublue-os/aurora/issues/2624 https://bugs.kde.org/show_bug.cgi?id=523540
|
||||
desktop-file-edit --set-key=Exec --set-value=plasma-welcome-hack /usr/share/applications/org.kde.plasma-welcome.desktop
|
||||
|
||||
echo "::endgroup::"
|
||||
|
|
|
|||
|
|
@ -3,4 +3,4 @@
|
|||
# https://github.com/ublue-os/aurora/issues/2624
|
||||
# https://bugs.kde.org/show_bug.cgi?id=523540
|
||||
# real nasty, this is the same ordering as without --pages
|
||||
exec /usr/bin/plasma-welcome --pages Welcome,SimpleByDefault,PowerfulWhenNeeded,Feedback,Enjoy "$@"
|
||||
exec /usr/bin/plasma-welcome-original --pages Welcome,SimpleByDefault,PowerfulWhenNeeded,Feedback,Enjoy "$@"
|
||||
Loading…
Reference in a new issue