If you're trying to build something that integrates with the Linux desktop, check out dabri https://github.com/AshBuk/dabri
Not mine, I just found it 2 hours ago.. No mention of it on HN so not sure what others think about it.