multimedia

# prevent mic input from coming out of the speakers
amixer sset Mic Playback mute

# store alsamixer settings
alsactl -f /var/lib/alsa/asound.state store

# launch mplayer to test a webcam
mplayer tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0 -fps 15 -vf screenshot

# to disable pc speaker in X, add the following to ~/.xprofile
xset -b

# if xset cannot be found, install it with
pacman -S xorg-xset