For the keys, have you tried adding them into your WMs key configuration?Set them to execute xbacklight with the '-inc <percent>' and '-dec <percent>' options respectively.Same for the volume keys, but get them to call 'amixer' like so: amixer -q -c 0 sset Master 5dB+ // increase master volume by 5 decibels
amixer -q -c 0 sset Master 5dB- // decrea
Looking at the amixer man page, the mapping mentioned earlier can be invoked in amixer with the -M flag. So using amixer -M [...] works in the units that you see in alsamixer. These are "more natural for human ear".
Sometimes I'll be listening to a song at 100% volume, and it is not as loud as I would like it to be. I can run pavucontrol and pull the slider to make the output above 100%, but I prefer the command line and am looking for a way to do this from there.
I have the following three lines in my .xbindkeysrc"amixer set Master 1-"
m:0x0 + c:122
XF86AudioLowerVolumeIf I restart X, the audio key does not affect the volume. If I run the command in the terminal, the volume lowers just as expected. When I checked the wiki for Xbindkeys, it said to runxbindkeys -nand hit the troublesome key to see any errors. The od
I'm using Lubuntu 13.04 and am looking for the command to raise and lower my volume in increments so I can add that command to my lubuntu-rc.xml file thus binding it to my XF86AudioRaiseVolume (i.e. Fn+Uparrow) key.
If I do it in the console (Ctrl+Alt+F2, tty?) I have the command work as expected. However when I do so in the (XFCE) terminal window (Ctrl+Alt+T), I get those high values.UPDATEFixed by doing 2%+ instead of 2+