[Debian-eeepc-commits] [SCM] A live-helper based Debian live & installer image for the Eee PC. branch, master, updated. 1.0b1-119-gfc8d669

Ben Armstrong synrg at debian.org
Fri Nov 12 14:11:35 UTC 2010


The following commit has been merged in the master branch:
commit 0bdecf3ee1a0040ff6e3b8152430138029f9c730
Author: Ben Armstrong <synrg at debian.org>
Date:   Fri Nov 12 10:04:34 2010 -0400

    Enable volume hotkeys, as LXDE has no mappings.

diff --git a/config/chroot_local-hooks/eeepc.sh b/config/chroot_local-hooks/eeepc.sh
index 5cf0159..747e21f 100755
--- a/config/chroot_local-hooks/eeepc.sh
+++ b/config/chroot_local-hooks/eeepc.sh
@@ -2,6 +2,11 @@
 # Demo a few features that are not turned on by default
 SCRIPTS_DEFAULTS=/etc/default/eeepc-acpi-scripts
 sed -i "s/ENABLE_OSD='no'/ENABLE_OSD='yes'/" $SCRIPTS_DEFAULTS
+# In LXDE, volume keys have no default bindings, so make use of the
+# eeepc-acpi-scripts handlers.
+sed -i "s/FnF_MUTE='NONE'/FnF_MUTE='handle_mute_toggle'/" $SCRIPTS_DEFAULTS
+sed -i "s/FnF_VOLUMEDOWN='NONE'/FnF_VOLUMEDOWN='handle_volume_down'/" $SCRIPTS_DEFAULTS
+sed -i "s/FnF_VOLUMEUP='NONE'/FnF_VOLUMEUP='handle_volume_up'/" $SCRIPTS_DEFAULTS
 sed -i "s/LOCK_SCREEN_ON_SUSPEND='yes'/LOCK_SCREEN_ON_SUSPEND='no'/" $SCRIPTS_DEFAULTS
 echo "vf=screenshot" >> /etc/mplayer/mplayer.conf
 

-- 
A live-helper based Debian live & installer image for the Eee PC.



More information about the Debian-eeepc-commits mailing list