diff options
| author | Nippy <nippy@Beller-Mac-mini.lan> | 2026-09-09 13:45:23 +0200 |
|---|---|---|
| committer | Nippy <nippy@Beller-Mac-mini.lan> | 2026-09-09 13:45:23 +0200 |
| commit | e1de1a131d593bfee193abc64f1e8e7de8f7ac1c (patch) | |
| tree | 761111419fc7adca04205be6f689fe5abb563e4a /raveos-plasma-theme | |
| parent | adcb52806eb4c778bd97dc7eb01ee43ae5733fd1 (diff) | |
| download | RaveOS-PKGBUILD-e1de1a131d593bfee193abc64f1e8e7de8f7ac1c.tar.gz RaveOS-PKGBUILD-e1de1a131d593bfee193abc64f1e8e7de8f7ac1c.zip | |
fix(plasma): resolve kwalletd6 crash and session freeze
- Add default kwalletrc (/etc/xdg and ~/.config) with First Use=false
- Remove disruptive plasma-apply-lookandfeel from first-login.sh
- Ensure kwallet-pam and kwalletmanager dependencies for clean PAM auto-unlock
- Bump raveos-plasma-theme pkgrel to 3 and raveos-calamares-module to 23
Diffstat (limited to 'raveos-plasma-theme')
| -rw-r--r-- | raveos-plasma-theme/.SRCINFO | 3 | ||||
| -rw-r--r-- | raveos-plasma-theme/PKGBUILD | 5 | ||||
| -rw-r--r-- | raveos-plasma-theme/kwalletrc | 7 | ||||
| -rwxr-xr-x | raveos-plasma-theme/raveos-plasma-apply.sh | 19 | ||||
| -rwxr-xr-x | raveos-plasma-theme/raveos-plasma-first-login.sh | 4 |
5 files changed, 31 insertions, 7 deletions
diff --git a/raveos-plasma-theme/.SRCINFO b/raveos-plasma-theme/.SRCINFO index e0ceeb8..8812ea0 100644 --- a/raveos-plasma-theme/.SRCINFO +++ b/raveos-plasma-theme/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = raveos-plasma-theme pkgdesc = RaveOS Plasma theme payload and installer pkgver = 1.0.0 - pkgrel = 2 + pkgrel = 3 url = https://raveos.local install = raveos-plasma-theme.install arch = any @@ -12,6 +12,7 @@ pkgbase = raveos-plasma-theme depends = fastfetch depends = raveos-sddm-theme depends = wl-clipboard + depends = kwallet-pam options = !debug pkgname = raveos-plasma-theme diff --git a/raveos-plasma-theme/PKGBUILD b/raveos-plasma-theme/PKGBUILD index 29465be..4b8a0e9 100644 --- a/raveos-plasma-theme/PKGBUILD +++ b/raveos-plasma-theme/PKGBUILD @@ -2,7 +2,7 @@ pkgname=raveos-plasma-theme pkgver=1.0.0 -pkgrel=2 +pkgrel=3 pkgdesc="RaveOS Plasma theme payload and installer" arch=('any') url="https://raveos.local" @@ -10,7 +10,7 @@ license=('custom') options=('!debug') conflicts=('raveos-gnome-theme' 'raveos-hyprland-theme' 'raveos-cosmic-theme') -depends=('fastfetch' 'raveos-sddm-theme' 'wl-clipboard') +depends=('fastfetch' 'raveos-sddm-theme' 'wl-clipboard' 'kwallet-pam') install="${pkgname}.install" source=() @@ -46,6 +46,7 @@ package() { install -dm755 "${pkgdir}/etc/xdg" install -Dm644 "${startdir}/kdeglobals" "${pkgdir}/etc/xdg/kdeglobals" + install -Dm644 "${startdir}/kwalletrc" "${pkgdir}/etc/xdg/kwalletrc" install -Dm644 "${startdir}/ksplashrc" "${pkgdir}/etc/xdg/ksplashrc" install -Dm644 "${startdir}/kscreenlockerrc" "${pkgdir}/etc/xdg/kscreenlockerrc" install -Dm644 "${startdir}/konsolerc" "${pkgdir}/etc/xdg/konsolerc" diff --git a/raveos-plasma-theme/kwalletrc b/raveos-plasma-theme/kwalletrc new file mode 100644 index 0000000..29384a6 --- /dev/null +++ b/raveos-plasma-theme/kwalletrc @@ -0,0 +1,7 @@ +[Wallet] +Default Wallet=kdewallet +Enabled=true +First Use=false + +[org.freedesktop.secrets] +api-enabled=true diff --git a/raveos-plasma-theme/raveos-plasma-apply.sh b/raveos-plasma-theme/raveos-plasma-apply.sh index 2e7854e..cf1ce9c 100755 --- a/raveos-plasma-theme/raveos-plasma-apply.sh +++ b/raveos-plasma-theme/raveos-plasma-apply.sh @@ -82,6 +82,20 @@ widgetStyle=Breeze GLBEOF } +write_kwalletrc() { + local target_home="$1" + mkdir -p "${target_home}/.config" + cat > "${target_home}/.config/kwalletrc" <<'KWEOF' +[Wallet] +Default Wallet=kdewallet +Enabled=true +First Use=false + +[org.freedesktop.secrets] +api-enabled=true +KWEOF +} + # skel konfiguráció új felhasználóknak mkdir -p \ /etc/skel/.config/kitty \ @@ -110,6 +124,7 @@ write_konsolerc /etc/skel write_kscreenlockerrc /etc/skel write_ksplashrc /etc/skel write_kdeglobals /etc/skel +write_kwalletrc /etc/skel disable_kmix_autostart /etc/skel ensure_bashrc_hook /etc/skel/.bashrc echo "1" > /etc/skel/.config/raveos/plasma-migrated @@ -149,6 +164,10 @@ while IFS=: read -r user _ uid gid _ home shell; do write_konsolerc "${home}" fi + if [[ ! -f "${home}/.config/kwalletrc" ]]; then + write_kwalletrc "${home}" + fi + if [[ ! -f "${home}/.config/autostart/kmix_autostart.desktop" ]]; then disable_kmix_autostart "${home}" fi diff --git a/raveos-plasma-theme/raveos-plasma-first-login.sh b/raveos-plasma-theme/raveos-plasma-first-login.sh index f16f43d..421ee84 100755 --- a/raveos-plasma-theme/raveos-plasma-first-login.sh +++ b/raveos-plasma-theme/raveos-plasma-first-login.sh @@ -23,10 +23,6 @@ elif command -v qdbus >/dev/null 2>&1; then QDBUS="qdbus" fi -if command -v plasma-apply-lookandfeel >/dev/null 2>&1; then - plasma-apply-lookandfeel -a org.kde.breezedark.desktop >/dev/null 2>&1 || true -fi - if [[ -f "${wallpaper}" ]] && command -v plasma-apply-wallpaperimage >/dev/null 2>&1; then plasma-apply-wallpaperimage "${wallpaper}" >/dev/null 2>&1 || true fi |