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

    Add custom commands or scripts in linux

    Scheduled Pinned Locked Moved Linux
    5 Posts 3 Posters 2.4k 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.
    • J Offline
      j0semm
      last edited by

      Hi there!

      How can you add a new custom commands o scritps in a linux server?
      And how can you add this skills in triggercmd page, for example to say:
      e34cd6df-916d-4c17-87e6-d49d6ea881ec-image.png

      RussR 1 Reply Last reply Reply Quote 0
      • RussR Offline
        Russ @j0semm
        last edited by

        @j0semm, you can edit your ~/.TRIGGERcmdData/commands.json file to add commands.

        To enable the TRIGGERcmd Smart Home Alexa Skill, you can click the link on the page you took a screenshot of, then enable it from the page that link goes to.

        Russell VanderMey

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          j0semm @Russ
          last edited by

          @russ Thank you for your answer, I understand that you can add new commands, but when I try every command individually, always it acts as only one and I can see that is this case (view image)
          for example, I have 4 commands
          32c39807-6450-469e-b9cd-73b6e9250e3b-image.png

          But when I try for each one, only works next
          73dc28fd-b3bc-442d-b9b2-f60e450d23a7-image.png
          45e99813-75ca-48ba-aa88-26bd774ffc5d-image.png

          It only has one

          I did not find where to add a new Printable voice command to my server4

          RussR 1 Reply Last reply Reply Quote 0
          • RussR Offline
            Russ @j0semm
            last edited by Russ

            @j0semm, I see those are all background commands, which will only be added if you're running the agent in background mode, which happens when you install the background service with a command like this:

            sudo sh /usr/lib/triggercmdagent/resources/app/src/installdaemon.sh
            

            That will install it as a linux service you can view with a command like this:

            systemctl status triggercmdagent
            

            The Gnome Editor command probably got added when you ran the agent the first time. You run it in foreground mode the first time to install the token. That Gnome Editor command is a foreground command in the default commands.json file.

            Russell VanderMey

            T 1 Reply Last reply Reply Quote 0
            • T Offline
              TI_Gaming_TV @Russ
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0

              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