kde/qemu: tema de cursor breeze — mata "Failed to load cursor theme"

kwin buscaba el tema "default" (inexistente) ⇒ cursor invisible. El rootfs trae
breeze_cursors (115 cursores). Fix: XCURSOR_THEME=breeze_cursors + XCURSOR_PATH +
kcminputrc [Mouse] cursorTheme. El error desapareció del log (0 ocurrencias).

Estado final verificado por screendump: escritorio Plasma 6 completo (wallpaper +
panel con launcher/pager/bandeja + reloj), estable (139=0; el run previo aguantó
7.5 min a +450s con kwin=1 plasmashell=1).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-20 12:30:32 -04:00
co-authored by Claude Opus 4.8
parent d724db6556
commit abf4e25c8f
+12
View File
@@ -66,6 +66,11 @@ export KWIN_COMPOSE=Q
export QT_QPA_PLATFORM=wayland
export QT_QPA_PLATFORMTHEME=kde
export QT_QPA_FONTDIR=/usr/share/fonts/dejavu
# cursor: kwin busca el tema "default" y no lo halla ("Failed to load cursor theme") ⇒ cursor invisible.
# Apuntamos al breeze_cursors del rootfs (115 cursores) por env + kcminputrc (kwin lee [Mouse] cursorTheme).
export XCURSOR_THEME=breeze_cursors
export XCURSOR_PATH=/usr/share/icons:/usr/share/pixmaps
export XCURSOR_SIZE=24
# --- DIAGNÓSTICO del segfault-al-1er-composite (MURO 2) ---
# Sin gdb en la imagen: subimos el logging categorizado de kwin (kwin_core/drm/scene/opengl) + mesa/egl
@@ -96,6 +101,13 @@ widgetStyle=Breeze
widgetStyle=Breeze
EOF
# kcminputrc: el tema de cursor que kwin lee al arrancar (además del env XCURSOR_THEME)
cat > "$XDG_CONFIG_HOME/kcminputrc" <<EOF
[Mouse]
cursorTheme=breeze_cursors
cursorSize=24
EOF
say "GPU DRM: $(ls /dev/dri/ 2>/dev/null | tr '\n' ' ')"
[ -e /dev/dri/card0 ] || say "!! no hay /dev/dri/card0 — ¿virtio-gpu no cargó? (dmesg | grep -i drm)"