TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Help with Trigger for Ubuntu

    Scheduled Pinned Locked Moved Linux
    3 Posts 2 Posters 1.2k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Dean McNaughtonD Offline
      Dean McNaughton
      last edited by

      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"}
      
      RussR 1 Reply Last reply Reply Quote 0
      • RussR Offline
        Russ @Dean McNaughton
        last edited by Russ

        @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.

        Russell VanderMey

        Dean McNaughtonD 1 Reply Last reply Reply Quote 0
        • Dean McNaughtonD Offline
          Dean McNaughton @Russ
          last edited by

          @russ

          I'm using chrome and it worked with the following:

          google-chrome /home/dmcnaugh/Downloads/Alarm_Arm.html
          

          Thank you, Russ!

          1 Reply Last reply Reply Quote 1

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post