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 patch. you can add arbitrary commands to that script, e.g.:
#!/bin/sh
xrandr --output eDP-1 --mode "1920x1080_60.00"
echo "starting Pd" | logger
cd /home/rpi/installation
pd -noadc _MAIN.pd
echo "Pd exited" | logger
gmdsar IOhannes