[PD] set screen resolution from within Pd (Linux)
ingo at miamiwave.com
Tue Jan 12 13:18:16 CET 2021
Those units being treated like hardware synth boxes which have a patch editor
that needs to be set to 1920x1080 to work correctly.
My problem is that neither xrandr nor the /etc/X11/xorg.conf is working on the
older mainboards for some strange reason.
> -----Original Message-----
> From: Pd-list [mailto:pd-list-bounces at lists.iem.at] On Behalf Of IOhannes m
> Sent: Tuesday, January 12, 2021 12:53 PM
> To: pd-list at lists.iem.at
> Subject: Re: [PD] set screen resolution from within Pd (Linux)
> On 1/12/21 10:22 AM, Roman Haefeli wrote:
> > With something like (untested example specific to my setup):
> > [xrandr --output eDP-1 --mode "1920x1080_60.00"(
> > |
> > [ggee/shell]
> while this might work, i'm not so sure it's the right approach.
> from the problem description, i assume that you are actually trying to setup
> some autostart for an installation or similar.
> if this is the case: why don't you just set the screen resolution with the
> startup script?
> wouldn't you expect the screen to have the proper resolution *before*
> starting Pd?
> most likely you have a startup script that launches Pd with the proper
> you can add arbitrary commands to that script, e.g.:
> xrandr --output eDP-1 --mode "1920x1080_60.00"
> echo "starting Pd" | logger
> cd /home/rpi/installation
> pd -noadc _MAIN.pd
> echo "Pd exited" | logger
More information about the Pd-list