Upon installation, Lifeograph is not registering properly its MIME type / file type with the OS.
If diary is unencrypted it's MIME type is recognized as "plain text document". For encrypted diaries it's MIME type is recognized correctly as ".diary document"
Description
Description
Event Timeline
Comment Actions
They don't ship MIME settings for the .diary type, so xdg-mime has no idea what these files are.
Comment Actions
It appears that it has the right stuff, but is 100% designed to be run and installed by a user (rather than with packaging).
cmake/xdg.cmake is a script to setup up the mimetype for the user, but it'll never be included in the package that way.
Comment Actions
I don't know much about mime (nor do I want to), but that should do it
$ cat lifeograph.xml <?xml version="1.0" encoding="utf-8"?> <mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'> <mime-type type="application/x-lifeographdiary"> <comment>Lifeograph diary</comment> <comment xml:lang="tr">Lifeograph günlüğü</comment> <magic priority="100"> <match type="string" offset="0" value="LIFEOGRAPHDB\n"/> </magic> <glob pattern="*.diary"/> </mime-type> </mime-info>