Preffered Mixer Settings

You have a problem with Salix? Post here and we'll do what we can to help.
zaen
Posts: 48
Joined: 6. Mar 2010, 11:01

Preffered Mixer Settings

Post 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.
User avatar
damNageHack
Posts: 663
Joined: 24. Sep 2009, 17:07

Re: Preffered Mixer Settings

Post 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
Image
This is the oppinion of the author, it does not force you to share and is signed automatically.
You are free to keep them all errors for your own. Linux is the best game I ever played.
zaen
Posts: 48
Joined: 6. Mar 2010, 11:01

Re: Preffered Mixer Settings

Post by zaen »

Thank you, friend. It worked!
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Preffered Mixer Settings

Post by thenktor »

That's strange. Normally the alsactl is executed on system shutdown to save the mixer settings.
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
damNageHack
Posts: 663
Joined: 24. Sep 2009, 17:07

Re: Preffered Mixer Settings

Post 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 ...
Image
This is the oppinion of the author, it does not force you to share and is signed automatically.
You are free to keep them all errors for your own. Linux is the best game I ever played.
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: Preffered Mixer Settings

Post 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.
Image
User avatar
JRD
Salix Warrior
Posts: 950
Joined: 7. Jun 2009, 22:52
Location: Lyon, France

Re: Preffered Mixer Settings

Post by JRD »

In fact the main problem is that an such option should be in the xfce mixer.
Image
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Preffered Mixer Settings

Post 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.
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
ZuLuuuuuu
Posts: 19
Joined: 23. Aug 2010, 15:40

Re: Preffered Mixer Settings

Post 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.
User avatar
gapan
Salix Wizard
Posts: 6365
Joined: 6. Jun 2009, 17:40

Re: Preffered Mixer Settings

Post by gapan »

You can save the sound settings using the ALSA configuration tool from the system menu.
Image
Image
Post Reply