[Xfce4-commits] [bindings/thunarx-python] 01/03: Update readme and news
noreply at xfce.org
noreply at xfce.org
Sat Dec 23 03:34:14 CET 2017
This is an automated email from the git hooks/post-receive script.
a d a m p l u m b p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository bindings/thunarx-python.
commit 12ad412495651cd33b90e36f137787e5982c3153
Author: Adam Plumb <adamplumb at gmail.com>
Date: Fri Dec 22 21:23:31 2017 -0500
Update readme and news
---
NEWS | 1 +
README | 23 ++++++++++++++---------
2 files changed, 15 insertions(+), 9 deletions(-)
diff --git a/NEWS b/NEWS
index 2650a37..b040341 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,6 @@
0.5.0:
- Updated to work with python3 or python2
+ - Improve extension path loading semantics to follow XDG recommendations
0.4.0:
- Updated to work with Thunarx-3 which requires uses gobject introspection
diff --git a/README b/README
index a05018b..2ffd002 100644
--- a/README
+++ b/README
@@ -6,7 +6,7 @@ As of v0.4.0 the thunarx-python bindings will only work with Gtk+3
and Thunar v1.7. To use these with Gtk+2, make sure to use thunarx-python v0.3.0.
As of v0.5.0 the thunarx-python bindings can be built with either python3
-or python2 support. The $PYTHON environment variable should be pointed
+or python2 support. Ensure the $PYTHON environment variable is pointed
at your preferred python executable before running configure or autogen.
Install
@@ -16,27 +16,32 @@ To install, run the following commands:
$ make
$ make install
-If you have built thunar into a non-standard prefix, thunarx-python will be
+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
+update your PKG_CONFIG_PATH environment variable to include your Thunar's
pkgconfig path.
- export PKG_CONFIG_PATH="/thunar_prefix/lib/pkgconfig"
+ export PKG_CONFIG_PATH="/thunar_prefix/lib/pkgconfig"
Running Extensions
------------------
-As of thunarx-python 0.3.0, scripts are loaded from $XDG_DATA_DIR/thunarx-python/extensions,
-which includes ~/.local/share and /usr/share (or whatever your $XDG_DATA_DIR is
-set to). Simply copy your python scripts into that folder and restart thunar.
+As of thunarx-python 0.5.0, scripts are loaded in the following order:
+
+ 1. $XDG_DATA_HOME/thunarx-python/extensions
+ 2. thunar_prefix/share/thunarx-python/extensions
+ 3. $XDG_DATA_DIRS/thunarx-python/extensions
+ 4. THUNARX_EXTENSION_DIR/python (i.e. /usr/lib64/thunarx-3/python)
+
+Simply copy your python scripts into that folder and restart Thunar.
Dependencies
------------
- * thunar (1.7.0 or later)
+ * Thunar (1.7.0 or later)
* pygobject (3.20.0 or later)
* gtk+3 (3.20.0 or later)
Debugging
-----------
-To enable debug mode, start thunar with the following command:
+To enable debug mode, start Thunar with the following command:
$ THUNARX_PYTHON_DEBUG=all /path/to/thunar
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list