Skip to main content

Plugins for the Thunar file browser

Project description

Thunar Plugins

This Python package extends the Thunar file manager.

Prerequisites

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

Installation

Install this package from PyPI via

pip install thunar-plugins

If that fails, try python3 -m pip install --user thunar-plugins

Or install it from the repository root via

pip install .

Activating the Thunar Plugins

As it is not possible (or at least deprecated) with setuptools to install files outside of the ”Python-realm”, one more step is required to activate the Thunar plugins after installation:

thunar-plugins activate

If that doesn't work, try python3 -m thunar_plugins activate

That should place an appropriate symlink for Thunar(x-python) to find the plugins.

For Thunar to see the new plugins, you will need to restart it once:

thunar -q  # or simply log out and back in again

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-0.2.1.tar.gz (24.9 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: thunar-plugins-0.2.1.tar.gz
  • Upload date:
  • Size: 24.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

File hashes

Hashes for thunar-plugins-0.2.1.tar.gz
Algorithm Hash digest
SHA256 c03db442c18af864c75f2e13a35eb44eba5aba6db6d6f5eb5a244b0c8aa10a9e
MD5 e6c754c03dc45185b2d9be8422d48583
BLAKE2b-256 4dfeb98fb6b61e3f2eabe41d32a88d4cb01c77b55f5edcffc2295565c279ef67

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