From 875818ebef13a35221efe54c1778b9bb37d79f82 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Wed, 15 Feb 2023 18:12:11 -0500
Subject: linhes-system: lh_system_start.sh: don't restart plasma on first run

lh_myth_status.py: don't run alerts
---
 linhes/linhes-system/PKGBUILD           |  6 +++---
 linhes/linhes-system/lh_myth_status.py  |  2 +-
 linhes/linhes-system/lh_system_start.sh | 10 +++++-----
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/linhes/linhes-system/PKGBUILD b/linhes/linhes-system/PKGBUILD
index 2ab7f55..ab75da9 100755
--- a/linhes/linhes-system/PKGBUILD
+++ b/linhes/linhes-system/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=linhes-system
 pkgver=9.0.0
-pkgrel=45
+pkgrel=46
 arch=('x86_64')
 #install=$pkgname.install
 pkgdesc="Everything that makes LinHES a system"
@@ -31,10 +31,10 @@ sha256sums=('525bfe29b63d3ec5a17a32fa29745e24070020490c3f5b6dd6b03250348fb324'
             'c7a2b2de44645e3a905b39d7411e5b8b27b60bd2944533fd4655c3b175755da1'
             'ae34515e144830f424d3bd3f6b1b446892d62beed20bca6f0fb19b0bbb779f27'
             '5e6d128f879b0fe7c1a190cccd75d4e5d00afc161f3bc9e92ffa2d87242cc9df'
-            'd3ed5be75717b5c9e867b4303949295e4e9b5b7c8b1aaccd82d9caa575d810e5'
+            '7667518308cbb2ff7fbc52e6e0ba918b11ee04e5e26cee85d98297df4929da41'
             '6d4fb0ed1a5ed961b3a3884dce093118e50c2981a9cd5837d20abc5a6d4fd8aa'
             '87875d9e5f5ce18208f419698ce69b6bcbcd08955a57a4a13940e715af58b787'
-            '3b3d774701ee52054f6592258b98b9f18c3f7f9a93982ef07c7a3c7cf9445b82'
+            '93d664f4a46fda05d0f754d19df40cbda120e325b80c07092345b14763993833'
             '91bdec992bb2c933e15625c181f2195c402060b879168ebf35944cb064c904b9'
             '5cacfdd02833e5a3130d765573e772e6bd5030336ba86239c5e4db5ffa36fc69'
             'ebdb3ee0212e0cc72526bb5e50a032573e1894acb7bf75617243b0b49aa1f8f2'
diff --git a/linhes/linhes-system/lh_myth_status.py b/linhes/linhes-system/lh_myth_status.py
index ea8c6f2..c682d1c 100755
--- a/linhes/linhes-system/lh_myth_status.py
+++ b/linhes/linhes-system/lh_myth_status.py
@@ -264,7 +264,7 @@ def go():
         tuner.print_upcoming_recordings()
         tuner.print_conflict_list()
         tuner.print_next_start_time()
-    print_alerts()
+    #print_alerts()
 
 
 if __name__ == "__main__":
diff --git a/linhes/linhes-system/lh_system_start.sh b/linhes/linhes-system/lh_system_start.sh
index 36f173c..5e84bc6 100755
--- a/linhes/linhes-system/lh_system_start.sh
+++ b/linhes/linhes-system/lh_system_start.sh
@@ -18,9 +18,9 @@ function check_installer_user(){
 
 function applyUIsettings(){
     cp /usr/share/linhes/templates/plasma-org.kde.plasma.desktop-appletsrc ~/.config/
-    #restart plasma
-    kquitapp5 plasmashell
-    kstart5 plasmashell > /dev/null 2>&1
+    #restart plasma - disable as it seems to stop execution of this script
+    #kquitapp5 plasmashell
+    #kstart5 plasmashell > /dev/null 2>&1
     plasma-apply-colorscheme BreezeDark
     kwriteconfig5 --group KDE --key SingleClick false
     kwriteconfig5 --file ~/.config/kscreenlockerrc --group Daemon --key Autolock false
@@ -73,7 +73,7 @@ function install_lh_apps(){
         sleep 5
     done
     msg "Installing apps."
-    konsole -e /bin/bash -i -c "sudo pacman -Syyy --noconfirm archlinux-keyring && sudo pacman -Syyy --noconfirm mythtv mythplugins-mytharchive mythplugins-mythmusic mythplugins-mythweb && flatpak install tv.plex.PlexHTPC --noninteractive --assumeyes"
+    konsole -e /bin/bash -i -c "sudo pacman -Syyy --noconfirm archlinux-keyring && sudo pacman -Syyy --noconfirm mythtv mythplugins-mytharchive mythplugins-mythmusic mythplugins-mythweb && flatpak install tv.plex.PlexHTPC --noninteractive --assumeyes && sudo flatpak override tv.plex.PlexHTPC --filesystem=/run/lirc/lircd"
     #sudo pacman -Syyy --noconfirm archlinux-keyring
     #sudo pacman -Syyy --noconfirm flatpak firefox glances mlocate mythtv mythplugins-mytharchive mythplugins-mythmusic mythplugins-mythweb ncdu x11vnc
     #sudo pacman -Syyy --noconfirm mythtv mythplugins-mytharchive mythplugins-mythmusic mythplugins-mythweb
@@ -103,9 +103,9 @@ function localweb_setup(){
 
 function first_configure(){
     if [ ! -f ~/.config/lh_configured ]; then
+        msg "New install of LinHES. Starting setup."
         #apply settings for all system types
         applyUIsettings
-        msg "New install of LinHES. Starting setup."
         install_lh_apps
         nanorc_setup
         bashrc_setup
-- 
cgit v0.12

