LinuxWindows

Where Does Qalculate Store Settings and History?

Qalculate stores qalc.cfg under the qalculate config folder. History, definitions, and modes persist there between runs.

Last updated

Qalculate persists through one INI style file, qalc.cfg, in a qalculate folder under the XDG config home. General section holds display and save toggles, Mode section mirrors the interactive set command options. The GUI frontends share the same backend files.

History and custom definitions ride along in that folder. Flags like save definitions and save mode decide what survives a restart. Home Manager users can generate the file declaratively instead of hand editing. Exchange rates refresh into the same folder on demand.

Where Qalculate stores this, by platform

Linux
/home/<username>/.config/qalculate/qalc.cfg

Main settings in INI form. Edit General for save behavior and Mode for calculator defaults like base and precision.

Windows
C:\Users\<username>\AppData\Roaming\qalculate\qalc.cfg

Same backend files on Windows builds. The GUI and CLI read the same definitions and history.

Frequently asked questions

How do I stop qalc saving history?

Run set save mode off in qalc or flip the matching key in qalc.cfg. The man page lists every settable option with defaults marked.

How do I migrate Qalculate settings?

Copy the qalculate config folder to the same path on the new machine. Custom functions, units, and variables travel in the same files.

Notice an outdated path? Let us know.