disables touchscreen pinch, updates documentation
This commit is contained in:
parent
5a0afce81f
commit
9a50378504
|
|
@ -58,7 +58,7 @@ print " Raspberry Pi Zero 2 W or WH"
|
|||
print " Raspberry Pi 3 Model A+, B or B+"
|
||||
print " Raspberry Pi 4 Model B"
|
||||
print
|
||||
print "You should only run this script on a SD Card that contains Raspberry Pi OS 10 (Lite)"
|
||||
print "You should only run this script on a SD Card that contains Raspberry Pi OS (Lite)"
|
||||
print "and does not contain any important data."
|
||||
|
||||
if [[ -f "/etc/os-release" ]]; then
|
||||
|
|
|
|||
|
|
@ -12,4 +12,4 @@ openbox-session &
|
|||
# Start Chromium in kiosk mode
|
||||
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
|
||||
chromium-browser --disable-infobars --kiosk --noerrdialogs --disable-session-crashed-bubble --check-for-update-interval=604800 --app="http://127.0.0.1/#:kiosk:"
|
||||
chromium-browser --disable-infobars --kiosk --noerrdialogs --disable-session-crashed-bubble --disable-pinch --check-for-update-interval=604800 --app="http://127.0.0.1/#:kiosk:"
|
||||
|
|
|
|||
Loading…
Reference in New Issue