From 8e9fa6e5b1fbe64bf37b49ca020da3b5c1a4b100 Mon Sep 17 00:00:00 2001 From: Holger Paradies <retabell@gmx.de> Date: Tue, 17 Dec 2013 20:45:31 +0100 Subject: Version-2.0.17 Control Audio-Volume with Fn Keys in LXDE --- debian/changelog | 6 ++++++ skel-lxde/.config/openbox/lxde-rc.xml | 31 +++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/debian/changelog b/debian/changelog index 48ef734..5528b53 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +etcskel-kanotix (2.0.17) dragonfire; urgency=low + + * Volume Control with Fn-Keys in LXDE + + -- Holger Paradies <retabell@gmx.de> Tue, 17 Dec 2013 20:28:10 +0100 + etcskel-kanotix (2.0.16) dragonfire; urgency=low * lxpanel update config diff --git a/skel-lxde/.config/openbox/lxde-rc.xml b/skel-lxde/.config/openbox/lxde-rc.xml index f9c72d5..55659fb 100644 --- a/skel-lxde/.config/openbox/lxde-rc.xml +++ b/skel-lxde/.config/openbox/lxde-rc.xml @@ -295,6 +295,37 @@ <command>gnome-screenshot --interactive</command> </action> </keybind> + + <!-- Volume Control with Fn Keys --> + <keybind key="XF86AudioLowerVolume"> + <action name="Execute"> + <startupnotify> + <enabled>true</enabled> + <name>volumedown</name> + </startupnotify> + <command>amixer -c 0 set Master 5%- unmute</command> + </action> + </keybind> + + <keybind key="XF86AudioRaiseVolume"> + <action name="Execute"> + <startupnotify> + <enabled>true</enabled> + <name>volumeup</name> + </startupnotify> + <command>amixer -c 0 set Master 5%+ unmute</command> + </action> + </keybind> + + <keybind key="XF86AudioMute"> + <action name="Execute"> + <startupnotify> + <enabled>true</enabled> + <name>volumedown</name> + </startupnotify> + <command>amixer -c 0 set Master toggle</command> + </action> + </keybind> </keyboard> -- cgit v1.0