gearSystem Config

System Configuration

If you don't have the BrainPack, you can skip this section.

Screen Animation Service

To enable the screen animation service, install unclutter first to hide the mouse cursor:

sudo apt install unclutter

Then, add the script to /usr/local/bin/start-kiosk.sh and make it executable:

#!/bin/bash

unclutter -display :0 -idle 0.1 -root &

HOST=localhost
PORT=4173

# Wait for Docker service to listen
while ! nc -z $HOST $PORT; do
  echo "Waiting for $HOST:$PORT..."
  sleep 0.1
done

# Launch with autoplay permissions
exec chromium \
  --kiosk http://$HOST:$PORT \
  --start-fullscreen \
  --disable-infobars \
  --noerrdialogs \
  --autoplay-policy=no-user-gesture-required \
  --disable-features=PreloadMediaEngagementData,MediaEngagementBypassAutoplayPolicies \
  --no-first-run \
  --disable-session-crashed-bubble \
  --disable-translate \
  --window-position=0,0

Make it executable:

Add the script to /etc/systemd/system/kiosk.service to launch the kiosk mode automatically on boot.

Note: To stop the kiosk service, use sudo systemctl stop kiosk.service.

AEC Service

To enable the Acoustic Echo Cancellation (AEC) service, uninstall PipWire if it's installed and install PulseAudio

Then install PulseAudio:

Next, stop the PipWire daemon and start the PulseAudio daemon if it's not already running:

Next, add the script to prevent PulseAudio from going into auto-exit mode.

Now, you can restart the system to ensure PulseAudio is running properly.

[!Note] After reboot, if the audio devices are not automatically detected, you may need to manually start PulseAudio with the command:

Now, you can add the script to /usr/local/bin/set-audio-defaults.sh and make it executable:

Use the following command to get the list of audio sources and sinks:

Note:

Replace alsa_output.platform-88090b0000.had.hdmi-stereo with your speaker source and alsa_input.usb-R__DE_R__DE_VideoMic_GO_II_FEB0C614-00.mono-fallback with mic source

Make it executable:

Create a systemd user service to run the script on login:

Add the following content:

Once you're done with above steps, you can proceed with OTA setup here

Last updated

Was this helpful?