Is there a way to temporarily change the AUX key binding to something
else like "F5" from the keyboard and back to screenlock without reboot?
Like shown in the non-working script below it must have been possible in
the past.
Here is the content from the script:
#!/bin/sh
# Save current AUX Key mapping
SAVE_KEY="$(xmodmap -pke | grep 'keycode 177')"
# Remove the Enlightenment binding for AUX
enlightenment_remote -binding-key-del ANY "Keycode-177" \
NONE 1 "simple_lock" ""
# Map AUX Key to F5
xmodmap -e "keycode 177 = F5"
# Turn LCD feft
xrandr -o left
# Start the scummvm in fullscreen mode
scummvm.real --fullscreen --themepath=/usr/share/scummvm/
# Turn LCD normal
xrandr -o normal
# Restore the AUX Key mapping
xmodmap -e "$SAVE_KEY"
# Restore Enlightenment mapping
enlightenment_remote -binding-key-add ANY "Keycode-177" \
NONE 1 "simple_lock" ""
When i try these commands by hand i see that keycode 177 has no function
listed (xmodmap -pke).
Second thing is that the command "enlightenment_remote" doesn't have an
option called "-binding-key-del".
Ciao,
Rainer
_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user