1
0
Fork 0

attempt to make chromium work

This commit is contained in:
Massaki Archambault 2023-11-06 23:36:48 -05:00
parent 45bddcac3d
commit b03d756c46
3 changed files with 6 additions and 4 deletions

2
hosts
View File

@ -1,2 +1,2 @@
[raspberrypi-kiosk]
[raspberrypi_kiosk]
raspberrypi.local ansible_user=pi ansible_password=raspberry ansible_become_method=sudo ansible_become_user=root

View File

@ -1,4 +1,4 @@
- name: Perform system update
- name: Perform system upgrades
apt:
update_cache: true
upgrade: dist
@ -16,7 +16,8 @@
name:
- cage
- xwayland
# - gtk3-nocsd
- gtk3-nocsd
- midori
- chromium-browser
environment:
http_proxy: "{{ proxy.http_proxy }}"
@ -36,11 +37,11 @@
HTTPS_PROXY="{{ proxy.https_proxy }}"
no_proxy="{{ proxy.no_proxy }}"
NO_PROXY="{{ proxy.no_proxy }}"
notify: Reboot
- name: Configure autologin
command: raspi-config nonint do_boot_behaviour B2
- name: Install kiosk script
template:
src: kiosk.sh.j2

View File

@ -3,6 +3,7 @@
if [ "$(tty)" = "/dev/tty1" ]; then
while true; do
GTK_CSD=0 cage -d -s -- midori -e fullscreen -a {{ kiosk_url }}
#cage -d -s -- chromium-browser --noerrdialogs --disable-infobars --kiosk {{ kiosk_url }}
sleep 1
done
fi