Should be DISPLAY=:0
as noted earlier. It is standard linux command line syntax for defining an environment variable (DISPLAY) and setting it to :0 and then calling the command that follows, hence DISPLAY=:0
On further investigation it appears you can't use the display setting in spawn mode. Try making a shell script that runs your playerctl command (without the display setting). Then try calling that from the exec node, with and without the display setting in the two exec mode settings. If one of those doesn't work then I am out of ideas.
I can't actually test it here as I haven't got a system I can try it on.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.