summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-config/mv_supplemental.py
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-04-30 02:32:29 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-04-30 02:32:29 (GMT)
commitfa5050305cbbdcb9c361307f50731b0a5a444636 (patch)
tree30797834c22527be56db2b0fb5c640a34dfcb53c /abs/core/LinHES-config/mv_supplemental.py
parent5fa5144e2853520b7804d9f42652abd97106b974 (diff)
downloadlinhes_pkgbuild-fa5050305cbbdcb9c361307f50731b0a5a444636.zip
linhes_pkgbuild-fa5050305cbbdcb9c361307f50731b0a5a444636.tar.gz
linhes_pkgbuild-fa5050305cbbdcb9c361307f50731b0a5a444636.tar.bz2
LinHES-config: hookup supplemental and correct dolphinemu,webonlinhes so that it doesn't use hyphons.
Diffstat (limited to 'abs/core/LinHES-config/mv_supplemental.py')
-rw-r--r--abs/core/LinHES-config/mv_supplemental.py38
1 files changed, 38 insertions, 0 deletions
diff --git a/abs/core/LinHES-config/mv_supplemental.py b/abs/core/LinHES-config/mv_supplemental.py
new file mode 100644
index 0000000..a09cce9
--- /dev/null
+++ b/abs/core/LinHES-config/mv_supplemental.py
@@ -0,0 +1,38 @@
+# -*- coding: utf-8 -*-
+import logging, mv_common
+import os, re
+
+config_file = "mv_config"
+
+def windowmanager(systemconfig):
+ logging.info("____Start of windowmanager setup____")
+ try:
+ windowmanager = systemconfig.get("windowmanager")
+ except:
+ windowmanager = "default"
+ return
+
+ if windowmanager == "" :
+ windowmanager = "default"
+ try:
+ style = systemconfig.get("EnhancedWMStyle")
+ except:
+ style = ""
+
+ if style == "1" and windowmanager != "default" :
+ style = "mythvantage"
+ else:
+ style = ""
+
+ mv_common.pacinstall("alt_wm")
+ cmd = '''/usr/LH/bin/set_windowmanager.sh %s %s ''' %(windowmanager,style)
+ print cmd
+ mv_common.runcmd(cmd)
+ logging.info("__End of windowmanager \n")
+
+
+def supplemental(systemconfig):
+ logging.info("____Start of supplemental config ____")
+ cmd='''/usr/LH/bin/install_supplemental_service.sh'''
+ mv_common.runcmd(cmd)
+ logging.info("__End of supplemental\n") \ No newline at end of file