Skip to main content
Bumped by Community user
Bumped by Community user

I'm trying to write a bash script on raspbianRaspbian that will open a video URL in fullscreen, wait 2 minutes, then close the window

#!/bin/bash
chromium-browser <url> --start-fullscreen
sleep 120
pkill chromium

TheHowever, the code won't kill the chromium window.

I'm trying to write a bash script on raspbian that will open a video URL fullscreen, wait 2 minutes, then close the window

#!/bin/bash
chromium-browser <url> --start-fullscreen
sleep 120
pkill chromium

The code won't kill the chromium window

I'm trying to write a bash script on Raspbian that will open a video URL in fullscreen, wait 2 minutes, then close the window

#!/bin/bash
chromium-browser <url> --start-fullscreen
sleep 120
pkill chromium

However, the code won't kill the chromium window.

Source Link

Open URL with chromium then close after time

I'm trying to write a bash script on raspbian that will open a video URL fullscreen, wait 2 minutes, then close the window

#!/bin/bash
chromium-browser <url> --start-fullscreen
sleep 120
pkill chromium

The code won't kill the chromium window