Can not install Triggercmd on Rasbian Raspberry Pi

  • I just go my Raspberry Pi. This is the first program I am trying to install.

    I tried using the terminal and following the instructions to download and install. I get an errors were encountered while processing.

    I tried downloading by clicking the link on the website (non- GUI) and then click download and try to install but it gets stuck on installing packages.

    I am at loss as what to do next. Everything I try is a dead end.

    Please help


  • @rexabbot, are you using Putty to SSH to the Pi or are you using X-Windows? I hope you're using Putty because it would make it easier to copy/paste the output of your commands here.

    Please run these commands and post the output:

    You can exclude the output of these commands because it would be too much info:

    apt-get -y update
    apt-get -y upgrade

    Also, please show me the output of this command:

    cat /proc/cpuinfo | grep 'Revision' | awk '{print $3}'

    I want to check what type of Raspberry Pi you have.

  • Thank you for the quick reply.

    I am having problems copying from putty. I have tried ctrl shift C and ctrl shift V.

    Also to I select reply on the web page you gave me to open a reply to paste to?


  • I have had some success.

    I am up to the step to enter my token. Where do I get that?

    Thanks, Rex

  • @rexabbot that's great. You're almost there. You can get the token from the Instructions page after you log in at

  • I have logged in.

    Where do I find the token please.


  • Ok sorry but I am slowly getting it.

    Found the token.

    I still dont know how to copy and paste to putty from the web browser.


  • Control Shift V work in the terminal but not putty.

    I am now conntect.

    Thanks, Rex

  • I am not seeing my tray icon.

    What should I do to get that to show?

    Thanks, Rex

  • @rexabbot. the tray icon is only part of the GUI (graphical user interface) versions of the agent. The Raspberry Pi version does not include a GUI. You have to edit your ~/.TRIGGERcmdData/commands.json file with vi or pico like this:

    pico ~/.TRIGGERcmdData/commands.json 

    The Raspberry Pi version would generally only run background commands via the daemon that you install with this command:


    What commands are you planning to run on your Pi via TRIGGERcmd? I use mine to open my garage doors and wake up my PC remotely. Let me know if you have any other cool ideas.

    BTW, to copy text from a Putty window, you just have to select it with your mouse. It automatically copies it so you can paste it.

  • Thanks again for the help!

    I am using Triggercmd to control my x10 lamp modules and light switches. I have quite a few left over.

    I am now using some wemo plugs.

    Home automation is addictive, so I am sure I will do a lot more later after I get a more stable environment with what I have so far.

    It is fun!


  • Can the GUI form of Triggercmd be on installed on Raspberry Pi 3?


  • @rexabbot, no, but if you want to run foreground commands that launch GUI application like a browser, you can open a terminal window within X-Windows, and run triggercmdagent. That will run the agent in foreground mode.

    Unfortunately you won't be able to use the GUI editor though, so you'll have to edit the commands.json file manually with vi or pico.

Log in to reply