4
<meta http-equiv="Content-Type" content="text/html">
5
<meta name="description" content="Pcb">
6
<meta name="generator" content="makeinfo 4.6">
7
<meta http-equiv="Content-Style-Type" content="text/css">
8
<style type="text/css"><!--
9
pre.display { font-family:inherit }
10
pre.format { font-family:inherit }
11
pre.smalldisplay { font-family:inherit; font-size:smaller }
12
pre.smallformat { font-family:inherit; font-size:smaller }
13
pre.smallexample { font-size:smaller }
14
pre.smalllisp { font-size:smaller }
20
Node: <a name="Menu%20Files%20and%20Defaults">Menu Files and Defaults</a>,
21
Previous: <a rel="previous" accesskey="p" href="Menu-Definitions.html#Menu%20Definitions">Menu Definitions</a>,
22
Up: <a rel="up" accesskey="u" href="Custom-Menus.html#Custom%20Menus">Custom Menus</a>
26
<h3 class="section">Menu Files and Defaults</h3>
28
<p>Pcb will look for a file which defines its menus, trying the following
31
<pre class="example"> ./pcb-menu.res
33
$PCBLIBDIR/pcb-menu.res
37
<p>Note that <var>pcblibdir</var> defaults to <code>/usr/local/share/pcb</code>
38
(hence, <code>/usr/local/share/pcb/pcb-menu.res</code>). The
39
<code><internal></code> entry refers to a menu definition within the Pcb
40
application itself. The master file for all this is the file
41
<code>src/pcb-menu.res</code> in the Pcb source tree. This master source is
42
used to create the internal menu definition as well as being installed
43
in <code>$pcblibdir</code>.
45
<p>You can view the internal menu definition (the default) by running
46
<code>pcb</code> with the <code>-dumpmenu</code> option, like this:
48
<pre class="example"> pcb -dumpmenu