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

      Start a simple web server on Linux
      • Russ

      1
      0
      Votes
      1
      Posts
      1563
      Views

      No one has replied

    • T

      Turn Computer Monitors On
      • Tony Bineyard

      2
      0
      Votes
      2
      Posts
      2107
      Views

      Russ

      Thanks @tony-bineyard. I added this to the list of examples that show up in the agent GUI.

    • Russ

      Run a Jenkins job
      • Russ

      1
      0
      Votes
      1
      Posts
      676
      Views

      No one has replied

    • Russ

      Run the TRIGGERcmd linux agent in a Docker container
      • Russ

      1
      0
      Votes
      1
      Posts
      610
      Views

      No one has replied

    • frederico allan

      This topic is deleted!
      • frederico allan

      1
      0
      Votes
      1
      Posts
      3
      Views

      No one has replied

    • William Mendes

      Lock a Linux (Ubuntu / deb)
      • William Mendes

      1
      1
      Votes
      1
      Posts
      352
      Views

      No one has replied

    • Daniel Costa

      commands are not executed in debian
      error • • Daniel Costa

      2
      0
      Votes
      2
      Posts
      267
      Views

      Russ

      @Daniel-Costa, your commands work fine if you use the green Trigger button on the website, correct? Just not from Alexa?

      Does it work if you say, "Alexa, ask TRIGGERcmd to run calculator" ?

      Please give me more info, like what your command's Voice word is, and what exactly you're saying to Alexa.

      Check out this post for other ideas.

    • K

      Using on Debian Buster
      • kaligora

      5
      0
      Votes
      5
      Posts
      237
      Views

      Russ

      @kaligora said in Using on Debian Buster:

      /root/.TRIGGERcmdData

      I see you're not running X-Windows, or you're ssh'ed into your Linux box, so you can't run triggercmdagent because that would try to run the X-Windows GUI agent app.

      I see you installed it to run as a background agent though. That's good. You can edit your commands in /root/.TRIGGERcmdData/commands.json. Make sure they have "ground": "background" because the agent running in systemd runs in background mode.

      You can run one of these commands to edit that file:

      sudo vi /root/.TRIGGERcmdData/commands.json
      sudo pico /root/.TRIGGERcmdData/commands.json
      sudo nano /root/.TRIGGERcmdData/commands.json

    • Ricardo Horibe

      foreground and background
      • Ricardo Horibe

      2
      0
      Votes
      2
      Posts
      198
      Views

      Russ

      @Ricardo-Horibe, you the background agent adds, removes, and runs background commands. The foreground agent adds, removes, and runs foreground commands.

      On Windows you can install the background agent (aka service) like this:

      fb0e3a69-72df-490e-a326-bf795c509db3-image.png

      Use one of these commands to install the background agent (aka daemon) on Linux:

      sudo sh /usr/share/triggercmdagent/resources/app/src/installdaemon.sh
      sudo sh /usr/lib/triggercmdagent/resources/app/src/installdaemon.sh (newer Ubuntu OS's)

    • H

      TRIGGERcmd and telnet
      • hlywine

      6
      0
      Votes
      6
      Posts
      229
      Views

      Russ

      @hlywine, that's awesome! Thank you!

    • Roberto Mendes

      Lock your screen Ubuntu
      • Roberto Mendes

      1
      0
      Votes
      1
      Posts
      170
      Views

      No one has replied

    • F

      Add a command with a variable to play music
      • favancini

      2
      0
      Votes
      2
      Posts
      226
      Views

      Russ

      @favancini, with the original TRIGGERcmd or TRIGGER command google assistant action, the format of the voice commands are like this: "Hey Google, ask TRIGGERcmd (or TRIGGER command) to run X with parameter Y"

      So you could say something like this:

      "Hey Google, ask TRIGGERcmd to run album with parameter X." Where X is the name of your playlist.

      Your command could run a script that runs your Mp3 player with X as your playlist parameter.

    • Kadu_tbj

      Calculadora (calculator)
      • Kadu_tbj

      1
      0
      Votes
      1
      Posts
      173
      Views

      No one has replied

    • Kadu_tbj

      Editor
      • Kadu_tbj

      1
      0
      Votes
      1
      Posts
      74
      Views

      No one has replied

    • Kadu_tbj

      Facebook com firefox
      • Kadu_tbj

      1
      0
      Votes
      1
      Posts
      107
      Views

      No one has replied

    • Wladimir Perez

      Open Visual Studio Code
      • Wladimir Perez

      2
      0
      Votes
      2
      Posts
      192
      Views

      G

      Hi! The "code" command works perfectly on the mac terminal, but may not work on TriggerCMD. In not work, you can also try:

      Command: open -a "Visual Studio Code"

    • FredoFreedom

      Mute linux
      • FredoFreedom

      1
      0
      Votes
      1
      Posts
      77
      Views

      No one has replied

    • hermes deus grego

      Como eu posso desligar meu pc usando a alexa(Ubuntu)
      • hermes deus grego

      2
      0
      Votes
      2
      Posts
      848
      Views

      Russ

      @hermes-deus-grego, you can use the shutdown command to turn the Ubuntu PC off - that's the easy part.

      The harder part is using another computer on your network to turn the Ubuntu PC on via Wake-On-Lan. I use a Raspberry Pi because it doesn't require much power and it's always on. You could test it using your phone before investing in a Raspberry Pi using this app.

      I made this post about using Wake-On-Lan a while ago:
      https://www.triggercmd.com/forum/topic/49/turn-on-a-computer

    • F

      \ are disapearing
      • farol

      4
      0
      Votes
      4
      Posts
      95
      Views

      F

      @farol Nevermind. Found it.

    • T

      Turn Computer Monitors Off
      • Tony Bineyard

      8
      0
      Votes
      8
      Posts
      4036
      Views

      Jogador Extremo live

      I have two monitor, is there a way to turn off just my second monitor?