启动树莓派时启动应用程序

问题描述 投票:0回答:2

我目前正在创建一个街机柜项目,因此我为此使用了 Raspberry Pi 4 B 或 Raspberry Pi 3 B。该游戏在网络应用程序上运行。

我想在启动Raspberry Pi时直接全屏启动Web应用程序,而不需要PC感觉(操作系统身份验证,操作系统桌面)。

有人知道如何在启动Raspberry Pi时直接全屏启动Web应用程序吗?

raspberry-pi raspberry-pi3 raspberry-pi4
2个回答
2
投票

打开终端写入这段代码

sudo nano /etc/xdg/lxsession/LXDE-pi/autostart

然后;

@chromium-browser --start-fullscreen http://localhost **全屏

@chromium-browser --kiosk --disable-infobars http://localhost **全屏且无错误

然后 CTRL+X ,重新启动...


-1
投票

您还可以使用全页操作系统版本。 它将直接启动到您指定的 URL 链接。

https://github.com/guysoft/FullPageOS

© www.soinside.com 2019 - 2024. All rights reserved.