<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><br>
Hi John,<br>
Thanks for finding this!!<br>
I will have to experiment with using mimeapps.list some.<br>
For all who are interested here is the spec...<br>
<br>
<table border="1">
<tbody>
<tr>
<td>$XDG_CONFIG_HOME/$desktop-mimeapps.list</td>
<td>user overrides, desktop-specific (for advanced users)</td>
</tr>
<tr>
<td>$XDG_CONFIG_HOME/mimeapps.list</td>
<td>user overrides (recommended location for user
configuration GUIs)</td>
</tr>
<tr>
<td>$XDG_CONFIG_DIRS/$desktop-mimeapps.list</td>
<td>sysadmin and ISV overrides, desktop-specific</td>
</tr>
<tr>
<td>$XDG_CONFIG_DIRS/mimeapps.list</td>
<td>sysadmin and ISV overrides</td>
</tr>
<tr>
<td>$XDG_DATA_HOME/applications/$desktop-mimeapps.list</td>
<td>for completeness, deprecated, desktop-specific</td>
</tr>
<tr>
<td>$XDG_DATA_HOME/applications/mimeapps.list</td>
<td>for compatibility, deprecated</td>
</tr>
<tr>
<td>$XDG_DATA_DIRS/applications/$desktop-mimeapps.list</td>
<td>distribution-provided defaults, desktop-specific</td>
</tr>
<tr>
<td>$XDG_DATA_DIRS/applications/mimeapps.list</td>
<td>distribution-provided defaults</td>
</tr>
</tbody>
</table>
<br>
<br>
Based on that I think you should save the file as (for local
users):<br>
~/mimeapps.list<br>
~/lubuntu-mimeapps.list (mayeb lxde??)<br>
<br>
<br>
then run<br>
echo $XDG_CONFIG_DIRS<br>
if you want to find the specific global directories to change the<br>
## I am using an array here below to indicate you can *probably*
use any directory listed)<br>
${XDG_CONFIG_DIRS[<b>1</b>]}<b>/mimeapps.list</b><br>
or one of these:<br>
lubuntu-mimeapps.list<br>
lxde-mimeapps.list<br>
<br>
<br>
On 01/20/2015 05:06 PM, John Hupp wrote:<br>
</div>
<blockquote cite="mid:54BEDF70.8000903@prpcompany.com" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<div class="moz-cite-prefix">I was looking at this further, and
found out that /usr/share/applications/defaults.list was
officially deprecated in 4/14. See, for instance, <a
moz-do-not-send="true"
href="https://mail.gnome.org/archives/distributor-list/2015-January/msg00000.html">https://mail.gnome.org/archives/distributor-list/2015-January/msg00000.html</a>
and also the current spec at <a moz-do-not-send="true"
href="http://standards.freedesktop.org/mime-apps-spec/mime-apps-spec-latest.html">http://standards.freedesktop.org/mime-apps-spec/mime-apps-spec-latest.html</a>
which instead specifies the use of a mimeapps.list at one
location or another.<br>
<br>
Lubuntu 14.04 seems to implement some sort of mixture of the
deprecated and current spec. I have not been able to pin it
down with precision.<br>
<br>
The LibreOffice installation wrote a full complement of mime
type associations to /usr/share/applications/defaults.list. But
PCmanFM does not look at that -- it opens an ODT file with
AbiWord. I have yet to figure out what it looks at by default.
Anyone know?<br>
<br>
If I R-click on a file: Open With and check the box to make the
current app the default for opening the file, then PCmanFM
writes to ~/.local/share/applications/mimeapps.list with the
minimal entries required to set the desired mime type
association. And then for the current user, ODT files open with
LibreOffice.<br>
<br>
Oddly enough, though PCmanFM writes to a mimeapps.list (named
per the new spec), ~/.local/share/applications is not one of the
lookup locations in the new spec.<br>
<br>
I copied ~/.local/share/applications/mimeapps.list to
/etc/xdg/lubuntu/, which is a lookup location in the new spec.
Then I created a new user and found that my global mimeapps.list
was ineffective.<br>
....<br>
</div>
<blockquote cite="mid:54B81763.80401@gmail.com" type="cite">
<pre class="moz-signature" cols="72">--
Regards</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Regards</pre>
</body>
</html>