1

I regularly need to extract ZIP archives that contain characters that are encoded in Chinese (GB18030). The slow way of doing this is to open the folder in a terminal and entering the following command:

$ unzip -O GB18030 foo.zip

I want to create a contractor contract that will allow me to unzip files from the right-click menu in pantheon-files. I placed the following contract (unzip-chinese.contract) in /usr/share/contractor/

[Contractor Entry]
Name=Extract GB18030
Icon=extract-archive
Description=Extract the GB18030 encoded archive and quit
MimeType=application/zip;
Exec=unzip -O GB18030 %f

enter image description here

Can anybody tell me why when I select this option from the right-click menu, nothing happens?

enter image description here

Thanks!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.