Skip to content

Troubleshooting

Galactus edited this page Nov 25, 2026 · 5 revisions

Troubleshooting

When reporting a problem, start fuin from a terminal and include its output in the bug report (remove secrets first).

"cannot open shared object file: libarrow.so.…"

fuin: error while loading shared libraries: libarrow.so.2500: cannot open shared object file: No such file or directory

Arch Linux updated Apache Arrow to a new major version, which changes its soname. Rebuild and reinstall Fūin:

cmake --build build && cmake --install build    # from source
cd packaging && makepkg -si                      # package

Or build with -DFUIN_WITH_PARQUET=OFF to avoid depending on Arrow (no Parquet table previews). See Installation.

Opening a file fails because "konsole" is not installed

Symptom (outside Plasma): opening a file whose default application runs in a terminal (vim, htop, …) fails, because KIO's TerminalApplication is unset and falls back to konsole. Fūin 0.1.0 fixes this automatically; if no usable terminal can be found, it shows a message like:

No se pudo abrir «notes.txt» con Vim: se ejecuta en un terminal y «konsole» no está instalado. Define TerminalApplication en ~/.config/fuinrc o elige otra aplicación por defecto.

Fix:

  • Update to 0.1.0 or later: on start Fūin writes a working terminal to ~/.config/fuinrc (see Default applications and terminal).

  • Make sure a terminal is found: choose one in Ajustes › General (or set apps/terminal in ~/.config/fuin/fuin.conf, or $TERMINAL).

  • Or set it by hand in ~/.config/fuinrc:

    [General]
    TerminalApplication=foot
  • Or choose a non-terminal default app in Ajustes › Aplicaciones por defecto (Ctrl+,).

Headless runs: "could not connect to display"

The GUI needs a display server. For CI, scripts or SSH sessions without Wayland/X11, use Qt's offscreen platform:

QT_QPA_PLATFORM=offscreen fuin --version

fuin --mcp and fuin --context do not start the GUI; they run as plain command-line processes. The CI workflow sets QT_QPA_PLATFORM=offscreen for the same reason.

Icons show as words or boxes

Fūin bundles its icon font (a subset of Material Symbols Rounded), so this only happens with a build from before it was bundled. Rebuild and reinstall from the current main. If you add icons while developing, run tools/subset-icons.sh (see CONTRIBUTING.md).

No thumbnails for PDF, video or HEIF

Thumbnails come from KIO thumbnailers. Install kdegraphics-thumbnailers (PDF), ffmpegthumbs (video) and kimageformats (AVIF/HEIF/PSD…).

Parquet files show no table

Fūin was built without Arrow (FUIN_WITH_PARQUET=OFF or Arrow/Parquet C++ not found at configure time; CMake prints "Parquet preview: disabled"). Install arrow and rebuild.

The MCP agent cannot see a folder or cannot write

  • Agents only see paths under mcp/roots (default ~); symlinks leaving the roots are refused.
  • Secret-looking files are never returned (🔑 badge).
  • Write tools require Permitir escritura a agentes in the AI panel (mcp/allowWrite=true) and the Fūin window running to confirm each change (120 s timeout).
  • fuin_get_current_view needs the GUI running.

See AI features and Configuration.

Login takes about 25 s longer with Fūin as the file chooser

Fūin 0.2.0 in portal mode (fuin --portal) called xdg-desktop-portal back while the portal was starting and waiting for it, so both hung until D-Bus activation timed out (systemd-analyze --user blame shows xdg-desktop-portal.service at about 25 s). It is fixed in 0.3.0 (#51): update. If you stay on 0.2.0, start it with the portal kept out of Qt by changing the Exec= line of ~/.local/share/dbus-1/services/org.freedesktop.impl.portal.desktop.fuin.service (or the /usr one) to:

Exec=/usr/bin/env QT_NO_XDG_DESKTOP_PORTAL=1 QT_QPA_PLATFORMTHEME=generic /usr/bin/fuin --portal

Remove that again after upgrading: the fixed version does this itself and reads your qt6ct look, which it cannot see when QT_QPA_PLATFORMTHEME=generic is set from outside.