The Thunar Archive Plugin allows you to create and extract archive files using the file context menus in the Thunar file manager. For example, to create a new archive, just right click on the files and folders you want to add to the archive, right click on one of the selected files and select Create Archive… from the context menu.
This will open a dialog, which prompts you to enter the name of the archive file and the location where to store the created file to.
Likewise you can easily extract archive files using the context menu. Just select the archive file you want to extract, right click to open the context menu and select Extract Here.
The files from the selected archive will afterwards be extracted to the current folder. If you select Extract To… instead, you will be prompted to specify the location where to extract the archive to.
The Thunar Archive Plugin - since 0.2.0 - provides a generic scripting interface for archive managers, so basicly every archive manager that supports the required command line switches (or an equivalent D-BUS interface) can be used with Thunar. See the README file in the source distribution for further details about the process of adding a new archive manager.
The standard MIME association mechanism is used to determine the preferred archive manager for the Create Archive…, Extract Here and Extract To… actions. However, the plugin may not always be able to detect the appropriate archive manager for a certain task. In this case, the user will need to manually select the preferred archive manager from a list of possible applications.
The Thunar Archive Plugin currently includes support for it Gnome File Roller, Ark (KDE archive manager) and Xarchiver as helpers, but support for other archive managers can easily added by installing a .tap wrapper script in addition to the .desktop file for that application (see the README file in the source tarball).
You will need thunar at least to install thunar-archive-plugin.
Source tarballs and binary packages of the latest stable release 0.4.0 (and earlier releases) are available from the Xfce Archive download page.
The latest version can be downloaded here thunar-archive-plugin-0.4.0.
Getting and building source code from Git
git clone https://git.xfce.org/thunar-plugins/thunar-archive-plugin thunar-archive-plugin ssh://email@example.com/thunar-plugins/thunar-archive-plugin
For Thunar to be able to find the Thunar Archiver Plugin both have to be install with the same prefix. To ensure this run the following command to build from tarball:
./configure --prefix=$(pkg-config --variable prefix thunarx-1)
For source build from the goodies repository run the following:
./autogen.sh --prefix=$(pkg-config --variable prefix thunarx-1)
Afterwards one of these commands the source is ready to be build and installed. For install root access might be necessary.
make && make install
Bugs should be reported to the Xfce bug tracking system (product Thunar Plugins, component thunar-archive-plugin). You will need to create an account for yourself.