Last active
November 21, 2023 08:55
-
-
Save lorenzoferrarajr/cd6a102e937454358233f1957245838b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Start Chromium GUI | |
After=nginx.service php5-fpm.service mpd.service | |
[Service] | |
Type=simple | |
ExecStart=/opt/start-gui | |
User=pi | |
[Install] | |
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
/usr/bin/xinit /usr/bin/chromium-browser --kiosk --touch-events --disable-touch-drag-drop --enable-touchview --enable-pinch --window-size=800,480 --window-position=0,0 --disable-session-crashed-bubble --disable-infobars --no-first-run --app=http://localhost/ -- -nocursor |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment