<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">You could of course use:<br>
      <br>
      /usr/share/applications/defaults.list<br>
      This hold a bunch of the values you'd normally set using xdg-mime<br>
      It usually contains stuff like:<br>
      <pre>application/rtf=libreoffice-writer.desktop</pre>
      <pre>application/tab-separated-values=libreoffice-calc.desktop</pre>
      <pre>application/vnd.lotus-1-2-3=libreoffice-calc.desktop</pre>
      <pre>application/vnd.ms-excel=libreoffice-calc.desktop</pre>
      <pre>application/vnd.ms-word=libreoffice-writer.desktop</pre>
      <br>
      Which you can change to whatever you like.<br>
      This should effect using things like:<br>
      <tt>xdg-open </tt><tt>mydoc.rtf</tt><br>
      from the terminal, and probably from any application that looks at
      xdg mime types.<br>
      The first line in my above excerpt defines that
      libreoffice-writer.desktop will handle this.<br>
      <br>
      <br>
      <br>
      On 01/15/2015 10:38 AM, John Hupp wrote:<br>
    </div>
    <blockquote cite="mid:54B7ECF3.5080807@prpcompany.com" type="cite">
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">OK, a happy discovery.  LxSession
        Default Apps does not do the same thing as R-Click: Open With:
        <app> + checking "Always use ..."<br>
        <br>
        If I do the latter with an .odt file, then LxSession Default
        Apps still has Documents: AbiWord, but odt docs open with
        LibreOffice.  And abw docs open with AbiWord.<br>
        <br>
        I see now also that the properties of an odt file show File
        Type: OpenDocument Text.  The format has its own mime type which
        can be used (but is not used by default) as the basis for the
        kind of granular control I wanted.<br>
        <br>
        So lxsession-default-apps and pcmanfm are apparently doing
        something different in the back end with mime types.  I read
        somewhere that there are perhaps 4 different mime type
        configuration files which are respected in some hierarchy.<br>
        <br>
        On 1/15/2015 10:17 AM, Andre Rodovalho wrote:<br>
      </div>
      <blockquote
cite="mid:CABLbVHN2u_xedb5NVuWQ4yKyRoKTCuvVQRrXhT3rMYUA=OG=gQ@mail.gmail.com"
        type="cite">
        <div dir="ltr">You can set this at<b> lxsession-default-apps</b>
          <div><b>Menu > Preferences > LxSession Default Apps<br>
            </b><br>
            OR
            <div><br>
            </div>
            <div><b>Right click</b> on the file you want to set. Let
              say, a Document.odt. On the menu, choose <b>Properties</b>.
              At the Properties windows, select the software you want to
              open as default on the "<b>Open With</b>" combobox (drop
              down menu)... Then hit <b>OK</b>.<br>
              <br>
              Double click the file to see if works...</div>
          </div>
        </div>
        <div class="gmail_extra"><br clear="all">
          <div>
            <div class="gmail_signature">
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div>
                      <div dir="ltr">
                        <div>
                          <div dir="ltr">
                            <div>
                              <div dir="ltr">
                                <div>
                                  <div dir="ltr">
                                    <div>
                                      <div dir="ltr"><br>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <br>
          <div class="gmail_quote">2015-01-14 17:57 GMT-02:00 John Hupp
            <span dir="ltr"><<a moz-do-not-send="true"
                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">I don't
              understand mime types very well, but it seems like the net
              effect as implemented is that they don't result in very
              granular control.<br>
              <br>
              To be specific, I find that if I use LibreOffice Writer to
              create an .odt file, a double-click on the file in pcmanfm
              results in AbiWord opening the file.<br>
              <br>
              I would like LibreOffice to open odt files, AbiWord to
              open abw files, and leafpad to open plain text files.  But
              lxsession-default-apps merely sets a "Document" launcher.<br>
              <br>
              Can set up finer control to open some files according to
              their extension?<span class="HOEnZb"><font color="#888888"><br>
                  <br>
                  -- <br>
                  Lubuntu-users mailing list<br>
                  <a moz-do-not-send="true"
                    href="mailto:Lubuntu-users@lists.ubuntu.com"
                    target="_blank">Lubuntu-users@lists.ubuntu.com</a><br>
                  Modify settings or unsubscribe at: <a
                    moz-do-not-send="true"
                    href="https://lists.ubuntu.com/mailman/listinfo/lubuntu-users"
                    target="_blank">https://lists.ubuntu.com/mailman/listinfo/lubuntu-users</a><br>
                </font></span></blockquote>
          </div>
          <br>
        </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Regards</pre>
  </body>
</html>