Hi all- I've been lurking on this thread for a while as I've waited for all my components to arrive. I just sat down this week and put it all together and things have been working pretty well so far.
I noticed some people have been having trouble trying to get the Volume +/- fn shortcuts working, and I just got a rough but working solution together today.
If you run Xev you can see that the key combo is generating XF86Audio[Lower/Raise]Volume events. If I understand correctly, LXDE doesn't natively handle those events. So if you edit ~/.config/openbox/lxde-rc.xml and add the following keybinds, you can increment the volume by about 10%.
Code: Select all
<!-- Volume keys -->
<command>amixer -q set PCM 1064- unmute</command>
<command>amixer -q set PCM 1064+ unmute</command>
I was having problems incrementing by actual percentage. As far as I could tell, amixer wasn't behaving as described in the man pages. Any expertise on a more elegant solution is more than welcome! The next step would probably be to use an OSD system to present the state updates.
Also note that this solution is LXDE-specific, and would only work during your x session.