[PD] Control X,Y position of main Pd window at startup?

2007-07-23 Thread Bjoern Hartmann
Is there a way to control at which position the main Pd window appears on the screen on startup? For an individual patch, I can write desired values into the canvas definition line #N canvas X Y ... in the patch's pd file - but what about the main window/console? I suspect this may be possible by

Re: [PD] Control X,Y position of main Pd window at startup?

2007-07-23 Thread Bjoern Hartmann
I'll answer my own question - in file pd.tk, at the end of the main window set up section, after lines wm title . Pd . configure -menu .mbar -width 200 -height 150 add the following line to control main window position at startup: wm geometry . +x+y where (x,y) is the offset in pixels from the

Re: [PD] Control X,Y position of main Pd window at startup?

2007-07-23 Thread Hans-Christoph Steiner
Thanks for scoping this out. I added this to Pd-extended so that it's easy to change. Ideally this would be a preference, but there needs to be some kind of preference framework to handle things like this. .hc On Jul 23, 2007, at 12:11 PM, Bjoern Hartmann wrote: I'll answer my own