summaryrefslogtreecommitdiff
path: root/skel-lxde
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2013-12-17 20:45:31 +0100
committerHolger Paradies <retabell@gmx.de>2013-12-17 20:51:41 +0100
commit8e9fa6e5b1fbe64bf37b49ca020da3b5c1a4b100 (patch)
tree53c9008c691ce0037109d38fc6d2aa0fe869f38f /skel-lxde
parent8d9e60cb0504338140bc7db97afb9c14f88945c3 (diff)
downloadetcskel-kanotix-8e9fa6e5b1fbe64bf37b49ca020da3b5c1a4b100.zip
etcskel-kanotix-8e9fa6e5b1fbe64bf37b49ca020da3b5c1a4b100.tar.gz
Version-2.0.17 Control Audio-Volume with Fn Keys in LXDE
Diffstat (limited to 'skel-lxde')
-rw-r--r--skel-lxde/.config/openbox/lxde-rc.xml31
1 files changed, 31 insertions, 0 deletions
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>