Skip to content

Latest commit

 

History

History
executable file
·
27 lines (22 loc) · 533 Bytes

树莓派开机启动chrome并全屏.md

File metadata and controls

executable file
·
27 lines (22 loc) · 533 Bytes

树莓派开机启动chrome并屏

tags: [#树莓派, #chrome, #全屏]

  • 进入autostart文件夹:
cd /home/pi/.config
mkdir autostart
cd autostart
  • 在[autostart]目录中新建名为my.desktop的文件:
sudo vi my.desktop

文件内容:

[Desktop Entry]
Type=Application
Exec=chromium-browser  --disable-popup-blocking --no-first-run --disable-desktop-notifications  --kiosk "http://www.aifei.com/"

上面的网址可以修改成自己需要的URL, 保存退出, 重启:

sudo reboot