Trying open a .xpi
file (Firefox extension) with file-roller and unrar but I obtain this error:
Archive not supported
Why? On 11.04 I was able to open it!
You need too use unzip for that. Install it with sudo apt-get install unzip
if you dont have it and file-roller
will be able to uncompress the xpi after the installation, just right click on it and select "Extract here".
You can also do it on the command line
unzip addon-1865-latest.xpi
will uncompressed the file inside the current directory.
zip -r <name of the addon>.xpi .
will add all the files on the current directory back to a xpi archive. ie: extract all files to the current dir unzip addon-1865-latest.xpi
, remove original rm addon-1865-latest.xpi
, do your modifications to the files, repack them with zip -r addon-1865-latest.xpi .
.
Fire up the software center and get 7zip. See if that works for you.
I have this problem too. A workaround is to temporarily rename the file to .zip instead of .xpi before opening it.
It seems that the utility now fails to recognise the .xpi file type as a zip archive.
Install assogiate in the Ubuntu Software Centre or:
sudo apt-get install assogiate
Run assogiate, then look for zip on the search box. You should find: application zip zip archive
Right click on it -> Edit -> Filenames -> Add *.xpi
It should work now :)