You could try

sh -c 'amixer -c 1 -q sset Master toggle && amixer -c 1 -q sset Speaker unmute 
&& amixer -c 1 -q sset Headphone unmute'

Regards, Jörn


Am 25.04.2014 um 04:34 schrieb Andre Rodovalho <andre.rodova...@gmail.com>:

> Actually, I found that the best command is:
> 
> $ amixer -c 1 -q sset Master toggle && amixer -c 1 -q sset Speaker unmute && 
> amixer -c 1 -q sset Headphone unmute
> 
> I guess it will need a shell script, because I'm having problems to get all 
> these commands to work on lubuntu-rc.xml file. && I supose are not allowed!
> 
> 
> 2014-04-24 23:08 GMT-03:00 Andre Rodovalho <andre.rodova...@gmail.com>:
>> The problem consists on the mute shortcut, that might behave like a toggle 
>> button, but actually, only mutes, and you need to use the volume control on 
>> "tray" to unmute!
>> 
>> I have seen this problem occuring since I met Lubuntu. I don't know if this 
>> affects everyone, but lately I spent some time to figure it out. Here is 
>> where I got the "solution": http://ubuntuforums.org/showthread.php?t=1796713
>> 
>> What I found is that I can solve this issue changing the shortcut command on 
>> ~/.config/openbox/lubuntu-rc.xml
>> 
>> Original: amixer -q sset Master toggle
>> Modified: amixer -q sset Master toggle && amixer -q sset Speaker toggle && 
>> amixer -q sset Headphone toggle
>> 
>> This makes toggle mute to work like should be...
> 
> -- 
> Mailing list: https://launchpad.net/~lubuntu-qa
> Post to     : lubuntu-qa@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~lubuntu-qa
> More help   : https://help.launchpad.net/ListHelp
-- 
Mailing list: https://launchpad.net/~lubuntu-qa
Post to     : lubuntu-qa@lists.launchpad.net
Unsubscribe : https://launchpad.net/~lubuntu-qa
More help   : https://help.launchpad.net/ListHelp

Reply via email to