[Lazarus] Linux: howto define file *.lpi to be opened with lazarus?

John Landmesser jmlandmesser at gmx.de
Tue Jan 16 12:55:25 CET 2018



Am 15.01.2018 um 22:46 schrieb Mark Morgan Lloyd via Lazarus:
>
> Possibly one of the xdg-* programs... a bit of Googling suggests xdg-mime
>

seems to work now:

executed:
xdg-mime install ./lazarus-mime.xml

But *.xml is still opened by lazarus aplication. Could be because i 
really tried a lot of useless things before?!

FileExtensions are a real hassle on linux?!!

------------------------------------------------------------------------


Result:

xdg-mime install ./lazarus-mime.xml

creates:

'/home/john1/.local/share/mime/aliases'
'/home/john1/.local/share/mime/generic-icons'
'/home/john1/.local/share/mime/globs'
'/home/john1/.local/share/mime/globs2'
'/home/john1/.local/share/mime/icons'
'/home/john1/.local/share/mime/magic'
'/home/john1/.local/share/mime/mime.cache'
  '/home/john1/.local/share/mime/subclasses'
  '/home/john1/.local/share/mime/treemagic'
  '/home/john1/.local/share/mime/types'
  '/home/john1/.local/share/mime/version'
  '/home/john1/.local/share/mime/XMLnamespaces'

and there are more subdirs!

They all seems to handle lazarus *.lpi ...

Windows is much easier in this respect?!

Thanks for your tipps!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20180116/f34b692a/attachment.html>


More information about the Lazarus mailing list