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

Add custom commands or scripts in linux

Linux
3
5
880
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
    j0semm
    last edited by Jul 6, 2022, 10:09 PM

    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

    R 1 Reply Last reply Jul 7, 2022, 11:55 AM Reply Quote 0
    • R
      Russ @j0semm
      last edited by Jul 7, 2022, 11:55 AM

      @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 Jul 8, 2022, 4:01 PM Reply Quote 0
      • J
        j0semm @Russ
        last edited by Jul 8, 2022, 4:01 PM

        @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

        R 1 Reply Last reply Jul 8, 2022, 8:51 PM Reply Quote 0
        • R
          Russ @j0semm
          last edited by Russ Jul 8, 2022, 8:53 PM Jul 8, 2022, 8:51 PM

          @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 Mar 2, 2023, 3:49 PM Reply Quote 0
          • T
            TI_Gaming_TV @Russ
            last edited by Mar 2, 2023, 3:49 PM

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