<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">Am 15.01.2018 um 22:46 schrieb Mark
Morgan Lloyd via Lazarus:<br>
</div>
<blockquote type="cite"
cite="mid:p3j7fn$2gq$1@pye-srv-01.telemetry.co.uk"><br>
Possibly one of the xdg-* programs... a bit of Googling suggests
xdg-mime
<br>
<br>
</blockquote>
<br>
seems to work now:<br>
<br>
executed:<br>
xdg-mime install ./lazarus-mime.xml <br>
<br>
But *.xml is still opened by lazarus aplication. Could be because i
really tried a lot of useless things before?!<br>
<br>
FileExtensions are a real hassle on linux?!!<br>
<br>
<hr size="2" width="100%"><br>
<br>
Result:<br>
<br>
xdg-mime install ./lazarus-mime.xml<br>
<br>
creates:<br>
<br>
'/home/john1/.local/share/mime/aliases'<br>
'/home/john1/.local/share/mime/generic-icons' <br>
'/home/john1/.local/share/mime/globs' <br>
'/home/john1/.local/share/mime/globs2' <br>
'/home/john1/.local/share/mime/icons' <br>
'/home/john1/.local/share/mime/magic' <br>
'/home/john1/.local/share/mime/mime.cache'<br>
'/home/john1/.local/share/mime/subclasses'<br>
'/home/john1/.local/share/mime/treemagic'<br>
'/home/john1/.local/share/mime/types'<br>
'/home/john1/.local/share/mime/version'<br>
'/home/john1/.local/share/mime/XMLnamespaces' <br>
<br>
and there are more subdirs!<br>
<br>
They all seems to handle lazarus *.lpi ...<br>
<br>
Windows is much easier in this respect?!<br>
<br>
Thanks for your tipps!!<br>
</body>
</html>