Skip to content

Autostart web browser on boot on specific URL in fullscreen mode #4168

Answered by williampiti
Kehino asked this question in Q&A
Discussion options

You must be logged in to vote

Hi(*゜▽゜)_□

Here’s a setup you can try to launch a web browser in kiosk mode with Termux on boot:

Steps:

  1. Install Termux:Boot: This addon allows scripts in the ~/.termux/boot/ directory to run automatically when the device boots. Install it from the Play Store or F-Droid if you haven’t already.

  2. Create a startup script: In Termux, create a new script in the boot directory by running:

mkdir -p ~/.termux/boot
nano ~/.termux/boot/start_kiosk.sh
  1. Script content: In your start_kiosk.sh file, add the following code. It uses the am start command to open Chrome (or your preferred browser) to a specified URL.

#!/data/data/com.termux/files/usr/bin/bash

Launch Chrome in kiosk mode to open a spe…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Kehino
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants