From f6b65a45ad88890fb0240e0f3e3a4496f5a4dd33 Mon Sep 17 00:00:00 2001 From: Denys Madureira Date: Sun, 17 Mar 2024 01:51:47 +0100 Subject: [PATCH 1/2] Feat: Update kalpa-firstboot to use qdbus6 --- kalpa-firstboot | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kalpa-firstboot b/kalpa-firstboot index 330d340..ddf92c7 100644 --- a/kalpa-firstboot +++ b/kalpa-firstboot @@ -7,10 +7,10 @@ run_task() { local label="$2" shift 2 - qdbus-qt5 $dbusRef setLabelText "$label" + qdbus6 $dbusRef setLabelText "$label" if eval "$@"; then - qdbus-qt5 $dbusRef Set "" value "$step" + qdbus6 $dbusRef Set "" value "$step" else kdialog --error "Operation Failed: $label" exit 1 @@ -22,8 +22,8 @@ run_task 2 "Adding Flathub Repository" /usr/bin/flatpak remote-add --user --if-n run_task 3 "Installing Firefox" /usr/bin/flatpak install --user --noninteractive flathub org.mozilla.firefox run_task 4 "Installing KCalc" /usr/bin/flatpak install --user --noninteractive flathub org.kde.kcalc run_task 5 "Installing Ark" /usr/bin/flatpak install --user --noninteractive flathub org.kde.ark -run_task 6 "Setting Default Browser" kwriteconfig5 --file ~/.config/kdeglobals --group General --key BrowserApplication org.mozilla.firefox.desktop +run_task 6 "Setting Default Browser" kwriteconfig6 --file ~/.config/kdeglobals --group General --key BrowserApplication org.mozilla.firefox.desktop run_task 7 "Cleaning up" rm -f ~/.config/autostart/kalpa-firstboot.desktop -qdbus-qt5 $dbusRef close +qdbus6 $dbusRef close -- 2.45.2 From 2c8eb310f444a2a71ce7e5d335deed57c35d84a8 Mon Sep 17 00:00:00 2001 From: Denys Madureira Date: Sun, 17 Mar 2024 01:53:13 +0100 Subject: [PATCH 2/2] Feat: Update kalpa-firstboot-aarch64 to use qdbus6 --- kalpa-firstboot-aarch64 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kalpa-firstboot-aarch64 b/kalpa-firstboot-aarch64 index 688a887..e4e6c18 100644 --- a/kalpa-firstboot-aarch64 +++ b/kalpa-firstboot-aarch64 @@ -7,10 +7,10 @@ run_task() { local label="$2" shift 2 - qdbus-qt5 $dbusRef setLabelText "$label" + qdbus6 $dbusRef setLabelText "$label" if eval "$@"; then - qdbus-qt5 $dbusRef Set "" value "$step" + qdbus6 $dbusRef Set "" value "$step" else kdialog --error "Operation Failed: $label" exit 1 @@ -24,4 +24,4 @@ run_task 4 "Installing Ark" /usr/bin/flatpak install --user --noninteractive fla run_task 5 "Cleaning up" rm -f ~/.config/autostart/kalpa-firstboot.desktop -qdbus-qt5 $dbusRef close +qdbus6 $dbusRef close -- 2.45.2