Help with Trigger for Ubuntu
-
I'm trying to run a file titled, "Alarm_Arm.html" inside my "Downloads" folder. Nothing is happening. I can confirm the triggercmd agent is open and running, and able to run other triggers/commands. So, I really do believe the problem must be in the structure of this line of code. Any suggestions what may be wrong?
{"trigger":"Arm","command":"/home/dmcnaugh/Downloads/Alarm_Arm.html","ground":"foreground","voice":"Arm_the_alarm","allowParams": "false"}
-
@dean-mcnaughton, I haven't tested this yet, but maybe one of these would work:
chromium-browser /home/dmcnaugh/Downloads/Alarm_Arm.html google-chrome /home/dmcnaugh/Downloads/Alarm_Arm.html xdg-open /home/dmcnaugh/Downloads/Alarm_Arm.html
Basically, your command is trying to execute the html file which isn't possible. You need to run something that is executable, like a browser.
-
I'm using chrome and it worked with the following:
google-chrome /home/dmcnaugh/Downloads/Alarm_Arm.html
Thank you, Russ!