Home alsac Command Line Sound Controller
Post
Cancel

alsac Command Line Sound Controller

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. alsac

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 sound

  • alsac unmute: unmute sound

Github page

https://github.com/cyounes/alsac

This post is licensed under CC BY-NC-SA 4.0 by the author.

How to use JFileChooser properly

Walletix Java API