<div dir="ltr">I made it: <a href="https://bugs.launchpad.net/ubuntu/+source/alsa-utils/+bug/1313813">https://bugs.launchpad.net/ubuntu/+source/alsa-utils/+bug/1313813</a><br><br>You guys can now <span style="font-family:arial,sans-serif;font-size:13px">click "affects me"...</span></div>

<div class="gmail_extra"><br><br><div class="gmail_quote">2014-04-28 11:18 GMT-03:00 Andre Rodovalho <span dir="ltr"><<a 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">Hello guys! I found that this bug is language related/dependent. I installed an pure english system and I got no problems with this shortcut. After some tests I installed Portuguese language package, and now, shortcut is buggy again...<br>


<br>I have no idea why those things are related... I will fill a bug report and post here the link ASAP, so this way you can click "affects me"...</div><div class="gmail_extra"><br><br><div class="gmail_quote">

2014-04-25 21:52 GMT-03:00 Andre Rodovalho <span dir="ltr"><<a href="mailto:andre.rodovalho@gmail.com" target="_blank">andre.rodovalho@gmail.com</a>></span>:<div><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Using three action inside the keybind tag I could reproduce the same effect a bash script can do. I prefer this way cause I don't need to worry about an aditional file...<div>


<div><br></div><div><div style="font-family:arial,sans-serif;font-size:13px">
    <keybind key="XF86AudioMute"></div><div style="font-family:arial,sans-serif;font-size:13px">      <b><action name="Execute"></b></div><div style="font-family:arial,sans-serif;font-size:13px">



        <command>amixer -c 1 -q sset Master toggle</command></div><div style="font-family:arial,sans-serif;font-size:13px">      </action></div><div style="font-family:arial,sans-serif;font-size:13px">     <b><action name="Execute"></b></div>



<div style="font-family:arial,sans-serif;font-size:13px"><span style="white-space:pre-wrap">    </span><command>amixer -c 1 -q sset Speaker unmute</command></div><div style="font-family:arial,sans-serif;font-size:13px">



     </action></div><div style="font-family:arial,sans-serif;font-size:13px">    <b><action name="Execute"></b></div><div style="font-family:arial,sans-serif;font-size:13px"><span style="white-space:pre-wrap">    </span><command>amixer -c 1 -q sset Headphone unmute</command></div>



<div style="font-family:arial,sans-serif;font-size:13px">      </action></div><div style="font-family:arial,sans-serif;font-size:13px">    </keybind></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">



2014-04-25 21:10 GMT-03:00 Israel <span dir="ltr"><<a 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">


