[PD] set screen resolution from within Pd (Linux)

IOhannes m zmölnig zmoelnig at iem.at
Tue Jan 12 12:53:28 CET 2021

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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20210112/a0850955/attachment.sig>

More information about the Pd-list mailing list