Skip to content

Configuration

Shin Sterneck edited this page Nov 8, 2026 · 1 revision

The configuration file

stratagram.conf holds the frame defaults and the app's other settings. It lives in:

System Path
Linux ~/.config/stratagram.conf ($XDG_CONFIG_HOME is honored)
Windows %APPDATA%\stratagram.conf
macOS ~/Library/Application Support/stratagram.conf

Logos saved as frame defaults are copied to stratagram/logos/ in the same folder.

Interface preferences

Panel visibility, theme, layout options, snap and grid are stored by Qt: in ~/.config/stratagram.conf on Linux, in the registry (HKEY_CURRENT_USER\Software\stratagram) on Windows, and in ~/Library/Preferences on macOS. The browser editor keeps them in the browser.

File dialogs

On Linux, open, save and export use the desktop's own file dialogs through the XDG desktop portal (GNOME, KDE, and on Hyprland, Sway and other wlroots desktops the GTK portal), so they show your bookmarks and look like the rest of the desktop. If no portal answers, Qt's built-in dialog is used. To choose differently, set QT_QPA_PLATFORMTHEME yourself (e.g. gtk3); Stratagram only picks the portal when it is unset.

With Qt's built-in (non-native) save dialog, press Enter in the file name field before the Save button becomes active. Native dialogs (GNOME, KDE, portals) are unaffected.

The interface itself stays light even when the desktop prefers dark; the diagram's look is chosen with Themes.

Clone this wiki locally