Advertisement
3ptecnologia

InstallChrome

Aug 19th, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. sudo rm -r ~/.config/chromium
  4. #sudo dpkg -r chromium-browser
  5. #sudo dpkg -i /home/pi/Downloads/chromium-browser.deb
  6.  
  7. sudo amixer cset numid=3 2
  8. sudo amixer set PCM -- 100%
  9.  
  10. for i in `seq 0 10`;
  11. do
  12. chromium-browser --kiosk --no-first-run --fast --fast-start --disable-popup-blocking --disable-infobars --disable-session-crashed-bubble --disable-tab-switcher --disable-translate --enable-low-res-tiling "http://192.168.1.100/chamafila"
  13. sed -i 's/"exited_cleanly": false/"exited_cleanly": true/' ~/.config/chromium/Default/Preferences
  14. sed -i 's/"exit_type": "Crashed"/"exit_type": "None"/' ~/.config/chromium/Default/Preferences
  15. done
  16.  
  17. sudo reboot -h now
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement