Below are two ways to run blink1-tool
to control blink(1) on a Chromebox via the command-line.
To get a command-line, you need to enable developer mode on the Chromebox.
sudo mkdir -p /usr/local/bin
cd /usr/local/bin
curl -OL https://github.com/todbot/blink1/releases/download/v1.98a/blink1-tool-v1.98a-linux-x86_64.zip
sudo unzip blink1-tool*zip
sudo /usr/local/bin/blink1-tool --blink 3
Note you must place blink1-tool
in /usr/local and not the user directory because the user dir
is mounted noexec. And you have to run it with sudo
because udev permissions aren't set up.
Alternatively, if you want to compile blink1-tool by hand, you can install Chromebrew (https://github.com/skycocker/chromebrew) and do:
crew install libusb
mkdir /usr/local/projects && cd /usr/local/projects
git clone https://github.com/todbot/blink1
cd blink1/commandline
make
sudo ./blink1-tool --blink 3