<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 4/24/2014 10:48 PM, Andre Rodovalho
wrote:<br>
</div>
<blockquote
cite="mid:CABLbVHOd9aGWGERTPkqLJOXcmeuzUfJS5wBWPUzPo9rJ1=8z5Q@mail.gmail.com"
type="cite">
<div dir="ltr">Now I made it (last message, I promis)<br>
<br>
My entry on lubuntu-rc.xml:
<div><br>
</div>
<div>
<div> <keybind key="XF86AudioMute"></div>
<div> <action name="Execute"></div>
<div> <command>amixer -c 1 -q sset Master
toggle</command></div>
<div> </action></div>
<div> <action name="Execute"></div>
<div><span class="" style="white-space:pre"> </span><command>amixer
-c 1 -q sset Speaker unmute</command></div>
<div> </action></div>
<div> <action name="Execute"></div>
<div><span class="" style="white-space:pre"> </span><command>amixer
-c 1 -q sset Headphone unmute</command></div>
<div> </action></div>
<div> </keybind></div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>"-c 1" is to select a diferent audio card, so I guess most
people won't need it. I suppose the standard is "-c 0"</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2014-04-24 23:41 GMT-03:00 Israel <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:israeldahl@gmail.com" target="_blank">israeldahl@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex"> <br>
<div text="#000000" bgcolor="#FFFFFF">
<div>
<div class="h5">
<div>On 04/24/2014 09:34 PM, Andre Rodovalho wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Actually, I found that the best
command is:
<div><br>
</div>
<div>$ amixer -c 1 -q sset Master toggle
&& amixer -c 1 -q sset Speaker unmute
&& amixer -c 1 -q sset Headphone unmute<br>
<br>
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!</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2014-04-24 23:08
GMT-03:00 Andre Rodovalho <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:andre.rodovalho@gmail.com"
target="_blank">andre.rodovalho@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div dir="ltr">
<div>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!</div>
<div><br>
</div>
<div> 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": <a moz-do-not-send="true"
href="http://ubuntuforums.org/showthread.php?t=1796713" target="_blank">http://ubuntuforums.org/showthread.php?t=1796713</a></div>
<div><br>
</div>
<div>What I found is that I can solve this
issue changing the shortcut command on
~/.config/openbox/lubuntu-rc.xml</div>
<div><br>
</div>
<div>Original: amixer -q sset Master toggle</div>
<div>Modified: amixer -q sset Master toggle
&& amixer -q sset Speaker toggle
&& amixer -q sset Headphone toggle</div>
<div><br>
</div>
<div>This makes toggle mute to work like
should be...</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
</div>
</div>
That is fantastic!<span class="HOEnZb"><font
color="#888888"><br>
</font></span><br>
</div>
</blockquote>
</div>
</div>
</blockquote>
<br>
I haven't tried it yet, but thank you for working up this solution!<br>
<br>
</body>
</html>