You are not logged in.
I currently have arch setup with a custom desktop environment with Compiz as my window manager and dmenu for launching apps. I love this setup, it's lean, mean and clean. However I would like to be able to control my computers volume by setting a custom command in ccsm and link it to a keyboard shortcut but I don't know how to directly control alsa via the command line to up and down the volume. If this at all possible. it would be very appreciated. Many thanks in advance.
Last edited by martin101 (2012-01-30 13:59:37)
Offline
man amixer
Offline
man amixer
Thanks for the quick reply, my word the syntax to control amixer seems rather convoluted. But thanks nonetheless.
Offline
louder
amixer set Master 5+
softer
amixer set Master 5-
Offline
Yep just worked it out, many thanks.
I'm using the following command
amixer -c 3 set PCM 2dB- to decrease the volume by 2dB
and
amixer -c 3 set PCM 2dB+ to increase the volume by 2dB
Wow the arch users are helpful. Thanks again mate.
Offline
Please remember to mark the thread as solved.
Ooops, I think I jumped the gun, sorry.
Last edited by karol (2012-01-28 00:04:37)
Offline
Can use xbindkeys.
Offline