<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>:<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 class="h5">
    <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><br></div>