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