[PD] size and position of PD window

Philip Stone pkstone at ucdavis.edu
Wed Apr 14 17:57:30 CEST 2021


Why? Because it seems like a basic setting, and it would be trivial to implement as a preference. This seems (to me) like just what preferences are for, configuring the basic environment of Pd.

Thank you for the tip on the gui plugin, Iohannes; I will use that.


Phil



From: IOhannes m zmoelnig <zmoelnig at iem.at>
Subject: Re: [PD] size and position of PD window
Message-ID: <0eeb6fa9-e173-2afc-59ca-a85dd6c2009b at iem.at>

On 4/14/21 4:17 PM, Philip Stone via Pd-list wrote:
> This is something that I manually adjust in the Wish code every time I upgrade Pd. It would be very nice to have it be a configurable setting in
Preferences.


why??
and why is there no feature-request on https://bugs.puredata.info?

one possible answer to the second question is, that I (yes me) would
probably close such a feature-request immediately, on the grounds that
you can implement this with a trivial gui-plugin:

put a file named "mypdwindowgeometry-plugin.tcl" (the base-name does not
matter but it *must* end with "-plugin.tcl") with the following content
into your Pd-searchpath (without the backticks):

```
if {[winfo exists .pdwindow]} {
        wm geometry .pdwindow  =538x300+0+458
}
```

whenever you start Pd, this GUI plugin will move the window to the
selected place.
no patching of Pd required. works on all OSs (not tested).

you could even reduce the plugin to just the "wm geometry ..." line.

i guess writing this plugin is about the same amount of typing as a
"configurable setting" (provided this setting is text-based and not just
"remember my current position").


mgffst
IOhannes

? what i would wish for is that the Pd window opened up on the currently
active monitor, rather than my left-most monitor, where i usually have a
full-screen editor running that likes to hide my Pd)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20210414/0f02d540/attachment.sig>

------------------------------

Subject: Digest Footer

_______________________________________________
Pd-list mailing list
Pd-list at lists.iem.at
to manage your subscription (including un-subscription) see
https://lists.puredata.info/listinfo/pd-list


------------------------------

End of Pd-list Digest, Vol 193, Issue 16
****************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20210414/69bd48e9/attachment.htm>


More information about the Pd-list mailing list