Manually Remove Extension: writer2xhtml.oxt [solved]
(com.sun.star.lang.IllegalArgumentException) { { { Message = “Cannot detect media-type: file:///Applications/LibreOffice.app/Contents/MacOS/../share/uno_package..., Context = (com.sun.star.uno.XInterface) @9786858 } }, ArgumentPosition = (short) -1 }
So, on a Mac, how do I manually remove extensions?
Library/Application Support/LibreOffice/4/User/Extensions
Inside that, I have lots of system files, but no .OXT files, and nothing labelled “writer2xhtml.” Am I just looking in the wrong place? I have revealed all the hidden directories (that I know of).
Attachment | Size |
---|---|
Extension_Directories.png | 128.12 KB |
Applications/
. There should be a LibreOffice.app/
sub-directory in that location. The extension will have been installed into a sub-directory beneath this. LibreOffice.app/
directory (application package) and select Show Package Contents. I decided to just use the nuclear option, though: full uninstall and reinstall. Most of my customization is in my templates anyway, so it’s not a huge loss. Thanks for your help!
Clicking on a folder there will show the contents of the folder which includes the extension (eg lu6gw7r.tmp_ -> pepitocleaner.oxt).
I have deleted that folder (eg lu6gw7r.tmp_) plus the accompanying file with the same name (eg lu6gw7r.tmp) to remove the extension.
NB This applies to extensions installed for the user.
For globally installed extensions, follow oweng’s right click instructions.
/Applications/LibreOffice.app/Contents/MacOS/share/extensions/
it should be possible to browse to that location and manually delete the unwanted files. Note the instructions in this old post about backup up the extensions first, by creating anextensions.bak/
directory and copying all the existing contents ofextensions/
to it (for later coping back if necessary). Also note that it should be possible to open the OXT installer using an archive manager (perhaps rename to ZIP first) to see where the files for that extension are installed.