<div><div>

  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div>Hi,<br>
      This is really nice!<br>
      You can easily make a script for this command.<br>
      simply save it in a text file with<br>
      #!/bin/bash on top<br>
      i.e.<br>
      <br>
      <tt>#!/bin/bash</tt><div><br>
      <span style="font-family:arial,sans-serif;font-size:13px"></span><span style="font-family:arial,sans-serif;font-size:13px"></span><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgba(255,255,255,0)">amixer
        -c 1 -q sset Master toggle && amixer -c 1 -q sset
        Speaker unmute && amixer -c 1 -q sset Headphone unmute</span><br>
      <br></div>
      then you can try using that in openbox (assuiming you named your
      text file file_name.sh)<br>
      <command>./file_name.sh </command><br>
      If that wont work you can use bash<br>
      <command>/bin/bash file_name.sh</command><br>
      <br>
      Oh, don't forget to mark the script as executable!!<div><div><br>
      <br>
      On 04/25/2014 10:59 AM, Andre Rodovalho wrote:<br>
    </div></div></div><div><div>
    <blockquote type="cite">
      <div dir="ltr">See, on this link, there is screenshots of the
        process I'm describing for you guys...<br>
        <br>
        <a href="http://kurtis319.blogspot.com.br/2013/01/sound-on-aspire-one-725-and-ubuntu-1210.html" target="_blank">http://kurtis319.blogspot.com.br/2013/01/sound-on-aspire-one-725-and-ubuntu-1210.html</a><br>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">2014-04-25 12:53 GMT-03:00 Andre
          Rodovalho <span dir="ltr"><<a 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">To see the controls of your audio card you
              can use <b>alsamixer</b>. Just call it on <b>lxterminal</b>
              and select the one you might want to test with F6 key...
              On the F6 "selection window" you will see an ID for each
              audio card followed by it's description...<br>
              <br>
              On another lxterminal window you can try those commands
              and test it out, to see how does it change on alsamixer
              view!</div>
            <div class="gmail_extra"><br>
              <br>
              <div class="gmail_quote">2014-04-25 12:47 GMT-03:00 Andre
                Rodovalho <span dir="ltr"><<a href="mailto:andre.rodovalho@gmail.com" target="_blank">andre.rodovalho@gmail.com</a>></span>:
                <div>
                  <div><br>
                    <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div dir="ltr">The shorcut file is <span style="font-weight:bold;font-family:arial,sans-serif;font-size:13px">~/.config/openbox/lubuntu-rc.</span><span style="font-family:arial,sans-serif;font-size:13px"><b>xml</b></span>
                        <div>
                          <span style="font-family:arial,sans-serif;font-size:13px">or
                            <b>/home/USER_DIR/openbox/</b></span><span style="font-size:13px;font-weight:bold;font-family:arial,sans-serif">lubuntu-rc.</span><span style="font-size:13px;font-family:arial,sans-serif"><b>xml</b></span><span style="font-family:arial,sans-serif;font-size:13px"><b><br>




                            </b><br>
                            It is not possible to use the ' character.
                            You will get an error message if you do. I
                            tried:</span>
                          <div><span style="font-family:arial,sans-serif;font-size:13px"><br>
                              uxterm -e </span><span style="font-family:arial,sans-serif;font-size:13px">'</span><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgba(255,255,255,0)">amixer
                              -c 1 -q sset Master toggle &&
                              amixer -c 1 -q sset Speaker unmute
                              && amixer -c 1 -q sset Headphone
                              unmute'</span>
                            <div>
                              <span style="font-family:arial,sans-serif;font-size:13px;background-color:rgba(255,255,255,0)"><br>
                              </span></div>
                            <div><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgba(255,255,255,0)">But
                                this returns the error message, just
                                file the && did. The problem is
                                you can't put those characters there, I
                                guess it's a fault on the openbox xml
                                processor.<br>
                                <br>
                                You can try your changes by the command:</span></div>
                          </div>
                          <div><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgba(255,255,255,0)"><br>
                            </span></div>
                          <div><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgba(255,255,255,0)">$
                              <b>openbox --restart</b></span></div>
                          <div><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgba(255,255,255,0)"><br>
                            </span></div>
                          <div><font face="arial, sans-serif">When you
                              do, you can get the shortcuts to work
                              without restarting the system!</font></div>
                        </div>
                      </div>
                      <div class="gmail_extra"><br>
                        <br>
                        <div class="gmail_quote">2014-04-25 10:56
                          GMT-03:00 John Hupp <span dir="ltr"><<a href="mailto:lubuntu@prpcompany.com" target="_blank">lubuntu@prpcompany.com</a>></span>:
                          <div>
                            <div><br>
                              <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                <div bgcolor="#FFFFFF" text="#000000">
                                  <div>
                                    <div>
                                      <div>On 4/24/2014 10:48 PM, Andre
                                        Rodovalho wrote:<br>
                                      </div>
                                      <blockquote 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 style="white-space:pre-wrap">
                                              </span><command>amixer

                                              -c 1 -q sset Speaker
                                              unmute</command></div>
                                            <div>     </action></div>
                                            <div>    <action
                                              name="Execute"></div>
                                            <div><span style="white-space:pre-wrap">
                                              </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 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>
                                                    <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 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 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><font color="#888888"><br>
                                                  </font></span><br>
                                              </div>
                                            </blockquote>
                                          </div>
                                        </div>
                                      </blockquote>
                                      <br>
                                    </div>
                                  </div>
                                  I haven't tried it yet, but thank you
                                  for working up this solution!<br>
                                  <br>
                                </div>
                              </blockquote>
                            </div>
                          </div>
                        </div>
                        <br>
                      </div>
                    </blockquote>
                  </div>
                </div>
              </div>
              <br>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
    </blockquote>
    <br>
    <br>
    </div></div><span><font color="#888888"><pre cols="72">-- 
Regards</pre>
  </font></span></div>

<br></div></div><div>--<br>
Lubuntu-users mailing list<br>
<a href="mailto:Lubuntu-users@lists.ubuntu.com" target="_blank">Lubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/lubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/lubuntu-users</a><br>
<br></div></blockquote></div><br></div>
</blockquote></div></div></div><br></div>
</blockquote></div><br></div>