You are not logged in.

#1 2010-01-26 18:41:37

BarefootSoul83
Member
From: Virginia, USA
Registered: 2009-10-07
Posts: 110
Website

{Solved} Alsa

Question: Every time I start up I have to go into the Volume Control and raise the speaker volume from the bottom to the top to get sound.  Is there any way to set the Speaker Volume to max as default?

Last edited by BarefootSoul83 (2010-01-27 17:45:38)

Offline

#2 2010-01-26 18:58:16

IgnorantGuru
Member
Registered: 2009-11-09
Posts: 640
Website

Re: {Solved} Alsa

amixer set 'Front',0 100% unmute

should do it, placed anywhere in your startup files.  In Openbox I put it in autostart.sh

You might have to raise other channels too, such as PCM.  Just type amixer to see the list.

Offline

#3 2010-01-26 19:01:11

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: {Solved} Alsa

install alsa-utils and add alsa to DAEMONS list in rc.conf


Give what you have. To someone, it may be better than you dare to think.

Offline

#4 2010-01-26 19:07:30

BarefootSoul83
Member
From: Virginia, USA
Registered: 2009-10-07
Posts: 110
Website

Re: {Solved} Alsa

forgive my "newbieness" .... which startup file?

Offline

#5 2010-01-26 19:26:44

IgnorantGuru
Member
Registered: 2009-11-09
Posts: 640
Website

Re: {Solved} Alsa

BarefootSoul83 wrote:

forgive my "newbieness" .... which startup file?

Well that depends to some extent on what desktop you're using (Openbox, KDE, Gnome, etc).  For openbox I add it to ~/.config/openbox/autostart.sh as

amixer set 'Front',0 100% unmute &

For others, you could probably put it in ~/.xinitrc before the exec command which starts your session, eg...

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice

# Volume
amixer set 'Front',0 100% unmute
amixer set 'PCM',0 100% unmute

# Openbox
exec openbox-session

Offline

#6 2010-01-26 22:06:37

mordoror
Member
Registered: 2010-01-25
Posts: 4

Offline

Board footer

Powered by FluxBB