attempt to make chromium work
This commit is contained in:
parent
45bddcac3d
commit
b03d756c46
2
hosts
2
hosts
|
@ -1,2 +1,2 @@
|
|||
[raspberrypi-kiosk]
|
||||
[raspberrypi_kiosk]
|
||||
raspberrypi.local ansible_user=pi ansible_password=raspberry ansible_become_method=sudo ansible_become_user=root
|
|
@ -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
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue