Page 1 of 2

Preffered Mixer Settings

Posted: 6. Mar 2010, 11:40
by zaen
Hello,

English isn't my native language so I hope you'll excuse me for just posting the images instead of trying to explain what I want to ask. May I ask how to make my mixer settings to have this as default whenever I reboot my laptop?:
Image

For now, whenever I reboot my laptop, the mixer appears like this (even though I've previously set it as the first image):
Image

The reason I prefer the first image:
Under Salix64_13.0.2a, my external speakers have no sound on the default mixer settings. The headphone jack where the speakers are connected are controlled by the "surround" sliders. At default settings, audio goes out of the laptop's built-in speakers controlled by the "front" sliders. I know I could just manually re-adjust the sliders at every boot, but I was wondering if I could make the settings of the first image as the default? I prefer to listen through my external speakers or headphones and to keep the built-in speakers quiet always.

Thank you.

Re: Preffered Mixer Settings

Posted: 6. Mar 2010, 11:54
by damNageHack
If you are using alsa (which is default in Salix), you could do this command after adjusting your volume levels to the wished values. You need root rights to can do that.

Code: Select all

/usr/sbin/alsactl store

Re: Preffered Mixer Settings

Posted: 6. Mar 2010, 12:04
by zaen
Thank you, friend. It worked!

Re: Preffered Mixer Settings

Posted: 6. Mar 2010, 12:49
by thenktor
That's strange. Normally the alsactl is executed on system shutdown to save the mixer settings.

Re: Preffered Mixer Settings

Posted: 6. Mar 2010, 12:55
by damNageHack
thenktor wrote:That's strange. Normally the alsactl is executed on system shutdown to save the mixer settings.
Maybe /etc/asound.state was not there? Who knows it well afterwards ...

Re: Preffered Mixer Settings

Posted: 6. Mar 2010, 14:07
by Shador
It isn't stored on shutdown here either. So I checked the rc scripts and there's nothing which could possibly save it on shutdown. I guess adding "/usr/sbin/alsactl store" to /etc/rc.d/rc.local_shutdown would save the mixer settings on reboot/shutdown.
Anyway, I much prefer that my mixer settings are reset to a once saved default on reboot.

Re: Preffered Mixer Settings

Posted: 9. Mar 2010, 12:18
by JRD
In fact the main problem is that an such option should be in the xfce mixer.

Re: Preffered Mixer Settings

Posted: 9. Mar 2010, 15:07
by thenktor
Shador wrote:It isn't stored on shutdown here either. So I checked the rc scripts and there's nothing which could possibly save it on shutdown. I guess adding "/usr/sbin/alsactl store" to /etc/rc.d/rc.local_shutdown would save the mixer settings on reboot/shutdown.
Anyway, I much prefer that my mixer settings are reset to a once saved default on reboot.
Hmm, you are right. No idea why I've thought so.
I've checked the rc scripts: As long as a user won't set his own default levels by "alsactl store" the rc.alsa script will always load some kind of default mixer settings on bootup.
No idea what users would prefer? Saving settings on shutdown, or load default (or a once stored default) settings on boot.

Re: Preffered Mixer Settings

Posted: 16. Oct 2010, 07:02
by ZuLuuuuuu
Hello,

I was having the same problem, my volume is always %83 or something at the start which is too loud and everytime I should remember to lower it after a start or else my ears hurt :)

Since thenktor asked: I would much prefer that the settings are saved at shutdown.

Re: Preffered Mixer Settings

Posted: 16. Oct 2010, 07:08
by gapan
You can save the sound settings using the ALSA configuration tool from the system menu.