方法一
1.安装Google的Chrome浏览器(最新镜像自带chromium-browser):
wget http://ftp.us.debian.org/debian/pool/main/libg/libgcrypt11/libgcrypt11_1.5.0-5+deb7u3_armhf.deb
wget http://launchpadlibrarian.net/218525709/chromium-browser_45.0.2454.85-0ubuntu0.14.04.1.1097_armhf.deb
wget http://launchpadlibrarian.net/218525711/chromium-codecs-ffmpeg-extra_45.0.2454.85-0ubuntu0.14.04.1.1097_armhf.deb
sudo dpkg -i libgcrypt11_1.5.0-5+deb7u3_armhf.deb
sudo dpkg -i chromium-codecs-ffmpeg-extra_45.0.2454.85-0ubuntu0.14.04.1.1097_armhf.deb
sudo dpkg -i chromium-browser_45.0.2454.85-0ubuntu0.14.04.1.1097_armhf.deb
二. 配置图形界面中需要启动的Chrome:
cd /home/pi/.config
mkdir autostart
cd autostart
三. 新建文件
sudo vim chromium-browser.desktop
[Desktop Entry]
Type=Application
Exec=chromium-browser --disable-popup-blocking --no-first-run --disable-desktop-notifications --kiosk "http://www.baidu.com/"
四. 重启 sudo reboot
方法二.
vim /home/pi/autostart.sh
写入以下内容#!/bin/bash
/usr/bin/chromium-browser --disable-popup-blocking --no-first-run --disable-desktop-notifications --incognito --kiosk "http://www.url.com/"
vim /home/pi/.config/lxsession/LXDE-pi/autostart
写入@/home/pi/autostart.sh