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.