- This topic has 2 replies, 2 voices, and was last updated Jun 21-5:48 pm by ex_Koo.
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Forum for users of antiX Linux. Mean and Lean and Proudly anti-fascist.
Forum › Forums › General › Tips and Tricks › How to set your default sound card .
Set default sound card...
Open alsa mixer with sudo press F6 or S select your card then type sudo alsactl store.
sudo alsamixer
sudo alsactl store
and OR
Setting the default sound device
Find your desired card with:
cat /proc/asound/cards
You will need to be root for this and then create or edit your /etc/asound.conf with following:
defaults.pcm.card 1
defaults.ctl.card 1
Replace "1" with number of your card determined above.
With antiX the asound.conf file was already in etc just needed to remove the comments and change the card number.
#defaults.pcm.card 1
#defaults.ctl.card 1
to
defaults.pcm.card 2
defaults.ctl.card 2
cat /proc/asound/cards
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xf7130000 irq 28
1 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xf7080000 irq 17
2 [US2x2 ]: USB-Audio - US-2x2
TEAC Corporation US-2x2 at usb-0000:00:14.0-10, high speed
3 [Device ]: USB-Audio - USB PnP Audio Device
C-Media Electronics Inc. USB PnP Audio Device at usb-0000:00:14.0-13, full spee
I found on my system anyway that if I open alsamixer as user card 0 was the default. Then I opened alsamixer as root and card 1 was the default. I have no idea. And don’t really care fixed now 🙂
AntiX comes with a program specifically for setting the default ALSA card anyway so you shouldn’t have needed to mess around with the config.
AntiX comes with a program specifically for setting the default ALSA card anyway so you shouldn’t have needed to mess around with the config.
For me with my usb dac this only partly works , mpd & ncmpcpp sound works fine but waterfox sound will not work without the .config edits.
antiX 17.4.1 & i3 bloatware is were I will say..not a gui desktop user.
| Cookie | Duration | Description |
|---|---|---|
| cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
| cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
| cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
| cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |