Код: Выделить всё
<keybind key="XF86AudioRaiseVolume">
<action name="???"/>
</keybind>
<keybind key="XF86AudioLowerVolume">
<action name="???"/>
</keybind>
Модератор: Модераторы разделов
Код: Выделить всё
<keybind key="XF86AudioRaiseVolume">
<action name="???"/>
</keybind>
<keybind key="XF86AudioLowerVolume">
<action name="???"/>
</keybind>
unixforum писал(а): ↑29.03.2011 10:40Пример: amixer sset Master 30%+
Проверка: speaker-test
amixer scontrols - Shows a complete list of simple mixer controls.
amixer scontents - Shows a complete list of simple mixer controls with their contents.
http://linux.die.net/man/1/amixer
http://ru.wikipedia.org/wiki/ALSA
http://www.gentoo.org/doc/ru/alsa-guide.xml
http://useunix.ru/putevoditel-po-dzhunglya...vyx-api-v-linux
https://wiki.archlinux.org/index.php/ALSA_(Русский)
Код: Выделить всё
<keybind key="XF86AudioMute">
<action name="Execute">
<command>/usr/bin/amixer -q set Master toggle</command>
</action>
</keybind>
<keybind key="XF86AudioLowerVolume">
<action name="Execute">
<command>/usr/bin/amixer -q set Master 1- unmute</command>
</action>
</keybind>
<keybind key="XF86AudioRaiseVolume">
<action name="Execute">
<command>/usr/bin/amixer -q set Master 1+ unmute</command>
</action>
</keybind>