Next: gschemrc, Previous: Legacy configuration files still in use, Up: Legacy configuration files still in use [Contents][Index]
gafrc is a configuration file used by various tools in the Lepton EDA suite.
Files named gafrc are read from ~/.config/lepton-eda/ (user configuration) and from a directory where you run the lepton-eda tools (configuration for current directory). Expressions in gafrc files control the following settings:
(reset-component-library)
Clear the list of component libraries.
(reset-source-library)
Clear the list of source libraries.
(component-library path name)
Add the directory path to the list of component libraries giving
it a display name name which will be shown in the "Add
Component" dialog in lepton-schematic
, for example:
(component-library "/home/dmn/sym" "MySymbols")
(component-library-search path prefix)
Add the directory path recursively with all its sub-directories
to the list of component libraries. Directories added with this
command will be shown in lepton-schematic
in the "Add
Component" dialog prefixed with the string prefix, for example:
(component-library-search "/home/dmn/my-libs" "MyLibs::")
(source-library path)
Add the directory path to the list of source libraries.
lepton-cli export
and lepton-schematic
’s ‘File’->‘Write Image...’ (if
"Image type" is set to ‘PDF’) and ‘File’->‘Print...’ main
menu commands.
(primitive-load file)
Load a color scheme from file file, for example:
(primitive-load "/usr/share/lepton-eda/print-colormap-darkbg")
Next: gschemrc, Previous: Legacy configuration files still in use, Up: Legacy configuration files still in use [Contents][Index]