Have you tried using d-bus switchboard from extra-devel, the application allows you create and edit associations between handler applications and and filetypes, but i haven't figured everything out yet. I don't know what to put for the handler command, while creating the handler for freoffice anyone wanna help me out?