Configuring Glue via a startup file

Glue uses a configuration system to customize aspects such as which visualization modules it loads, what link functions to use, etc. This allows users who create their own glue modules to easily incorporate them into the main GUI environment.

The glue configuration file is called config.py. Glue looks for this file in the following locations, in order:

  • The current working directory
  • The path specified in the GLUERC environment variable, if present
  • The path .glue/config.py within the user’s home directory

To obtain a fresh config.py file to edit, run the command line program:

glue-config

Which will create a new file at ~/.glue/config.py