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

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