Re: Opening gui of running -nogui pure data instance

IOhannes m zmoelnig via Pd-list <[email protected]>
Newsgroups gmane.comp.multimedia.puredata.general
Message-ID <[email protected]>
On 8/28/25 14:14, Yogi data wrote:
> Hello,
> 
> Is there a way to show gui of a pd instance that was launched with -nogui option ?
> 
send a "vis" message to Pd¹.
the vis message takes the base path to your Pd(-GUI) installation.

since this can be different for each system, you can use something like 
this to dynamically get the right path:

```
[symbol ../tcl/pd-gui.tcl(
|
[file which]
|
[symbol $1/../..(
|
[file normalize]
|
[vis $1(
|
[s pd]
```

if you provide no argument (e.g. [; pd vis(), the GUI will be closed.

(i think the interface is a bit ugly, and we should be able to simply do 
[; pd vis 1(, resp [; pd vis 0(; but that's just syntactic sugar)

gfmasdr
IOhannes

¹ you have to provide your own means to send that message to Pd, once it 
is running headless. Pd provides plenty of ways to do that.

---
[email protected] - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/[email protected]/message/2SKRHYJZKMDULJBJ2UGSART7V6DJDGOY/

To unsubscribe send an email to [email protected] mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/
OpenPGP_signature.asc (application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEEdAXnRVdICXNIABVttlAZxH96NvgFAmiwXGkFAwAAAAAACgkQtlAZxH96NviZ
UA//ePIBMvD7Buh3JdfztLhQQrT45p+s60H5MmU+qpjsaoRuQwdo+N1jgXddV0R0cSCvugk6AR8c
yAyEd9q0apBa4hE764ZCu1iJb+1IQbxXxBQilPBUHXdgau/O060L7XtI/GcGeYFrLFM8IURP2Fu4
8x8lPGiSoPJPt7YabPlC7HJbtIRgQSmKEQ83ERthFBjX1WuOaqjAUDt0fITSOPvhOV/TU5k1HLq1
RNCafsviaSEQJ+PgWc+cp3zNsJhL+ZHc4Sn2/x3fjIFRCLxIC4Fs6PmljYakEZeRbEZisjLK9rpb
ZxBV9fMPL5VjH0rALRZwYBCqZ14LZEQUyThybThyHeQaFVl7RfX9RDdmZVYxQ34WWpI0oVyepzGd
V7/CfLfqsq8QmgaVEK7BXI4OF8G71vh6MGGf4fBgiobgSlXX3x8l4FtEuk7cSPLUBUe25qWMESgF
aaj7JRm8QEVGA5VboRJl4u1T8g/fnw87o9alslzZE/NTuEThTJ1GX3tV7FrUYfsSiMdmg6KP4p/3
73285bicZIdstjrgZxbhjeT6ABfkCgK74haAsD4cnhr4TZI0VBBw1lLFDJnjAb+CVN9nqwI5Wzsi
LcBGZpvuzNH+r+XfE29unfx28Bh8vPbmq1HWZ4NZpmmo8E2WZC46OxxkKsmWbx/WR1nMznMMdi6h
U48=
=u0jq
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.