Xfce Wiki

Sub domains
 

This is an old revision of the document!


FIXME This page is not fully translated, yet. Please help completing the translation.
(remove this paragraph once the translation is finished)

thunarx-python

Python bindings for the Thunar Extension Framework

Download

The latest version is thunarx-python 0.5.1

Installation and Usage

Dependencies

  • thunar (v1.7.0 or later)
  • gtk+3 (3.20.0 or later)
  • pygobject3 (3.20.0 or later)

For older versions of thunar or if wanting to use pygtk/gtk+2, stick with thunarx-python v0.3.0.

Install

To install, run the following commands:

$ ./configure (or ./autogen.sh if building from git)
$ make
$ make install

If you have built thunar into a non-standard prefix, thunarx-python will be installed there, but make sure pkg-config knows where it is. You may have to update your PKG_CONFIG_PATH environment variable to include your thunar's pkgconfig path.

  export PKG_CONFIG_PATH="/thunar_prefix/lib/pkgconfig"

Debugging

To enable debug mode, start thunar with the following command:

$ THUNARX_PYTHON_DEBUG=all /path/to/thunar

Extensions using thunarx-python