Skip to content

File paths

Created by the user. gmux does not write to these, except that gmuxd remote can add [tailscale] to host.toml with your confirmation.

PathPurposeReference
~/.config/gmux/host.tomlDaemon behavior (port, Tailscale)host.toml
~/.config/gmux/settings.jsoncTerminal options, keybinds, UI prefssettings.jsonc
~/.config/gmux/theme.jsoncTerminal color palettetheme.jsonc

~/.config can be overridden with XDG_CONFIG_HOME.

Created by gmuxd. Lives under ~/.local/state/gmux (or $XDG_STATE_HOME/gmux).

PathPurpose
~/.local/state/gmux/gmuxd.sockDaemon Unix socket (local IPC between gmux CLI and gmuxd)
~/.local/state/gmux/auth-tokenBearer token for TCP authentication
~/.local/state/gmux/projects.jsonUser-curated project list (sidebar grouping, ordering)
~/.local/state/gmux/gmuxd.logDaemon log (when started via gmuxd start)
~/.local/state/gmux/tailscale-discovery.jsonCache of probed tailnet devices (auto-discovery)
~/.local/state/gmux/tsnet/Tailscale state directory (when remote access is enabled)

Created by gmux (the CLI) for each running session. gmuxd connects to these to stream terminal I/O.

PathPurpose
/tmp/gmux-sessions/<session-id>.sockPer-session Unix socket

Override the directory with GMUX_SOCKET_DIR.

PathPurposeUsed by
~/.pi/agent/sessions/Pi conversation files (JSONL)Pi adapter (session discovery and resume)
PathPurpose
~/.local/state/gmux/gmuxd.logDaemon log when started via gmuxd start or auto-started by gmux