foreground triggers not working
-
Raspberry Pi 4 with Raspbian Buster. Installed Triggercmd following the instructions. Background trigger "reboot" works fine but the foreground are not. Like this one working when I try it in terminal, but not working triggered by Triggercmd:
{"trigger":"Gnome Editor","command":"gedit","ground":"foreground","voice":"edit","allowParams": "false"}
I am new to linux so I may me missing something
-
@hm123, are you running the foreground agent? On Linux, it doesn't run automatically. You have to open terminal session and run:
triggercmdagent
-
Obviously I can not run GUI programs as root. Background triggers work fine and do the job anyway. Thank you