I'm trying to change the default application for the filetype .xopp, which is a file for the xournalpp application. I currently ran the following commands:
xdg-mime query filetype 2022-06-09/note.xopp which gave me: application/gzip. How can I make only the files that end in .xopp open in xournalpp? It works when I use a file browser, but when I run:
xdg-open 2022-06-09/note.xopp it opens it in an unzipping program.
I'm currently using Manjaro Linux.