Something is unclear to me. I'm on linux, with command line, my path to pd-gui is /usr/local/lib/pd/tcl/pd-gui.tcl
So the message is " vis /usr/local/lib/pd/tcl/pd-gui.tcl " In order to send this to pd, Should I use 'pdsend' and create a netreceive in my patch ? ( this worked fine) Or find the port "pd" already opened ? ________________________________ From: IOhannes m zmoelnig via Pd-list <[email protected]> Sent: 28 August 2025 14:40 To: [email protected] <[email protected]> Subject: [PD] Re: Opening gui of running -nogui pure data instance 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/7CGUGCBMKOC27A56EXYM6AZA7N2GNN4S/ To unsubscribe send an email to [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/
