IOhannes and James. Thanks for the replies.
I found the relevant line in pdtk_canvas.tcl. I know modifying that isn't permanent, because the next update might break it, but it did let me replace -background white with -background gray95, which is cool. Now, I'll just have to figure out if it's possible to reuse this command in a tcl plugin file.
I downloaded the tcl command plugin through deken, which seems like a great way to test commands.
Thanks again for pointing me in the right direction. This forum is an amazing group of people!
Sam
Message: 2 Date: Thu, 3 Mar 2022 16:10:20 +0100 From: IOhannes m zmoelnig zmoelnig@iem.at To: pd-list@lists.iem.at Subject: Re: [PD] plugin.tcl not changing anything, Linux Message-ID: 454abfa4-0c48-ad66-fff9-71cc36b84423@iem.at Content-Type: text/plain; charset="utf-8"; Format="flowed"
On 3/3/22 15:59, Samuel Burt wrote:
Hi, list.
In Pop_OS (Debian derivative), I created a file called *canvasgrey-plugin.tcl* and populated it with:
set ::canvas_fill "gray75" set ::text_color "#222"
I've openned Pd, created new windows, saved the preferences, but seen no change in the canvas or text color. Any suggestions?
This page http://puredata.info/docs/guiplugins/GuiPluginsAPI seems
recent
this page refers to pd-extended (long dead), and doesn't apply to pd (vanilla).
theres currently no way to set the colors in Pd, but there's a [196] that tries to add this possibility.
gasmr IOhannes