It is broken on systems with both python2 and python3 installed; symptoms are error message about missing /usr/lib/python2.7/site-packages/fontypythonmodules
when you run the fontypython.
Origin of the error is in /usr/lib/python2.7/site-packages/fontypythonmodules/segwrapfonty.py
where the author makes new command line python <other stuff>
which assumes we will actually run the python3 interpreter rather than python2.
Fix: rename python
to python2
in the command he generates and uses.
Patch:
--- segwrapfonty.py 2018-03-18 12:35:43.750110683 +0700
+++ segwrapfonty2.py 2018-03-18 12:33:05.000111232 +0700
@@ -62,7 +62,7 @@
# I want the window manager to think of it as 'fontypython'
# This seems to work.
# Try: xprop
-c1 = [ "python", os.path.join(fontyroot,'fontypython') ]
+c1 = [ "python2", os.path.join(fontyroot,'fontypython') ]
## Append any args
for arg in sys.argv[1:]: c1.append( arg )
Pinned Comments
SanskritFritz commented on 2021-04-12 12:20 (UTC)
Sadly this package doesn't work anymore, since python2-pillow does not exist anymore.