Automatically changing soundcards?

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Level 1
Level 1
Posts: 4
Joined: Tue Feb 16, 2010 8:14 am

Automatically changing soundcards?

Postby Breakintheclouds » Sat Mar 06, 2010 8:07 am

Hi there,

I run Mint on my laptop. When out and about, I use the internal speak, but when at home I like to use an external USB soundcard (a Griffin iMic). Everything works fine: Mint detects and recognizes the sound card just fine, and with it connected I can swap between internal and external sound. However, it's a bit of a drag having to open Sound Preferences every time I get home and change the output to the external card. Is there any way to script/automate this? I'm still relatively new to Linux so although I can find my way around the command line I'm not sure how to automatically detect the external soundcard being connected to USB, and from there to change the sound settings.

Any help gratefully received!


Level 17
Level 17
Posts: 7645
Joined: Fri May 09, 2008 1:14 pm

Re: Automatically changing soundcards?

Postby remoulder » Sun Apr 04, 2010 9:52 am

Breakintheclouds wrote:Is there any way to script/automate this

Not that I'm aware of but have a play with pulseaudio manager and device chooser, which may not be installed

Code: Select all

apt install paman padevchooser
[Edit] your original post and add [SOLVED] once your question is resolved.

“The people are my God” stressing the factor determining man’s destiny lies within man not in anything outside man, and thereby defining man as the dominator and remoulder of the world.

Return to “Hardware Support”