Skip to content

Configuration

Galactus edited this page Nov 21, 2026 · 2 revisions

Configuration

Fūin stores its settings in $XDG_CONFIG_HOME/fuin/fuin.conf (usually ~/.config/fuin/fuin.conf), an INI file created on the first change. Ajustes (Ctrl+,) edits every key in the example below — General (terminal, editor), Places (project folders, extra places), Appearance (animations, speed, colours file, shell settings file) and Agents (MCP) (roots, write permission) — and applies changes right away; clearing a field or Restore defaults removes the key. It also has a button to open the file in your editor, and the About dialog shows its path. Settings saved under the project's pre-release name (archivos) are migrated automatically on first start.

Keys are read in src/app/Config.cpp (and appearance/* in src/app/Theme.cpp).

Example

[apps]
terminal=kitty
editor=cursor
[theme]
colorsFile=~/.cache/matugen/colors.json
shellSettingsFile=~/.config/myshell/settings.json
[appearance]
animations=true
animationSpeed=1.0
[places]
projects=~/Dev, ~/Projects
extra="Wallpapers|~/Pictures/Wallpapers|wallpaper"
[mcp]
roots=~
allowWrite=false

Keys

Key Default Description
apps/terminal auto Terminal for terminal here, DuckDB and the KIO fallback. Default: the shell settings file's apps.terminal, then $TERMINAL, then the first installed of xdg-terminal-exec, kitty, foot, alacritty, wezterm, konsole, gnome-terminal.
apps/editor auto Editor for open in editor. Default: the shell settings file's apps.editor, then the first installed of cursor, code, codium, zed, kate.
apps/openedTypes — Internal: recently opened MIME types, used to sort the default applications page.
theme/colorsFile see below Material 3 colours JSON (e.g. from matugen); watched live and cross-faded.
theme/shellSettingsFile ~/.config/rice/settings.json Optional desktop-shell settings JSON: {"appearance": {"animations": true, "animationSpeed": 1}, "apps": {"terminal": "…", "editor": "…"}}.
appearance/animations true Animations on/off (overrides the shell settings file).
appearance/animationSpeed 1.0 Animation speed factor (overrides the shell settings file).
places/projects ~/Dev, ~/Projects, ~/src, ~/code Project folders shown in the sidebar (only existing ones).
places/extra Wallpapers, Hugging Face cache, Ollama models Extra sidebar places as name|path|icon (icon = Material Symbols name); only existing folders are shown.
view/mode grid grid, list or columns (Ctrl+1/2/3).
view/showHidden false Hidden files (Ctrl+H).
view/showPreview true Preview pane visible.
view/sortField name Sort field.
view/sortReversed false Reverse sort.
view/iconSize 96 Icon size (48–192).
ai/contextFormat markdown Context pack format: markdown or xml.
ai/ollamaUrl http://127.0.0.1:11434 Ollama endpoint, reserved for the (disabled) semantic search.
mcp/roots ~ Folders MCP agents may access (list).
mcp/allowWrite false Allow MCP write tools (each write still needs your confirmation in the GUI). Toggle: Permitir escritura a agentes in the AI panel or Ajustes › Agentes (MCP).

Colours file lookup

  1. theme/colorsFile; 2. the FUIN_COLORS environment variable; 3. ~/.cache/fuin/colors.json if it exists; 4. ~/.cache/qs/colors.json. Without a valid file a built-in dark theme is used. Both flat role maps ({"primary": "#…", "surface": "#…"}, snake_case or camelCase) and matugen's {"colors": {"dark": {…}}} work.

Other files Fūin touches

  • ~/.config/mimeapps.list — default applications chosen in Ajustes (see Default applications and terminal).
  • ~/.config/fuinrc — [General] TerminalApplication / TerminalService for KIO (also rewritten when you choose a terminal in Ajustes).
  • $XDG_RUNTIME_DIR/fuin.sock — the single-instance / MCP socket.

Environment variables

Variable Effect
FUIN_COLORS Colours file (if theme/colorsFile is not set)
TERMINAL Preferred terminal (if apps/terminal is not set)
QT_QPA_PLATFORM Qt platform plugin; offscreen for headless runs
FUIN_DEV=1 Enables the dev IPC command used for UI scripting and screenshots (see CONTRIBUTING.md)

Clone this wiki locally