Outils pour utilisateurs

Outils du site


msprdv

https://desertbot.io/blog/raspberry-pi-4-touchscreen-kiosk-setup-64-bit-bullseye https://pimylifeup.com/raspberry-pi-kiosk/

sudo apt-get install --no-install-recommends xserver-xorg x11-xserver-utils xinit lightdm openbox 

sudo apt-get install dunst python3-pip 

pip install pyinput

Default to desktop no autologin from raspi-config

sudo apt-get install --no-install-recommends chromium-browser

/etc/xdg/openbox/autostart

xset -dpms            # turn off display power management system
xset s noblank        # turn off screen blanking
xset s off            # turn off screen saver

# Remove exit errors from the config files that could trigger a warning

sed -i 's/"exited_cleanly":false/"exited_cleanly":true/' ~/.config/chromium/'Local State'

sed -i 's/"exited_cleanly":false/"exited_cleanly":true/; s/"exit_type":"[^"]\+"/"exit_type":"Normal"/' ~/.config/chromium/Default/Preferences

# Run Chromium in kiosk mode
chromium-browser  --noerrdialogs --disable-infobars --check-for-update-interval=31536000 --kiosk $KIOSK_URL

/etc/xdg/openbox/environment

export KIOSK_URL=https://www.msp-roanne.fr/

~/.bash_profile

[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && startx --
  1. Disable rainbow: Set disable_splash=1 in /boot/config.txt
  2. Disable Pi logo's: Add logo.nologo to the /boot/cmdline.txt file
  3. Mute kernel logs (only show critical errors): Add loglevel=3 to the /boot/cmdline.txt file
  4. Remove blinking cursor: Add vt.global_cursor_default=0 to the /boot/cmdline.txt file
msprdv.txt · Dernière modification : 2022/06/19 07:15 de ptitfrap