Topic: Set volume control keys on Toshi Equium?? [SOLVED]
The volume control wheel on my laptop (Toshiba Equium P300) is broken so I would like to set some keyboard keys to do the same thing, like they do on a Mac.
Casting around a bit on the forum it seems possible, but I am a newb at these things so I am probably oversimplifyling it massively. Anyway I have edited my rc.xml to include the following text -
<keybind key="C-51">
<action name="Execute">
<execute>amixer -q set PCM 10- unmute</execute>
</action>
</keybind>
<keybind key="C-52">
<action name="Execute">
<execute>amixer -q set PCM 10+ unmute</execute>
</action>
</keybind>
<keybind key="C-50">
<action name="Execute">
<execute>amixer -q set PCM 0</execute>
</action>
</keybind>
(Where keys 50 to 52 are [m], [<] and [>] respectively. Which I found out using a CLI command- 'keycode' or something like that). - edit - I tried xev and it gave me different numbers - 58-60. I tied these as well but still no good - I also tried the actual keys (ie C->) but this didn't work either.
So, is this possible? if so what am I doing wrong? Something to do with the mixer??
Thanks in advance
Spoov
Last edited by spoovy (2010-01-04 13:19:53)