From 208980b399cb3f22696e3cc2b0efb85e2d6c6c7b Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Fri, 8 May 2026 09:21:28 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20Implement=20KibaTV=20?= =?UTF-8?q?Welcome=20tool?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Implement a functional Zenity-based welcome tool for KibaTV to improve the out-of-the-box experience. The tool provides quick access to the installer, terminal, app store, and system information. Key improvements: - Populated kiba-welcome with a discovery loop menu. - Added support for system shortcuts and OS information. - Improved icon accessibility by installing kiba-logo to /usr/share/pixmaps. - Registered the welcome tool in the application menu. - Switched to pkexec for the graphical installer. Signed-off-by: Jules Agent Co-authored-by: christopherfoxjr <213370400+christopherfoxjr@users.noreply.github.com> --- .Jules/palette.md | 0 scripts/kibatv-build.sh | 48 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 .Jules/palette.md diff --git a/.Jules/palette.md b/.Jules/palette.md new file mode 100644 index 00000000..e69de29b diff --git a/scripts/kibatv-build.sh b/scripts/kibatv-build.sh index d52b28dc..c238e01b 100755 --- a/scripts/kibatv-build.sh +++ b/scripts/kibatv-build.sh @@ -99,6 +99,48 @@ EOF # -- Welcome Tool ----------------------------------------------------- install -dm755 "$pkgdir/usr/bin" cat > "$pkgdir/usr/bin/kiba-welcome" << 'EOF' +#!/bin/sh +while true; do + CHOICE=$(zenity --list --title="Welcome to KibaTV" \ + --window-icon="/usr/share/kibatv/logo.png" \ + --width=450 --height=500 --column="Action" --column="Description" \ + "🚀 Install KibaTV" "Install the system permanently" \ + "🖥️ Terminal (Meta+T)" "Launch the command line" \ + "🛍️ App Store" "Browse and install apps" \ + "🌐 Web Browser" "Explore the internet" \ + "📂 File Manager" "Manage your files" \ + "⌨️ Keyboard Shortcuts" "View system shortcuts" \ + "✨ About KibaTV" "Learn more about the OS" \ + "Close" "Exit the welcome tool") + + case "$CHOICE" in + "🚀 Install KibaTV") + pkexec calamares + break + ;; + "🖥️ Terminal (Meta+T)") + konsole & + ;; + "🛍️ App Store") + kstore & + ;; + "🌐 Web Browser") + chromium-browser & + ;; + "📂 File Manager") + dolphin & + ;; + "⌨️ Keyboard Shortcuts") + zenity --info --title="Keyboard Shortcuts" --window-icon="/usr/share/kibatv/logo.png" --text="Meta+T: Terminal\nMeta+S: Search\nMeta+W: Overview\nMeta+A: Quick Settings" & + ;; + "✨ About KibaTV") + zenity --info --title="About KibaTV" --window-icon="/usr/share/kibatv/logo.png" --text="KibaTV - A lightweight Linux distribution based on postmarketOS with Plasma Bigscreen.\n\nWebsite: https://github.com/WolfTech-Innovations/Kiba" & + ;; + *) + break + ;; + esac +done EOF chmod +x "$pkgdir/usr/bin/kiba-welcome" @@ -117,6 +159,10 @@ Categories=System; Keywords=welcome;guide;help;kiba; EOF + install -dm755 "$pkgdir/usr/share/applications" + cp "$pkgdir/etc/xdg/autostart/kiba-welcome.desktop" \ + "$pkgdir/usr/share/applications/kiba-welcome.desktop" + # -- SDDM autologin --------------------------------------------------- install -dm755 "$pkgdir/etc/sddm.conf.d" cat > "$pkgdir/etc/sddm.conf.d/autologin.conf" << 'EOF' @@ -368,6 +414,8 @@ LOGO_B64 rm "$TMPFILE_APK" cp "$pkgdir/usr/share/kibatv/logo.png" \ "$pkgdir/usr/share/plymouth/themes/kibatv-spinner/logo.png" + install -Dm644 "$pkgdir/usr/share/kibatv/logo.png" \ + "$pkgdir/usr/share/pixmaps/kiba-logo.png" } APKBUILD