Automatically changing soundcards?

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Breakintheclouds

Automatically changing soundcards?

Post by Breakintheclouds »

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!

Ian
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
remoulder
Level 17
Level 17
Posts: 7621
Joined: Fri May 09, 2008 1:14 pm

Re: Automatically changing soundcards?

Post by remoulder »

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

Return to “Hardware Support”