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!!
-- 
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to