diff options
author | Bob Igo <bob@stormlogic.com> | 2009-02-17 18:04:51 (GMT) |
---|---|---|
committer | Bob Igo <bob@stormlogic.com> | 2009-02-17 18:04:51 (GMT) |
commit | 2eaa5abe1f850dd66728fd669d74d4c978d1607c (patch) | |
tree | 222009c4aebbe6f2576a8c474152c41fb5d285c8 /abs/core-testing/tweaker/bin/twk_keymap.sh | |
parent | 2815d871501d795c826fe3fccc98999b0f3f0872 (diff) | |
download | linhes_pkgbuild-2eaa5abe1f850dd66728fd669d74d4c978d1607c.zip linhes_pkgbuild-2eaa5abe1f850dd66728fd669d74d4c978d1607c.tar.gz linhes_pkgbuild-2eaa5abe1f850dd66728fd669d74d4c978d1607c.tar.bz2 |
Adapted Tweaker scripts for R6.
Diffstat (limited to 'abs/core-testing/tweaker/bin/twk_keymap.sh')
-rwxr-xr-x | abs/core-testing/tweaker/bin/twk_keymap.sh | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/abs/core-testing/tweaker/bin/twk_keymap.sh b/abs/core-testing/tweaker/bin/twk_keymap.sh index 885594d..7e4ef8b 100755 --- a/abs/core-testing/tweaker/bin/twk_keymap.sh +++ b/abs/core-testing/tweaker/bin/twk_keymap.sh @@ -17,7 +17,7 @@ # This script is called from twk_general.pl to implement keymap standardization in KnoppMyth -KNOPPMYTH_SHARE=/usr/local/share/knoppmyth +#KNOPPMYTH_SHARE=/usr/local/share/knoppmyth #################### # Unify key mappings @@ -34,28 +34,28 @@ KNOPPMYTH_SHARE=/usr/local/share/knoppmyth #Make xine use keymappings that get along with mplayer, MythMusic, and ATI remote button mappings. #NOTE: "Prior" is PageUp and "Next" is PageDown -if [[ -f $MYTH_HOME/.xine/keymap ]]; then - sed -i "/Mute {$/{N; s/key = .*/key = VOID/; }" $MYTH_HOME/.xine/keymap - sed -i "/MrlBrowser {$/{N; s/key = .*/key = VOID/; }" $MYTH_HOME/.xine/keymap - sed -i "/NextMrl {$/{N; s/key = .*/key = VOID/; }" $MYTH_HOME/.xine/keymap - sed -i "/PriorMrl {$/{N; s/key = .*/key = VOID/; }" $MYTH_HOME/.xine/keymap - sed -i "/AudioVideoDecay+ {$/{N; s/key = .*/key = VOID/; }" $MYTH_HOME/.xine/keymap - sed -i "/ToggleLoopMode {$/{N; s/key = .*/key = VOID/; }" $MYTH_HOME/.xine/keymap - sed -i "/PlaylistStop {$/{N; s/key = .*/key = VOID/; }" $MYTH_HOME/.xine/keymap - sed -i "/Mute {$/{N; N; s/modifier = .*/modifier = none/; }" $MYTH_HOME/.xine/keymap - sed -i "/Quit {$/{N; s/key = .*/key = Escape/; }" $MYTH_HOME/.xine/keymap - sed -i "/^Menu {$/{N; s/key = .*/key = m/; }" $MYTH_HOME/.xine/keymap - sed -i "/Play {$/{N; s/key = .*/key = l/; }" $MYTH_HOME/.xine/keymap - sed -i "/Pause {$/{N; s/key = .*/key = p/; }" $MYTH_HOME/.xine/keymap - sed -i "/SeekRelative+60 {$/{N; s/key = .*/key = Next/; }" $MYTH_HOME/.xine/keymap - sed -i "/SeekRelative-60 {$/{N; s/key = .*/key = Prior/; }" $MYTH_HOME/.xine/keymap - sed -i "/Volume+ {$/{N; s/key = .*/key = ]/; }" $MYTH_HOME/.xine/keymap - sed -i "/Volume- {$/{N; s/key = .*/key = [/; }" $MYTH_HOME/.xine/keymap -else - mkdir -p $MYTH_HOME/.xine/ - /bin/cp $KNOPPMYTH_SHARE/xine_keymap $MYTH_HOME/.xine/keymap -fi -chown -fR mythtv:mythtv $MYTH_HOME/.xine +#if [[ -f $MYTH_HOME/.xine/keymap ]]; then +# sed -i "/Mute {$/{N; s/key = .*/key = VOID/; }" $MYTH_HOME/.xine/keymap +# sed -i "/MrlBrowser {$/{N; s/key = .*/key = VOID/; }" $MYTH_HOME/.xine/keymap +# sed -i "/NextMrl {$/{N; s/key = .*/key = VOID/; }" $MYTH_HOME/.xine/keymap +# sed -i "/PriorMrl {$/{N; s/key = .*/key = VOID/; }" $MYTH_HOME/.xine/keymap +# sed -i "/AudioVideoDecay+ {$/{N; s/key = .*/key = VOID/; }" $MYTH_HOME/.xine/keymap +# sed -i "/ToggleLoopMode {$/{N; s/key = .*/key = VOID/; }" $MYTH_HOME/.xine/keymap +# sed -i "/PlaylistStop {$/{N; s/key = .*/key = VOID/; }" $MYTH_HOME/.xine/keymap +# sed -i "/Mute {$/{N; N; s/modifier = .*/modifier = none/; }" $MYTH_HOME/.xine/keymap +# sed -i "/Quit {$/{N; s/key = .*/key = Escape/; }" $MYTH_HOME/.xine/keymap +# sed -i "/^Menu {$/{N; s/key = .*/key = m/; }" $MYTH_HOME/.xine/keymap +# sed -i "/Play {$/{N; s/key = .*/key = l/; }" $MYTH_HOME/.xine/keymap +# sed -i "/Pause {$/{N; s/key = .*/key = p/; }" $MYTH_HOME/.xine/keymap +# sed -i "/SeekRelative+60 {$/{N; s/key = .*/key = Next/; }" $MYTH_HOME/.xine/keymap +# sed -i "/SeekRelative-60 {$/{N; s/key = .*/key = Prior/; }" $MYTH_HOME/.xine/keymap +# sed -i "/Volume+ {$/{N; s/key = .*/key = ]/; }" $MYTH_HOME/.xine/keymap +# sed -i "/Volume- {$/{N; s/key = .*/key = [/; }" $MYTH_HOME/.xine/keymap +#else +# mkdir -p $MYTH_HOME/.xine/ +# /bin/cp $KNOPPMYTH_SHARE/xine_keymap $MYTH_HOME/.xine/keymap +#fi +#chown -fR mythtv:mythtv $MYTH_HOME/.xine #Make mplayer use keymappings that get along with xine, MythMusic, and ATI remote button mappings. |