From d65317d31692d0326c7d0f69366d10ec63011730 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Mon, 7 Aug 2017 18:20:55 +0000
Subject: web-on-linhes: use wmctrl to make sure chrome is fullscreen

remove Google Spotlight
---
 abs/extra/web-on-linhes/PKGBUILD              | 6 +++---
 abs/extra/web-on-linhes/web-on-linhes.sh      | 1 +
 abs/extra/web-on-linhes/web-on-linhes_is.conf | 8 --------
 3 files changed, 4 insertions(+), 11 deletions(-)

diff --git a/abs/extra/web-on-linhes/PKGBUILD b/abs/extra/web-on-linhes/PKGBUILD
index 660efb5..0a28e81 100644
--- a/abs/extra/web-on-linhes/PKGBUILD
+++ b/abs/extra/web-on-linhes/PKGBUILD
@@ -3,7 +3,7 @@
 
 pkgname=web-on-linhes
 pkgver=1.3
-pkgrel=2
+pkgrel=3
 pkgdesc="Added multiple websites with 10' UIs to Play Online Streams."
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -19,5 +19,5 @@ package() {
     #add in file for gen_is.xml
     install -D -m0744 ${srcdir}/web-on-linhes_is.conf ${pkgdir}/etc/gen_is_xml.d/web-on-linhes_is.conf
 }
-md5sums=('c38cbf334b0b6c35a1fd49da9924a0f5'
-         '475addc194b389ecc4bc5cde3aa5a8ea')
+md5sums=('3691faa7118ac1251c959d3bcfcba85f'
+         '61cafa7e7a11b1387202b6ef908105a7')
diff --git a/abs/extra/web-on-linhes/web-on-linhes.sh b/abs/extra/web-on-linhes/web-on-linhes.sh
index 115d0b0..48414e9 100644
--- a/abs/extra/web-on-linhes/web-on-linhes.sh
+++ b/abs/extra/web-on-linhes/web-on-linhes.sh
@@ -7,6 +7,7 @@ irxPID=$!
 stop_xss.sh &
 xssPID=$!
 #Launches chrome in full screen
+(sleep 1; wmctrl -r "Google Chrome" -b add,fullscreen) &
 google-chrome --no-first-run --kiosk $@
 #Once done, stops irxevent and stop_xss.sh
 kill $irxPID
diff --git a/abs/extra/web-on-linhes/web-on-linhes_is.conf b/abs/extra/web-on-linhes/web-on-linhes_is.conf
index 27d0dcb..982bd8e 100755
--- a/abs/extra/web-on-linhes/web-on-linhes_is.conf
+++ b/abs/extra/web-on-linhes/web-on-linhes_is.conf
@@ -9,14 +9,6 @@
   <!--#WebOnTV-->
      <button>
        <type>STREAM</type>
-       <text>Google Spotlight</text>
-       <action>EXEC /usr/LH/bin/web-on-linhes.sh http://www.google.com/tv/spotlight-gallery.html</action>
-     </button>
-  <!--#WebOnTV-->
-
-  <!--#WebOnTV-->
-     <button>
-       <type>STREAM</type>
        <text>PBS Kids</text>
        <action>EXEC /usr/LH/bin/web-on-linhes.sh http://pbskids.org/video/</action>
      </button>
-- 
cgit v0.12

