# pcb-rnd conf tree

## subtree: rc

node name | type | flags | description
file_changed_interval | real | 0 | how often to check if the file has changed on the disk (in seconds); 0 or negative means no check at all
backup_interval | integer | 0 | time between two backups in seconds; 0 means disabled (no backups)
brave | string | 0 | brave mode flags: when non-empty, enable various experimental (unstable) features - useful for testers
font_command | string | 0 | file name template; if not empty, run this command and read its output for loading the font; %f is the file name
file_command | string | 0 | file name template; if not empty, run this command and read its output for loading a pcb file; %f is the file name, %p is the conf setting rc.file_path
file_path | string | 0 |
library_shell | string | 0 |
library_search_paths | list | 0 |
emergency_name | string | 0 | file name template for emergency save anonymous .pcb files (when pcb-rnd crashes); optional field: %ld --> pid; must be shorter than 240 characters. Don't do emergency save if this item is empty.
emergency_format | string | 0 | if set, use this format for the backups; if unset, use the default format
backup_name | string | 0 | file name template for periodic backup of board files; optional fields (the usual % substitutions work)
backup_format | string | 0 | if set, use this format for the backups; if unset or set to 'original', use the original format
save_command | string | 0 | command to pipe the pcb, footprint or buffer file into, when saving (makes lihata persist impossible)
keep_save_backups | boolean | 0 | a copy is made before a save operation overwrites an existing file; if this setting is true, keep the copy even after a successful save
default_font_file | list | 0 | name of default font file (list of names to search)
default_pcb_file | list | 0 |
script_filename | string | 0 | PCB Actions script to execute on startup
action_string | string | 0 | PCB Actions string to execute on startup
rat_path | string | 0 |
rat_command | string | 0 | file name template; if not empty, run this command and read its output for loading a rats; %f is the file name, %p is the rc.rat_path conf setting
save_final_fallback_fmt | string | 0 | when a new file is created (by running pcb-rnd with the file name) there won't be a known format; pcb-rnd will guess from the file name (extension) but eventhat may fail. This format is the final fallback that'll be used if no other guessing mechanism worked. The user can override this by save as.
save_fp_fmt | string | 0 | when saving a buffer element/subcircuit, prefer this format by default
have_regex | boolean | 0 | whether we have regex compiled in
verbose | integer | 0 | [hidlib]
quiet | integer | 0 | [hidlib] print only errors on stderr
dup_log_to_stderr | boolean | 0 | [hidlib] copy log messages to stderr even if there is a HID that can show them
cli_prompt | string | 0 | [hidlib] plain text prompt to prefix the command entry
cli_backend | string | 0 | [hidlib] command parser action
export_basename | boolean | 0 | [hidlib] if an exported file contains the source file name, remove path from it, keeping the basename only
menu_file | string | 0 | [hidlib] where to load the default menu file from. If empty/unset, fall back to the legacy 'per hid ow menu file' setup. If contains slash, take it as a full path, if no slash, do a normal menu search for pcb-menu-NAME.lht
preferred_gui | list | 0 | [hidlib] if set, try GUI HIDs in this order when no GUI is explicitly selected
hid_fallback | boolean | 0 | [hidlib] if there is no explicitly specified HID (--gui) and the preferred GUI fails, automatically fall back on other HIDs, eventually running in batch mode