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

    foreground triggers not working

    General Discussion
    2
    3
    253
    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.
    • H
      hm123
      last edited by

      Raspberry Pi 4 with Raspbian Buster. Installed Triggercmd following the instructions. Background trigger "reboot" works fine but the foreground are not. Like this one working when I try it in terminal, but not working triggered by Triggercmd:

      {"trigger":"Gnome Editor","command":"gedit","ground":"foreground","voice":"edit","allowParams": "false"}

      I am new to linux so I may me missing something

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

        @hm123, are you running the foreground agent? On Linux, it doesn't run automatically. You have to open terminal session and run:

        triggercmdagent
        

        Russell VanderMey

        1 Reply Last reply Reply Quote 0
        • H
          hm123
          last edited by

          Obviously I can not run GUI programs as root. Background triggers work fine and do the job anyway. Thank you

          1 Reply Last reply Reply Quote 0
          • First post
            Last post