[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: How do I get pcb to automatically load my personal pcb-elements directory



On Wed, 29 Apr 2009 12:12:58 -0400, DJ Delorie wrote:

>> Can both files contain the same set of variables?
> 
> Yes, but the gtk one will get overwritten, so anything that gtk/core
> doesn't understand shouldn't go in there.
> 
>> Which file takes precedence in case of conflicting values?
> 
> Good question.  Try one and see
>

I tried width rat-thickness:

If rat-thickness is set in both files, the value in .pcb/preferences is 
taken. If rat-thickness is set in .pcb/settings only, it is written 
to .pcb/preferences at the end of the pcb session. There seems to be no 
way to set this property via the GTK-GUI. 

All combined, this means, rat-thickness needs to be set manually in 
.pcb/preferences while no pcb session is active. If this attribute is set 
in .pcb/settings, it will be ignored, unless this line was deliberately 
removed from .pcb/preferences. 

If all settings are treated like this, all the variables the GTK-HID 
writes to .pcb/preferences, will be ignored in .pcb.settings. This 
affects all the settings in the preference dialog and in addition some 
like rat-thickness. The remaining settings have to be set in 
.pcb/settings, because pcb would overwrite them in .pcb/preferences on 
exit.

This seems pretty confusing, if not user-unfriendly. 

Why does pcb use two config files in the first place?

---<(kaimartin)>---



_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user