When i’ve installed ubuntu with openbox window manager, there were no task bars and no menus. that was a problem for me to control the sound using command line.
To solve this i wrote some lines quickly to create a simple and easy command line tool allows me to control sound volume.
alsac
works only with alsa devices and tested only on Ubuntu 12.10, based on alsa
command and its parmeters.
Installation
1
curl https://raw.github.com/cyounes/alsac/master/quickinstall.sh | sh
Usage
1
$ alsac [-|+] [value]
1
$ alsac [value]
1
$ alsac [mute | unmute]
Examples
alsac - 10
: decrease sound of 10%alsac + 18
: increase sound of 18%alsac 45
: set sound to 45%alsac mute
: mute soundalsac unmute
: unmute sound
Github page
https://github.com/cyounes/alsac