Skip to content

Useful environment variables and directories

Paweł Salawa edited this page Aug 21, 2026 · 1 revision

You can provide Letos with additional resources (plugins, extensions, icons, fonts, ...) using environment variables, or use predefined directories to put these resources to and Letos will use them.

In contents below:

  • the "path separator" means ; on Windows and : on all other systems.

  • APP_DIR refers to directory, where Letos executable is located. For example, if on Windows you have C:\Program Files\Letos\Letos.exe, then APP_DIR is C:\Program Files\Letos.

  • CONFIG_DIR refers to directory described at Letos configuration directory

You can always track what Letos finds in defined paths and what it does with the findings by passing -d option to the application and opening debug console (F12 hotkey), or -d --do to see the debug on the standard output.

Plugins

Provided directories will be scanned recursively for loadable Letos plugins. Remember, that these plugins must be compatible with your OS and your current Letos version. Otherwise they will be skipped.

Environment variables

  • LETOS_PLUGINS
  • SQLITESTUDIO_PLUGINS (for backwards compatibility with SQLiteStudio 3.x)

The variable can contain one or more directories separated by the path separator.

Predefined paths

  • APP_DIR/plugins
  • CONFIG_DIR/plugins

SQLite extensions

Environment variables

  • LETOS_SQLITE_EXTENSIONS
  • SQLITESTUDIO_SQLITE_EXTENSIONS (for backwards compatibility with SQLiteStudio 3.x)

Same as with plugins - you may provide multiple paths using tha path separator.

Predefined paths

  • APP_DIR/ext
  • APP_DIR/extensions
  • CONFIG_DIR/ext
  • CONFIG_DIR/extensions

Icon Sets

Environment variables

  • LETOS_ICONS
  • SQLITESTUDIO_ICONS

Predefined paths

  • APP_DIR/img

Fonts

Environment variables

  • LETOS_FONTS

Predefined paths

  • APP_DIR/plugins
  • CONFIG_DIR/plugins

Other

Forms

Forms are Qt *.ui files definining interface parts.

This is more for testing purpose if you're developing a plugin and you want to modify/swap forms on the fly during runtime & just reload the plugin to see the updated form.

Environment variables

  • LETOS_FORMS
  • SQLITESTUDIO_FORMS

Predefined paths

  • APP_DIR/forms
  • CONFIG_DIR/forms
  • all paths defined for plugins

Clone this wiki locally