automatically use USB headset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You can also change the default sound device for the current shell environment by changing the environment variable ALSA_CARD to the index of your desired card. e.g., if your headset is index 1 you can do:

export ALSA_CARD=1

Take care,

Rynhardt

* Jason White <jason at jasonjgw.net> [110927 09:32]:
> John G. Heim <speakup at braille.uwo.ca> wrote:
> > Anybody know how to get linux to 
> >automatically use a USB headset for sound when you plug it in?
> 
> The only means of changing the default sound device in Alsa that I am aware of
> is with a .asoundrc file (or the equivalent in /etc).
> 
> So if you're prepared to create or modify configuration files in a script then
> you could probably write a shell script to do it.
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup



[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux