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

    commands.json | only gnome is loaded to website

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 2 Posters 746 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.
    • Avishai AlgrisiA Offline
      Avishai Algrisi
      last edited by Avishai Algrisi

      Hey,

      This is my commands.json content:

      [
        {"trigger":"Reboot","command":"shutdown -r","ground":"background","voice":"reboot","allowParams": "false"},
        {"trigger":"Gnome Editor","command":"gedit","ground":"foreground","voice":"edit","allowParams": "false"},
        {"trigger":"yum update","command":"yum -y update","ground":"background","voice":"yum update","allowParams": "false"},
        {"trigger":"apt update","command":"apt-get -y update","ground":"background","voice":"update","allowParams": "false"},
        {"trigger":"startpc","command":"etherwake -i ens32 50:E5:49:E9:0F:6F","ground":"background","voice":"startpc","allowParams":"false"}
      ]
      

      and for some reason only the Gnome Editor is loaded to the website.
      I'm running Debian 10

      I'm trying like 2 hours now.
      Do you have any idea what am I doing wrong maybe?

      1 Reply Last reply Reply Quote 0
      • Avishai AlgrisiA Offline
        Avishai Algrisi
        last edited by

        Now it's working.
        All I did was "giving up" for today.

        I have restarted debian and checked the site and only gnome was there.
        and from that moment I was watching some videos on youtube and posted this topic.

        and after like 30 minutes when I went back to the website I saw all the commands.

        Probably I've just needed to wait.

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

          @Avishai-Algrisi, I see that the only command in your commands.json file that has ground = foregound is the "Gnome Editor" command. Would explain why that one showed up while the background commands didn't.

          I suspect the background commands showed up when you installed the background agent.

          Russell VanderMey

          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