Node: Menu Files and Defaults, Previous: Menu Definitions, Up: Custom Menus



Menu Files and Defaults

Pcb will look for a file which defines its menus, trying the following names:

     ./pcb-menu.res
     $HOME/.pcb-menu.res
     $PCBLIBDIR/pcb-menu.res
     <internal>
     

Note that pcblibdir defaults to /usr/local/share/pcb (hence, /usr/local/share/pcb/pcb-menu.res). The <internal> entry refers to a menu definition within the Pcb application itself. The master file for all this is the file src/pcb-menu.res in the Pcb source tree. This master source is used to create the internal menu definition as well as being installed in $pcblibdir.

You can view the internal menu definition (the default) by running pcb with the -dumpmenu option, like this:

     pcb -dumpmenu