Zorin OS
-
Can I run triggercmd on Zorin OS? FYI, I'm a total beginner when it comes to Linux.
I was able to install but nothing happens when I click on it. I installed via download link on triggercmd.com. Device is listed when I log in to triggercmd.com
What did I do wrong?
Also confirming triggers can only be added on the device it's to be used on. I can't add it through the site and have it pushed. That correct?
-
@Smart-Communities, I haven't tried Zorin OS yet. I'm downloading it now. I'll give it a try soon.
I think you installed and ran the TRIGGERcmd agent, but I think you didn't leave it running. So when you tried to run your commands on the computer they didn't run because the agent wasn't running.
Also, that's true - you can't create commands from the website. You have to either edit the text in the commands.json file manually, or use the GUI editor.
These are the Ubuntu instructions. I read that Zorin is based on Ubuntu.
EDIT: I tried it. Unfortunately it didn't work to just run triggercmdagent but you can run it like this in a Terminal window:
Run this first to install nodejs:
sudo apt install nodejs -yThen you can run the agent in foreground mode like this:
node /usr/lib/triggercmdagent/resources/app/src/agent.js --consoleYou can install the background agent to start as root when Zorin OS boots like this:
sudo su - node /usr/lib/triggercmdagent/resources/app/src/agent.js --console (CTRL-C after pasting in the token) sh /usr/lib/triggercmdagent/resources/app/src/installdaemon.shBecause that agent is running in background mode, It will only run commands with ground = background in your /root/.TRIGGERcmdData/commands.json file.
-
@Russ thanks Russ. I'm a super beginner with Linux but will give this a shot.
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