I noticed that when using the labwc compositor the wlopm command is unable to set the power mode for the display on the first instance of the compositor. For instance if I try to run wlopm --off \* in the terminal on my raspberry's display it will say ERROR: Setting power mode for output 'DPI-1' failed. if I launch labwc on another tty session so Ctrl+Alt+F6 and labwc-pi, the wlopm command can set the power mode. So while trying to fix the issue I came across the brightnessctl tool (github), which is a simple tool to set the brightness of displays. So after replacing the screen blanking command to swayidle -w timeout 600 'brightnessctl -d \* -q set 0' resume 'brightnessctl -d \* -q set 100' & the screen blanking finally worked flawlessly like it used too.
I noticed that when using the labwc compositor the wlopm command is unable to set the power mode for the display on the first instance of the compositor. For instance if I try to run
wlopm --off \*
in the terminal on my raspberry's display it will sayERROR: Setting power mode for output 'DPI-1' failed.
if I launch labwc on another tty session so Ctrl+Alt+F6 and labwc-pi, the wlopm command can set the power mode. So while trying to fix the issue I came across thebrightnessctl
tool (github), which is a simple tool to set the brightness of displays. So after replacing the screen blanking command toswayidle -w timeout 600 'brightnessctl -d \* -q set 0' resume 'brightnessctl -d \* -q set 100' &
the screen blanking finally worked flawlessly like it used too.