PDA

View Full Version : [xubuntu] unmute master playback at start up



forum4programs
May 25th, 2009, 02:16 PM
[SOLVED]

hi,


Each time I restart xubuntu, my Master playback is mute. So it is necessary for me unmute it at start up.

I try to unmute master playback at start up by adding this command line "amixer set Master playback unmute" to "Application Autostart" (Applications => Settings => Session and Startup => Application Autostart). I know that the command line works, but I don't know why the program doesn't execute that command line.

Currently I have to execute it by hand which is not very practical.

Using Xubuntu 9.04

kpkeerthi
May 25th, 2009, 03:39 PM
Change it to:

bash -c "amixer set Master playback unmute"
and see if it helps

forum4programs
May 25th, 2009, 04:29 PM
bash -c "amixer set Master playback unmute"


It doesn't help :(

forum4programs
May 25th, 2009, 04:44 PM
hmmmm.... Maybe I found a possible workaround, but I don't know how to countdown.

pseudocode:

wait_for(5 seconds) ; execute command1 ; execute command2 ; .....

forum4programs
May 25th, 2009, 05:20 PM
YESSSS!!! FINALLY!!!

my solution is this command: bash -c "sleep 15 ; amixer set Master playback unmute"

xfce4-mixer command execute AFTER my "amixer set Master playback unmute"-command. That is the problem. So I have to wait for about 15 seconds.

kpkeerthi, thanks for "bash -c" information. Else I don't know how to execute commands in series.