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

Re: gEDA-user: How do I change initial window size on gschem and pcb?



On Wed, 2010-04-07 at 14:23 +0800, Atommann wrote:
> Hi,
> 
> 2010/4/7 Dave N6NZ <n6nz@xxxxxxxx>:
> > This may be an X-windows-on-Mac question, not a gEDA question, but...
> >
> > When gschem or pcb open on my macbook, the window is too tall, and the resize grabber is off the screen on the bottom and I can't reach it to resize the window.  Normally, not an issue since I immediately move the window over to a nice big second monitor... but... when I am on the road, this sucks hugely.
> >
> > So... is this an X-windows setting someplace? Or is there some place in the source code where it asks for the screen size and opens over the whole works? -- I'm building both gschem and pcb from sources so I can easily tweak if that is the case.
> 
> When gschem starts up, it show:
> ...
> Read system config file [/usr/share/gEDA/system-gafrc]
> Read system config file [/usr/share/gEDA/system-gschemrc]
> Read user config file [/home/atommann/.gEDA/gschemrc]
> Read init scm file [/usr/share/gEDA/scheme/gschem.scm]
> ...
> 
> So, you can open /usr/share/gEDA/system-gschemrc and search for
> keyword "window", read it and you will find how to change the initial
> size of the gschem window :)
> 
> You can also add the following line to the file ~/.gEDA/gschemrc to
> override the settings in system-gschemrc
> (window-size 950 712)  ; Good size for 1152x864

Looking at the code, I'm not sure that will actually do anything.. let
me know if it works.

We now have a file which remembers location and size of various windows,
but not the main window - the window manager is in charge of that kind
of thing.

Regards,

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)
Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)



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