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.
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+
As mentioned in the title, amixer appears to mute all audio channels but doesn't unmute them when run again. As a result, the media key I'd like to serve as mute/unmute only works to mute, and I need to go into alsamixer manually to unmute them.If I understood correctly, amixer sset Master toggle would only affect the master channel, when that obviously isn't what is happening.
Hello, all. I have recently ordered a ThinkPad, and I love it. Recently my volume keys (only up/down, not mute) decided not to work. I have been unable to identity any changes in my setup that would account for such behavior. I finally restored the main functionality of my media buttons by mapping those keys to the command 'amixer set Master 5%+-' with ccsm.