ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2014/08/04/07:17:35

X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f
X-Recipient: geda-help AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=date:from:to:subject:message-id:mail-followup-to:references
:mime-version:content-type:content-disposition:in-reply-to
:user-agent;
bh=gYTibHivlIDUzNHnQo/kahoVHwObwtEp+SX4ozhzcRI=;
b=HnGbxAJLutebBnteblKXuDExVGMSH2HeuhtBJ/GV8J8J5v2qb0Zd2HnQ80MRRplO6d
7/4a5m5KBYgg7WUp7ZU8iPwRoKn820fjUQSRSqi4SuA76Z8h8tY5zNNEALKePTPEegAg
KJIg97eVewmf8xbQ0bypnLkb0tbw+g01Ue+1rpWTP6rvX36qgy6EluTvnxKEftevLNCs
B+4Or40ao1B2MBQjL6pRa4qs42BXG1AX8S7uhDfQmhFsEUDkFDF0bRLrIbpHsVTFZpu6
ETT/hFXJuLedNBrRhmlYsQ3h0Rre/g0Th7nKQLUV9yD71/Mb23E5dzeQl4gPwHMVycZz
Z79Q==
X-Received: by 10.112.44.129 with SMTP id e1mr2137529lbm.78.1407151041410;
Mon, 04 Aug 2014 04:17:21 -0700 (PDT)
Date: Mon, 4 Aug 2014 15:17:18 +0400
From: Vladimir Zhbanov <vzhbanov AT gmail DOT com>
To: geda-help AT delorie DOT com
Subject: Re: [geda-help] Having some trouble again!
Message-ID: <20140804111718.GI24580@localhost.localdomain>
Mail-Followup-To: geda-help AT delorie DOT com
References: <alpine DOT DEB DOT 2 DOT 00 DOT 1404050746030 DOT 8305 AT igor2priv>
<534000E2 DOT 5080703 AT mochima DOT com>
<alpine DOT DEB DOT 2 DOT 00 DOT 1404060625040 DOT 8305 AT igor2priv>
<5342AF6B DOT 6010405 AT mochima DOT com>
<alpine DOT DEB DOT 2 DOT 00 DOT 1404080523041 DOT 8305 AT igor2priv>
<53445BD8 DOT 4070505 AT mochima DOT com>
<alpine DOT DEB DOT 2 DOT 00 DOT 1404090557260 DOT 8305 AT igor2priv>
<53452A49 DOT 8000701 AT mochima DOT com>
<20140409114728 DOT GA2172 AT localhost DOT localdomain>
<5348800F DOT 3070500 AT mochima DOT com>
MIME-Version: 1.0
In-Reply-To: <5348800F.3070500@mochima.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Reply-To: geda-help AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-help AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Fri, Apr 11, 2014 at 07:51:43PM -0400, Carlos Moreno wrote:
...
> One strange detail:
> 
> The "Select component" window of the Schematic editor
> shows me my custom symbols twice.  In the "Libraries"
> tab, I see:
> 
> > User-defined Symbols
>       LME49811.sym
>       NPN-custom.sym
>       etc.
> > symbols
>       LME49811.sym
>       NPN-custom.sym
>       etc.
> 
> (it actually shows the entire list of symbols in my directory
> /home/carlos/gEDA/symbols --- it shows it twice, that is)
> 
> I played with the configuration files to try to get rid of that,
> and I suspect that that's what's causing the trouble.
> 
> Here's the *current* contents of the config files:
> 
> ~/.gEDA/gschemrc:
> (load (build-path geda-rc-path "gschem-colormap-lightbg")) ; light
> background
> (log-window "later")
> (component-library "/home/carlos/gEDA/symbols/" "User-defined Symbols")
> 
> ~/.gEDA/gafrc:
> (component-library "/home/carlos/gEDA/symbols/")
> (elements-dir "/home/carlos/gEDA/footprints/")

gschem loads both gschemrc and gafrc, and both files have
"(component-library...)" lines with the same path. This is why
gschem shows your custom symbols twice.

The line in gafrc works for all gaf tools including gschem, while
the line in gschemrc works only for gschem. Therefore, just remove
it from gschemrc to get only one instance of the library in the
"Select component" window.

- Raw text -


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