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

    foreground triggers not working

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 2 Posters 826 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.
    • H Offline
      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 Offline
        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 Offline
          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

          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