(I am usually not one to try to do *everything* in Pd...) Another option is to create a small shell script which calls the xrandr line along with starting Pd and the project's main patch, assuming it's for an installation.. If you need to start Pd first, then probably add a small sleep after to give it time to open the windows.
> On Jan 12, 2021, at 12:00 PM, [email protected] wrote: > > Date: Tue, 12 Jan 2021 10:22:34 +0100 > From: Roman Haefeli <[email protected] <mailto:[email protected]>> > To: [email protected] <mailto:[email protected]> > Subject: Re: [PD] set screen resolution from within Pd (Linux) > Message-ID: <[email protected] > <mailto:[email protected]>> > Content-Type: text/plain; charset="utf-8" > > Hi Ingo > > On Tue, 2021-01-12 at 05:46 +0100, Ingo wrote: > >> Is it possible to set the screen resolution from within Pd in Debian >> (with >> or without externals)? > > Yes. > >> If yes how? > > With something like (untested example specific to my setup): > > [xrandr --output eDP-1 --mode "1920x1080_60.00"( > | > [ggee/shell] -------- Dan Wilcox @danomatika <http://twitter.com/danomatika> danomatika.com <http://danomatika.com/> robotcowboy.com <http://robotcowboy.com/>
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
