From time to time I install development versions for LibreOffice. I see myself changing the MIME settings for those many types of files associated with LibreOffice and I am looking for a skript to change them all in one strike. Is this possible?
I have seen, there is something like this:
$ xdg-mime query filetype *.odt
application/vnd.oasis.opendocument.text
By some tricks one probably would have to feed the result into xdg-mime default ...
.
But how can I identify all MIME types associated with LibreOffice? How can I combine this all into one skript?
0 Answers