Read the statement by Michael Teeuw here.
MMM-Remote-Control
-
@Dennis-010 sorry, don’t know what you mean ‘custom line’
i don’t know if any of us know what to do yet… wayland right now is only setup on pi4… apparently there is a setting in raspiconfig to got back to x11…
-
@sdetweil said in MMM-Remote-Control:
@Dennis-010 sorry, don’t know what you mean ‘custom line’
Well, I started with:
monitorOnCommand: "echo 'on 0.0.0.0' | cec-client -s -d 1",
Then changd it to:
monitorOnCommand: 'xrandr -d :0 --output HDMI-1 --auto',
So I was wondering if there was a new “custom” line of code I can use. But u already said thast there might be no solution yet.
-
@Dennis-010 he had another post
yeah ! just found for wayland [3:58 PM] for turn on: pi@raspberrypi:~ $ WAYLAND_DISPLAY=wayland-1 wlr-randr --output HDMI-A-2 --on [3:58 PM] for turn off: pi@raspberrypi:~ $ WAYLAND_DISPLAY=wayland-1 wlr-randr --output HDMI-A-2 --off
-
@sdetweil Saw this and I maybe putting out old news because most people do
sudo raspi-config
and then hit enter. Saw some text that appear to type in
sudo raspi-config nonint do_wayland <W1/W2>
withW1 - Use the X11 backend
W2 - Use the Wayland backend -
That line infortunatly did not do the trick.
I used the revert option from @ankonaskiff17 to revert back to X11 and now the commands are working again.
Only thing now is: when monitor turns back on it’s set back to landscape instead of 90 degrees right portrait.I remember seeing a fix for that somewhere, so I’ll be looking for that.
-
Thanks for figuring all of this out. I also reverted back to the X11 window driver.
For completeness, just add --rotate right to the command:customCommand: { // Optional, See "Using Custom Commands" below monitorOnCommand: 'xrandr -d :0 --output HDMI-1 --auto --rotate right', monitorOffCommand: 'xrandr -d :0 --output HDMI-1 --off' },