summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-system/LinHES-session
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2013-01-11 22:43:37 (GMT)
committerJames Meyer <james.meyer@operamail.com>2013-01-11 22:43:37 (GMT)
commite91a04796733c19b1fafab5ec974c4aeb11eca3c (patch)
tree85cca5d6c0c2b3159995a3f76dd6b549e86cc543 /abs/core/LinHES-system/LinHES-session
parent3d0a10290106d0da8902bd4b7b622eb7c66adf2e (diff)
downloadlinhes_pkgbuild-e91a04796733c19b1fafab5ec974c4aeb11eca3c.zip
linhes_pkgbuild-e91a04796733c19b1fafab5ec974c4aeb11eca3c.tar.gz
linhes_pkgbuild-e91a04796733c19b1fafab5ec974c4aeb11eca3c.tar.bz2
LinHES-system: make E and enhanced the default windowmanger. As a side effect supplemental web also becomes the default.
refs #895
Diffstat (limited to 'abs/core/LinHES-system/LinHES-session')
-rwxr-xr-xabs/core/LinHES-system/LinHES-session43
1 files changed, 26 insertions, 17 deletions
diff --git a/abs/core/LinHES-system/LinHES-session b/abs/core/LinHES-system/LinHES-session
index e181a1a..01768bd 100755
--- a/abs/core/LinHES-system/LinHES-session
+++ b/abs/core/LinHES-system/LinHES-session
@@ -3,6 +3,13 @@ MYTH_RUN_STATUS="1"
. /etc/profile
. /etc/systemconfig
+
+#set some defaults, then override from /etc/X11/WINDOWMANAGER
+configdir="/usr/share/wm_data"
+WM="e16 -P $configdir/e16_config_dir/"
+STARTUP_STYLE=enhanced
+
+
if [ -e /etc/X11/WINDOWMANAGER ]
then
. /etc/X11/WINDOWMANAGER
@@ -129,7 +136,7 @@ function fluxbox_settings(){
then
echo "setting symlink fluxbox"
configdir=/usr/share/fluxbox_settings
- ln -s $configdir /root/.fluxbox
+ ln -s $configdir $HOME/.fluxbox
fi
}
@@ -238,7 +245,7 @@ function update_apple_trailers(){
function first_configure(){
- if [ x$STARTUP_STYLE = xenhanced ]
+ if [ ! x$STARTUP_STYLE = xlegacy ]
then
first_configure_mv
else
@@ -351,7 +358,7 @@ function start_myth() {
fi
#continue on with starting mythtv
- if [ x$STARTUP_STYLE = xenhanced ]
+ if [ ! x$STARTUP_STYLE = xlegacy ]
then
start_myth_mv
else
@@ -398,7 +405,7 @@ function run_myth(){
killall -9 irexec
/usr/bin/irexec -d
- if [ x$STARTUP_STYLE = xenhanced ]
+ if [ ! x$STARTUP_STYLE = xlegacy ]
then
run_wmctrl &
@@ -427,18 +434,19 @@ function set_background()
}
-if [ x"$WM" = "xdefault" ]
-then
-# fluxbox > /var/log/fluxbox.log 2>&1
- WM=fluxbox
-fi
-
-
-if [ x"$WM" = "x" ]
-then
-# fluxbox > /var/log/fluxbox.log 2>&1
- WM=fluxbox
-fi
+# if [ x"$WM" = "xdefault" ]
+# then
+# # fluxbox > /var/log/fluxbox.log 2>&1
+# WM=fluxbox
+# fi
+#
+#
+# if [ x"$WM" = "x" ]
+# then
+# # fluxbox > /var/log/fluxbox.log 2>&1
+# WM=fluxbox
+# fi
+#
if [ $WM = "fluxbox" ]
then
@@ -446,6 +454,7 @@ then
fi
+
#if using mythvantage style, start the WM right away
# this is done so that starting mythtv can loop.
$WM &
@@ -467,7 +476,7 @@ start_myth
# wait for the windowmanger
#This will make the session wait on the WM to exit.
-if [ x$STARTUP_STYLE != xenhanced ]
+if [ x$STARTUP_STYLE = xlegacy ]
then
wait $pid
fi