Thunar - thunar-archive-plugin
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, select 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 the dialog shown below which allows you to specify the filename and type, target location and Other Options (if supported by the selected file type).
|Create Archive Compress Dialog|
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 be extracted to the current folder. If you select Extract To… instead, you will be prompted to specify the target location.
The Thunar Archive Plugin - since version 0.2.0 - provides a generic scripting interface for archive managers, so basically 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.
thunar-archive-plugin depends on the following packages:
* Thunar 1.2.0 or above
Supported archive managers
The Thunar Archive Plugin currently includes support for Xarchiver, File Roller (GNOME archive manager), Ark (KDE arvhive manager) and Engrampa (Mate archive manager). 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).
To add support for a new archive manager, all you need to do is to install
.desktop file - with the list of supported mime types - for the archive
manager to the
$(datadir)/applications/ folder (as usual), and in addition,
.tap file to
$(libexecdir)/thunar-archive-plugin/, which provides
a wrapper script that invokes the archive manager with the appropriate
parameters for the actions “Create Archive”, “Extract Here” and “Extract To”.
.desktop files should have the same basename, otherwise the
thunar-archive-plugin is not able to find the appropriate
.tap file for an
archive manager. For example, if the name of the
.desktop file is
.tap file must be named
scripts/ directory for examples of how to create said
.tap files. The
template.tap file should provide a good starting point.
Note that the thunar-archive-plugin takes the applications from the desktop database, so after installing new archive managers in $prefix (i.e. /usr or /usr/local), make sure to run:
Most modern package management systems will do this for you automatically, but if you are installing archive managers manually, you may need to run the above command first, otherwise you will get an error message telling you that no support archive managers were found on your system.
- thunar-archive-plugin 0.5.0 released (2022/04/30 10:24)
thunar-archive-plugin 0.5.0 is now available for download from https://archive.xfce.org/src/thunar-plugins/thunar-archive-plugin/0.5/thunar-archive-plugin-0.5.0.tar.bz2 https://archive.xfce.org/src/thunar-plugins/thunar-archive-plugin/0.5/thunar-archive-plugin-0.5.0.tar.bz2?sha1 https://archive.xfce.org/src/thunar-plugins/thunar-archive-plugin/0.5/thunar-archive-plugin-0.5.0.tar.bz2?sha256 What is thunar-archive-plugin? ============================== The Thunar Archive Plugin allows you to create and extract archive files using the file context menus in the Thunar file manager. Website: https://docs.xfce.org/xfce/thunar/archive Release notes for 0.5.0 ======================= - Fix for ark (Issue #4) - automake: INCLUDES -> AM_CPPFLAGS - preserve callbacks in tap-provider - remove GSpawnChildSetupFunc usage from tap_backend_run - Adds new README.md - updates AM_INIT_AUTOMAKE macro with foreign option - Add basic GitLab pipeline - Allow zip files (i.e. odt, docx...) to be compressed (Bug #15295) - Start archive application from file's directory (Bug #14773) - Replace AC_PROG_LIBTOOL with IT_PROG_INTLTOOL - Add support for archive manager for MATE - Translation Updates: Albanian, Amharic, Arabic, Armenian (Armenia), Asturian, Basque, Belarusian, Bulgarian, Catalan, Chinese (China), Chinese (Taiwan), Croatian, Czech, Danish, Dutch, Eastern Armenian, Eastern Armenian (Russia), English (Australia), English (United Kingdom), Esperanto, Estonian, Finnish, French, Galician, German, Greek, Hebrew, Hindi, Hungarian, Icelandic, Indonesian, Interlingue, Italian, Japanese, Kabyle, Kazakh, Korean, Latvian, Lithuanian, Malay, Norwegian Bokmål, Norwegian Nynorsk, Occitan (post 1500), Panjabi (Punjabi), Portuguese, Portuguese (Brazil), Romanian, Russian, Serbian, Slovak, Slovenian, Spanish, Swedish, Thai, Turkish, Ukrainian, Urdu, Urdu (Pakistan), Uyghur, Uzbek, Uzbek (Latin), Vietnamese
Source Code Repository
- Reporting Bugs – Open bug reports and how to report new bugs