Skip to main content

Plugins for the Thunar file browser

Project description

🖱️ 🛠️ Thunar Plugins

This Python package extends the Thunar file manager and provides a way for other Python packages to do the same without worrying about Thunar finding them.

✨ Features Added to Thunar

  • ✅ a settings menu to en-/disable plugins added by this or other Python packages

  • 🔗 creating links to a file or folder

  • ☑️ Calculating various checksums of files

  • 🗓️ planned: all features from thunar-custom-actions

  • 🔄 Basic Git Annex support (sync,get,drop)

📦 Installation

arch-logo manjaro-logo

If you are on an Arch-based Linux, you can install the python-thunar-plugins-git package from the AUR:

# using yay, you may of course use your favourite AUR installer
pacman -Syu yay
yay -Syu python-thunar-plugins-git

In this case you might only have to restart Thunar to see the new plugins:

thunar -q

Other Platforms: Installation from PyPI

☝️ Prerequisites

For these Thunar plugins to work, you will need to have installed:

# Install this package from PyPI:
pip install thunar-plugins

# Install the latest development version:
pip install git+https://gitlab.com/nobodyinperson/thunar-plugins

# Install from the repository root
git clone https://gitlab.com/nobodyinperson/thunar-plugins
cd thunar-plugins
pip install .

If that fails, try python3 -m pip install --user ... instead of just pip install ...

⚡ Troubleshooting

  • try thunar -q or log out and back in if the plugins aren't shown in Thunar
  • run thunar -q and then THUNARX_PYTHON_DEBUG=all THUNAR_PLUGINS_LOGLEVEL=debug thunar to debug
  • run thunar-plugins activate (or python3 -m thunar_plugins activate) to place the activator script (should be done upon installation)
  • run thunar-plugins deactivate to deactivate plugins

➕ Adding More Plugins

This thunar_plugins package can act as a stepping stone for other packages that add plugins to Thunar: The activator script loads all thunar_plugin entry points provided by any installed Python package. So if another package provides a Thunar plugin (e.g. a new context menu entry) with class mypackage.mymodule.mysubmodule.MyThunarPlugin, that package may adjust its setup.cfg like this and stop caring about how to tell Thunar where the plugin can be found:

[options]
install_requires = thunar_plugins

[options.entry_points]
thunar_plugin =
    my-thunar-plugin = mypackage.mymodule.mysubmodule:MyThunarPlugin

For proper display in the thunar-plugins settings dialog, every Python Thunar plugin class registered like this should also have a short name and a one-sentence description string attribute.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

thunar-plugins-1.3.0.tar.gz (43.4 kB view details)

Uploaded Source

Built Distribution

thunar_plugins-1.3.0-py3-none-any.whl (48.8 kB view details)

Uploaded Python 3

File details

Details for the file thunar-plugins-1.3.0.tar.gz.

File metadata

  • Download URL: thunar-plugins-1.3.0.tar.gz
  • Upload date:
  • Size: 43.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for thunar-plugins-1.3.0.tar.gz
Algorithm Hash digest
SHA256 f55f222379889445f8f0219c655e9f34ac6f0f01bd633b1ff1198d07220161e6
MD5 67707dd4193a19679a51e7a08da25fdd
BLAKE2b-256 dbdc3e988a52224c84b55cd0c7523954f1f64374daa38177289075313bb93dd0

See more details on using hashes here.

File details

Details for the file thunar_plugins-1.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for thunar_plugins-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 af0a7789346fc601f4dae4a63820eba032519b69435e50cf05e41b90edc3131f
MD5 79414f51590e4e73d3be4ee00d9879fd
BLAKE2b-256 85e762ea80708454a1f23817681cf5f5c7e1ae4ed4d96fc10c1964663cdece95

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page