mixer vol permanent solution?

Having problems running your new shiny and blinking gadget or watching DVDs, listening to CDs etc.?

mixer vol permanent solution?

Postby everypot » 20 Mar 2009, 15:03

Is there any way to change the mixer vol permanently? The default mixer vol is 75 which is too low for me. I use
mixer vol 100
which give me good volume. However, once I reboot the computer the mixer vol is set to default 75 again. I'm wondering if there is any configuration file for mixer.
everypot
Member
 
Posts: 202
Joined: 17 Jan 2009, 05:56

Postby Carpetsmoker » 20 Mar 2009, 15:26

There most certainly is, and it comes in the form of /etc/rc.d/mixer.

First set the volume to your likings with [man=8]mixer[/man], run [cmd=#]sh /etc/rc.d/mixer stop[/cmd], this will save the current mixer state in /var/db/mixern-state
running [cmd=#]sh /etc/rc.d/mixer start[/cmd] will restore the mixer state from /var/db/mixern-state

By default mixer_enabled="YES" is set /etc/defaults/rc.conf
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
User avatar
Carpetsmoker
Member
 
Posts: 904
Joined: 16 Nov 2008, 19:07
Location: Eindhoven, Netherlands

[option] tune the mixer as root

Postby darcsis » 21 Mar 2009, 00:37

change it as root, the changed value will remain.
at least this works on my box.
darcsis
Junior Member
 
Posts: 53
Joined: 17 Nov 2008, 03:37

Postby Mel_Flynn » 21 Mar 2009, 09:11

When using KDE, kmix will restore settings by default, so the last settings your user used as it logged out are restored, independent of /etc/rc.d/mixer.
Mel_Flynn
Member
 
Posts: 379
Joined: 18 Nov 2008, 18:02
Location: Drachten, Netherlands

Postby everypot » 23 Mar 2009, 15:52

Thanks a lot. It works now.
everypot
Member
 
Posts: 202
Joined: 17 Jan 2009, 05:56


Return to Multimedia

Who is online

Users browsing this forum: sKa and 1 guest