Mail Archives: geda-user/2012/05/22/00:03:40
On 05/21/2012 12:02 PM, Andrew Poelstra wrote:
> On Mon, May 21, 2012 at 12:42:51AM -0400, Gus Fantanas wrote:
>> I recently upgraded to Ubuntu 12.04 LTS, which updated gEDA.
>> Everything works well except a couple of minor annoyances. I may be
>> doing something wrong. Here are my questions:
>>
>> 1. I tried to change the default rat thickness in PCB by including
>> the line 'rat-thickness = 2' in the file '~/.pcb/preferences',
>> according to the online documentation (which may be out of date?).
>> This works as expected the first time I start PCB after that file
>> edit, but when I quit PCB, that line seems to disappear! If I don't
>> re-edit '~/.pcb/prefernces', next time I start PCB the rats have
>> their default thickness.
>>
>
> To add to DJ's comment:
>
>
> Just putting '2', pcb will read it as 2nm. (This has been fixed by commit
> 8b59dba in February, to read anything< 100 as a pixel count, not a measure,
> but this change hasn't made it to release. Nor has the 'px' unit suffix.)
>
> And unless you're zoomed -very- far in, you won't see a 2nm line.
>
>
Well, I created the file '~/.pcb/settings', which did not exist before,
and inserted the single line 'rat-thickness = 2px', per DJ's
recommendation. It worked; I don't see any errors in the log window,
either, so I guess my PCB understands the 'px'? Now, the thickness of
the rat lines is where I want it and stays that way when I restart PCB.
What I don't understand is why the same line (sans 'px') added to
'~/.pcb/preferences' worked once, but seemed to disappear when I quit PCB.
- Raw text -