Blame SOURCES/0005-kiosk-script-Add-a-hint-about-using-firefox-to-the-k.patch

f5e75e
From eeb5eb5688fd55fad3bb7e07c250cdd1f580b5ca Mon Sep 17 00:00:00 2001
f5e75e
From: Ray Strode <rstrode@redhat.com>
f5e75e
Date: Wed, 11 Aug 2021 15:05:22 -0400
f5e75e
Subject: [PATCH 5/6] kiosk-script: Add a hint about using firefox to the kiosk
f5e75e
 script
f5e75e
f5e75e
Many kiosk deployments are going to use a web browser, so it makes
f5e75e
sense to give a hint about how to do that.
f5e75e
f5e75e
This commit suggests firefox --kiosk in the script comment
f5e75e
---
f5e75e
 kiosk-script/gnome-kiosk-script | 1 +
f5e75e
 1 file changed, 1 insertion(+)
f5e75e
f5e75e
diff --git a/kiosk-script/gnome-kiosk-script b/kiosk-script/gnome-kiosk-script
f5e75e
index b595cd8..989af41 100755
f5e75e
--- a/kiosk-script/gnome-kiosk-script
f5e75e
+++ b/kiosk-script/gnome-kiosk-script
f5e75e
@@ -1,23 +1,24 @@
f5e75e
 #!/usr/bin/sh
f5e75e
 
f5e75e
 if [ ! -e ~/.local/bin/gnome-kiosk-script ]; then
f5e75e
     mkdir -p ~/.local/bin ~/.config
f5e75e
     cat > ~/.local/bin/gnome-kiosk-script <<- "EOF"
f5e75e
 	#!/bin/sh
f5e75e
 	# This script is located in ~/.local/bin.
f5e75e
 	# It's provided as an example script to show how
f5e75e
 	# the kiosk session works.  At the moment, the script
f5e75e
 	# just starts a text editor open to itself, but it
f5e75e
 	# should get customized to instead start a full screen
f5e75e
 	# application designed for the kiosk deployment.
f5e75e
+	# e.g., firefox --kiosk https://www.google.com
f5e75e
 	gedit ~/.local/bin/gnome-kiosk-script
f5e75e
 
f5e75e
 	sleep 1.0
f5e75e
 	exec "$0" "$@"
f5e75e
 EOF
f5e75e
 
f5e75e
     chmod +x ~/.local/bin/gnome-kiosk-script
f5e75e
     touch ~/.config/gnome-initial-setup-done
f5e75e
 fi
f5e75e
 
f5e75e
 exec ~/.local/bin/gnome-kiosk-script "$@"
f5e75e
-- 
f5e75e
2.31.1
f5e75e