Patching pithos for Mageia 7
Posted: Dec 16th, '19, 01:15
If you are using Pithos (installed from flatpak) you may have noticed that it does not work in Mageia 7.
Turns out this is easily handled.
As root, cd into /usr/local/share/pithos/pithos
Edit the file pithos.py.
Comment out line 127, and save. Now Pithos will work.
Specifically, change this:
to this:
Deleting the line also will work. I chose to not delete it because of the possibility that a later update to python will allow this function to work again. Doubt it, but you never know.
Turns out this is easily handled.
As root, cd into /usr/local/share/pithos/pithos
Edit the file pithos.py.
Comment out line 127, and save. Now Pithos will work.
Specifically, change this:
- Code: Select all
Gdk.cairo_set_source_pixbuf(ctx, self.background, cell_area.x, cell_area.y)
to this:
- Code: Select all
# Gdk.cairo_set_source_pixbuf(ctx, self.background, cell_area.x, cell_area.y)
Deleting the line also will work. I chose to not delete it because of the possibility that a later update to python will allow this function to work again. Doubt it, but you never know.