Over time I have written a large number of programs, some large, but most of them small scripts to do little useful things. Many of them have well-known and much more evolved equivalents, but I keep using my versions of them because most of the time I wrote them before I learned about the other programs (or before they existed), because they keep doing what I want, and because I can tweak them if they don't.
So here's my list (which is not complete - I will add as I have time to scavenge through my home directory). No documentation for most of these, use at your own risk, yada yada yada. Enjoy.
auctl vol =10 Set volume to 10 (in a 0-255 scale) auctl vol 15 Increase volume by 15 auctl vol -10 Reduce volume by 10 auctl mute Toggle muting auctl port spkr Toggle output on the internal speaker
The -v option makes it be chatty about what it's doing.
I have keys mapped in my window manager to different invokations of this command, so I can control the volume from my keyboard.