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
@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.
@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.
@Nn-Nn i found my own answer it was a little research for it but it works
i had shamed for this but the answer it was change the parameters of commands to work in this so like : i want open firefox then i go terminal an type firefox and "tada" this work in the parametres thaks.
and i insist sorry for my bad english.