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

commands.json | only gnome is loaded to website

General Discussion
2
3
171
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.
  • A
    Avishai Algrisi
    last edited by Avishai Algrisi Apr 24, 2021, 11:28 PM Apr 24, 2021, 11:26 PM

    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
    • A
      Avishai Algrisi
      last edited by Apr 24, 2021, 11:33 PM

      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.

      R 1 Reply Last reply Apr 25, 2021, 5:42 PM Reply Quote 0
      • R
        Russ @Avishai Algrisi
        last edited by Apr 25, 2021, 5:42 PM

        @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
        2 out of 3
        • First post
          2/3
          Last post