Reputation: 4517
Can i run on the Google Coral devboad a chromium in kiosk mode with a virtual keyboard ?
On this exemple they run a chromium with a mouse.
Upvotes: 1
Views: 266
Reputation: 1757
MendelOs, the os on the dev board is just a derivative of Debian10 (buster). After some research, I found how how to do it (prior I have no idea what kiosk mode is):
sudo su
apt-get update
apt-get -y install unclutter xorg chromium openbox lightdm locales
groupadd kiosk
user add -m kiosk -g kiosk -s /bin/bash
mkdir -p /home/kiosk/.config/openbox
chown -R kiosk:kiosk
cat > /etc/lightdm/lightdm.conf << EOF
[SeatDefaults]
autologin-user=kiosk
EOF
cat > /home/kiosk/.config/openbox/autostart << EOF
#!/bin/bash
unclutter -idle 0.1 -grab -root &
while:
do
chromium \
--no-first-run \
--start-maximized \
--window-position=0,0 \
--window-size=1024,768 \
--disable \
--disable-translate \
--disable-infobars \
--disable-suggestions-service \
--disable-save-password-bubble \
--disable-session-crashed-bubble \
--incognito \
--kiosk "https://google.com/"
sleep 5
done &
EOF
Cheers
Upvotes: 1