summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-10-05 01:25:04 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-10-05 01:25:04 (GMT)
commitbf1016ccbfb7c04a4b1ffb0c09ccba068e73a9dd (patch)
tree99152e4a8cde4577b6fa387aa6b19525d1497f9f /abs/core
parent3b6edecc192dea64ff208f0f0322f88329ee7c05 (diff)
downloadlinhes_pkgbuild-bf1016ccbfb7c04a4b1ffb0c09ccba068e73a9dd.zip
linhes_pkgbuild-bf1016ccbfb7c04a4b1ffb0c09ccba068e73a9dd.tar.gz
linhes_pkgbuild-bf1016ccbfb7c04a4b1ffb0c09ccba068e73a9dd.tar.bz2
wmaker_settings: add sudo to mythvantage calls
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/wmaker_settings/GNUstep/Defaults/WMRootMenu11
-rw-r--r--abs/core/wmaker_settings/GNUstep/Defaults/myth_menu17
-rw-r--r--abs/core/wmaker_settings/GNUstep/Defaults/system_menu16
3 files changed, 26 insertions, 18 deletions
diff --git a/abs/core/wmaker_settings/GNUstep/Defaults/WMRootMenu b/abs/core/wmaker_settings/GNUstep/Defaults/WMRootMenu
index c09c64f..46c4f5b 100644
--- a/abs/core/wmaker_settings/GNUstep/Defaults/WMRootMenu
+++ b/abs/core/wmaker_settings/GNUstep/Defaults/WMRootMenu
@@ -2,6 +2,11 @@
"Window Maker",
(Applications, OPEN_MENU, "/usr/share/wm_data/GNUstep/Defaults/aux_menu"),
(MythTV, OPEN_MENU, "/usr/share/wm_data/GNUstep/Defaults/myth_menu"),
+ (
+ "System Configuration",
+ OPEN_MENU,
+ "/usr/share/wm_data/GNUstep/Defaults/system_menu"
+ ),
(Run..., EXEC, "%A(Run, Type command:)"),
(
Appearance,
@@ -135,7 +140,11 @@
("Save Session", SAVE_SESSION),
("Clear Session", CLEAR_SESSION)
),
- ("Regenerate application menu", EXEC, "/usr/share/wm_data/GNUstep/wm_menu.sh"),
+ (
+ "Regenerate application menu",
+ EXEC,
+ "/usr/share/wm_data/GNUstep/wm_menu.sh"
+ ),
("Configure Window Maker", EXEC, WPrefs),
("Info Panel", INFO_PANEL),
("Restart Window Maker", RESTART),
diff --git a/abs/core/wmaker_settings/GNUstep/Defaults/myth_menu b/abs/core/wmaker_settings/GNUstep/Defaults/myth_menu
index 444f9f1..e626aea 100644
--- a/abs/core/wmaker_settings/GNUstep/Defaults/myth_menu
+++ b/abs/core/wmaker_settings/GNUstep/Defaults/myth_menu
@@ -1,21 +1,4 @@
"Applications" MENU
"MythFrontend" EXEC mythfrontend
"MythTV setup" EXEC mythtv-setup
- "System configuration" MENU
- "Access " EXEC mythinstall -s accesscontrol
- "Network " EXEC mythinstall -s network
- "System Type " EXEC mythinstall -s hostype
- "Screensaver " EXEC mythinstall -s screensaver
- "Remotes " EXEC mythinstall -s ir
- "Add/Remove software " EXEC mythinstall -s plugins,software
- "Shutdown settings " EXEC mythinstall -s sleep
- "Display " EXEC mythinstall -s advancedX
- "Advanced" EXEC mythinstall -s advanced
- "User accounts" EXEC mythinstall -s user
- "Web security" EXEC mythinstall -s webuser
- "vnc service " EXEC mythinstall -s vnc
- "User accounts" EXEC mythinstall -s user
- "File shares" EXEC mythinstall -s fileshare
- "System Configuration" END
-
"Applications" END
diff --git a/abs/core/wmaker_settings/GNUstep/Defaults/system_menu b/abs/core/wmaker_settings/GNUstep/Defaults/system_menu
new file mode 100644
index 0000000..f810637
--- /dev/null
+++ b/abs/core/wmaker_settings/GNUstep/Defaults/system_menu
@@ -0,0 +1,16 @@
+"System Configuration" MENU
+ "Access " EXEC sudo mythinstall -s accesscontrol
+ "Network " EXEC sudo mythinstall -s network:
+ "System Type " EXEC sudo mythinstall -s hostype
+ "Screensaver " EXEC sudo mythinstall -s screensaver
+ "Remotes " EXEC sudo mythinstall -s ir
+ "Add/Remove software " EXEC sudo mythinstall -s plugins,software
+ "Shutdown settings " EXEC sudo mythinstall -s sleep
+ "Display " EXEC sudo mythinstall -s advancedX
+ "Advanced" EXEC sudo mythinstall -s advanced
+ "User accounts" EXEC sudo mythinstall -s user
+ "Web security" EXEC sudo mythinstall -s webuser
+ "vnc service " EXEC sudo mythinstall -s vnc
+ "User accounts" EXEC sudo mythinstall -s user
+ "File shares" EXEC sudo mythinstall -s fileshare
+"System Configuration" END