www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2013/06/02/13:36:35

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Injected-Via-Gmane: http://gmane.org/
To: geda-user AT delorie DOT com
From: Kai-Martin Knaak <kmk AT familieknaak DOT de>
Subject: Re: [geda-user] layers mess up
Date: Sun, 02 Jun 2013 19:35:46 +0200
Lines: 33
Message-ID: <kofvpd$lav$1@ger.gmane.org>
References: <20130531161224 DOT 12570 AT gmx DOT com>
Mime-Version: 1.0
X-Complaints-To: usenet AT ger DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: a89-182-189-182.net-htp.de
User-Agent: KNode/4.4.11
Reply-To: geda-user AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019