TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Instructions
    3. Linux
    Log in to post
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes
    • Most Views
    • RussR

      Ubuntu Linux agent instructions

      • • Russ
      21
      0
      Votes
      21
      Posts
      6.5k
      Views

      RussR

      @Pr0k0, background commands should show up as Alexa Smart Home devices, just like foreground commands, so I wonder if you didn't install the background service yet. This command should it:

      sudo sh /usr/lib/triggercmdagent/resources/app/src/installdaemon.sh
    • RussR

      Upgrading the Linux agent on Ubuntu

      • • Russ
      1
      0
      Votes
      1
      Posts
      2.0k
      Views

      No one has replied

    • RussR

      Upgrading the Linux agent on Redhat or CentOS

      • • Russ
      1
      0
      Votes
      1
      Posts
      1.1k
      Views

      No one has replied

    • D

      32Bit Ubuntu

      • • Dil Photos
      2
      0
      Votes
      2
      Posts
      514
      Views

      RussR

      @dil-photos, not yet, but I'll look into building a 32bit deb file. Stay tuned.

      EDIT 12/17/18:
      @dil-photos, sorry but I found that they stopped making a 32bit NodeJS version. NodeJS is a dependency for the TRIGGERcmd agent. https://nodejs.org/en/download/

      This method has no GUI, but one thing you could try is this. It worked for me.

      sudo apt install nodejs-legacy git clone https://github.com/rvmey/TRIGGERcmd-Agent.git cd TRIGGERcmd-Agent node ./src/agent.js --console
    • ?

      Ubuntu: Installed the agent, ran "triggercmdagent", what next?

      • • A Former User
      6
      0
      Votes
      6
      Posts
      1.7k
      Views

      RussR

      @knipknap, nice! That's progress.

      I'm not sure why the icon isn't showing. Can you think of anything that's not standard about your xwindows install? It show up for me and I took defaults when I installed Ubuntu Desktop v18

      For now you can use some other editor to edit commands.json.

    • RussR

      Running the Linux foreground agent without X-Windows

      • • Russ
      2
      1
      Votes
      2
      Posts
      1.4k
      Views

      S

      If you want this to load at system boot - be sure to enable the triggercmdagent,service

      sudo systemctl enable triggercmdagent,service

    • RussR

      Arch Linux install

      • • Russ
      4
      0
      Votes
      4
      Posts
      666
      Views

      Craig OKC

      @Tiago-Mรกrtires Pretty much the same thing but I added this line to crontab:

      @reboot node /usr/share/triggercmdagent/resources/app/src/agent.js &
    • RussR

      Install the background agent on a headless Linux server

      • • Russ
      1
      0
      Votes
      1
      Posts
      210
      Views

      No one has replied

    • William MendesW

      How to use TRIGGERcmd with root

      • • William Mendes
      2
      0
      Votes
      2
      Posts
      217
      Views

      RussR

      @William-Mendes, you prefix your command with sudo to run it as root. Like this:

      sudo /usr/local/bin/yourscript.sh

      You'll need to add a line like this to your /etc/sudoers file so the TRIGGERcmd foreground agent can run the commands with sudo without a password prompt:

      wmendes ALL = NOPASSWD: /bin/systemctl restart httpd.service, /bin/kill, /usr/local/bin/yourscript.sh

      This article does a good job of explaining the sudoers file.

    • Kelvin FerrazK

      Difficulties to run commands with parameters in linux

      • • Kelvin Ferraz
      6
      0
      Votes
      6
      Posts
      336
      Views

      RussR

      @Kelvin-Ferraz, awesome. I'm glad it's working.

    • RussR

      Linux install without X-Windows

      • • Russ
      5
      0
      Votes
      5
      Posts
      253
      Views

      RussR

      Thanks @pirates. I just fixed it.

    • P

      Problem running on Manjaro KDE

      • • PedroMartins
      12
      0
      Votes
      12
      Posts
      239
      Views

      RussR

      @PedroMartins, good. Sorry about the incompatibility.

    • Dean McNaughtonD

      Help with Trigger for Ubuntu

      • • Dean McNaughton
      3
      0
      Votes
      3
      Posts
      148
      Views

      Dean McNaughtonD

      @russ

      I'm using chrome and it worked with the following:

      google-chrome /home/dmcnaugh/Downloads/Alarm_Arm.html

      Thank you, Russ!

    • Michael FigueroaM

      docker-compose.yaml example

      • • Michael Figueroa
      2
      0
      Votes
      2
      Posts
      94
      Views

      RussR

      @Michael-Figueroa,

      I see @Andy-Kutruff posted one here.

    • S

      Zorin OS

      • • Smart Communities
      3
      0
      Votes
      3
      Posts
      114
      Views

      S

      @Russ thanks Russ. I'm a super beginner with Linux but will give this a shot.

    • Neidson de OliveiraN

      Triggercmdagent don't open on Pop OS

      • • Neidson de Oliveira
      6
      0
      Votes
      6
      Posts
      77
      Views

      Neidson de OliveiraN

      @Russ It's working! ๐Ÿ‘๐Ÿฟ ๐Ÿ‘๐Ÿฟ Thank you very much!! ๐Ÿ’ช๐Ÿฟ

    • V

      Window buttons in wrong position

      • • vinaooo
      3
      0
      Votes
      3
      Posts
      28
      Views

      V

      @Steve-Lee I use ubuntu 23.04 and default gnome 44. the strangest thing is that it only occurs when I configure some applications to open through triggercmd.
      for example, I have configured a gnome-text-editor, which is in the screenshot, when I open it through alexa/triggercmd the error occurs, but nothing happens if I open it manually through the gnome menu. it also occurs with an application I wrote in python/gtk4 and another in python/gtk3, however the error does not occur when I open vscode

    • Sid BoswellS

      How do you load Triggercmd on boot on Ubuntu?

      • • Sid Boswell
      8
      0
      Votes
      8
      Posts
      357
      Views

      RussR

      ๐Ÿ˜Š Thanks @Avishai-Algrisi

    • J

      unable to install - dependencies not met (ubuntu 19.04)

      • • jasoncollege24
      6
      0
      Votes
      6
      Posts
      364
      Views

      RussR

      Thanks @Spiritus-Umbrarum. I'm working on updating the TRIGGERcmd .deb linux installer so it won't depend on libgconf-2-4 or libgconf2-4 anymore, but thank you for sharing the work-around in the meantime.

      EDIT: I updated the Ubuntu agent so it no longer requires libgconf-2-4.

    • W

      Try to install in Ubuntu 23.10

      • • wu8de1q7k
      6
      0
      Votes
      6
      Posts
      63
      Views

      W

      @Russ thanks you now works