Both sides previous revisionPrevious revisionNext revision | Previous revision |
xfce:thunar:archive [2020/09/08 22:54] – kevinbowen | xfce:thunar:archive [2022/08/22 23:43] (current) – alexxcons |
---|
~~NOTOC~~ | ~~NOTOC~~ |
{{ :xfce:thunar:thunar.png?nolink|}} | {{ :xfce:xfce.thunar.png?no link|}} |
====== thunar-archive-plugin ====== | ====== Thunar - thunar-archive-plugin ====== |
| |
| |
| * **[[#Required packages|Required packages]]** |
| * **[[#Supported archive managers|Supported archive managers]]** |
* **[[#Latest Release|Latest Release]]** | * **[[#Latest Release|Latest Release]]** |
* **[[#Source Code Repository|Source Code Repository]]** | * **[[#Source Code Repository|Source Code Repository]]** |
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 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 [[http://git.xfce.org/archive/xarchiver/|Xarchiver]], [[http://fileroller.sourceforge.net|File Roller]] and [[http://userbase.kde.org/Ark|Ark]], 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). | [[|Back to Top]] |
| ---- |
| |
| ===== Required packages ===== |
| |
| thunar-archive-plugin depends on the following packages: |
| |
| * Thunar 1.2.0 or above |
| |
| [[|Back to Top]] |
| ---- |
| |
| ===== Supported archive managers ===== |
| |
| The Thunar Archive Plugin currently includes support for [[http://git.xfce.org/archive/xarchiver/|Xarchiver]], [[http://fileroller.sourceforge.net|File Roller]] (GNOME archive manager), [[http://userbase.kde.org/Ark|Ark]] (KDE arvhive manager) and [[https://github.com/mate-desktop/engrampa|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 |
| the ''.desktop'' file - with the list of supported mime types - for the archive |
| manager to the ''$(datadir)/applications/'' folder (as usual), and in addition, |
| install a ''.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". |
| |
| The ''.tap'' and ''.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 ''ark.desktop'', |
| the ''.tap'' file must be named ''ark.tap''. |
| |
| See the ''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: |
| |
| ''update-desktop-database $prefix/share/applications'' |
| |
| 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. |
| |
[[|Back to Top]] | [[|Back to Top]] |
| |
===== Latest Release ===== | ===== Latest Release ===== |
==== 0.4.0 (20171214)==== | {{rss>hhttps://archive.xfce.org/feeds/project/thunar-archive-plugin 1 date description 2h}} |
[[https://archive.xfce.org/src/thunar-plugins/thunar-archive-plugin/0.4/thunar-archive-plugin-0.4.0.tar.bz2|thunar-archive-plugin-0.4.0.tar.bz2]] | |
* **[[https://archive.xfce.org/src/thunar-plugins/thunar-archive-plugin/0.4/thunar-archive-plugin-0.4.0.tar.bz2?sha1|SHA1 hash]]** | |
* **[[https://archive.xfce.org/src/thunar-plugins/thunar-archive-plugin/0.4/thunar-archive-plugin-0.4.0.tar.bz2?sha256|SHA256 hash]]** | |
| |
[[https://archive.xfce.org/src/thunar-plugins/thunar-archive-plugin/|Previous Versions]] | [[https://archive.xfce.org/src/thunar-plugins/thunar-archive-plugin|Previous Releases]] |
| |
---- | ---- |