Mail Archives: geda-user/2013/06/02/13:36:35
Patrick Dupre wrote:
> My layers are totally mess up. How can I have the default ones?
> Originally I even did not have a solder layer!
I assume, you use the GTK version of the pcb GUI (rather than the
lesstif version).
The layers for a new layout are read from:
$HOME/.pcb/preferences
If this file does nt exist, or does not contain layer name settings,
pcb tries to read from:
$Home/.pcb/settings
If this fails, pcb takes values hard coded in the source.
To get these default layer names, you can remove "layer-name" lines
from $HOME/.pcb/preferences and $HOME/.pcb/settings .
Unfortunately, there is no dedicated button in PCB to write the
current layer stack to $HOME/.pcb/preferences and make it the default
for future new projects. However, pcb writes the layer names to
preferences on save of a layout, if there are currently no such lines
in preferences. Once these lines are includes in .pcb/preferences,
there is no way to change them from inside the GUI. You can use a text
editor, though.
Yes, this is a bit confusing. It is not just layer names. Other
options have similar issues. IMHO, the whole settings/preferences
business calls for a major clean-up.
---<)kaimartin(>---
--
Kai-Martin Knaak
- Raw text -