Xfce Wiki

Sub domains


Python bindings for the Thunar Extension Framework


The latest version is thunarx-python 0.5.1

Installation and Usage


  • 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.


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"


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

$ THUNARX_PYTHON_DEBUG=all /path/to/thunar

Extensions using thunarx-python