redshift icon indicating copy to clipboard operation
redshift copied to clipboard

Not open with this error

Open robsonsilv4 opened this issue 8 years ago • 4 comments

Traceback (most recent call last): File "/usr/bin/redshift-gtk", line 26, in from redshift_gtk.statusicon import run File "/usr/lib/python3.6/site-packages/redshift_gtk/statusicon.py", line 44, in from . import utils File "/usr/lib/python3.6/site-packages/redshift_gtk/utils.py", line 23, in from xdg import BaseDirectory as base ModuleNotFoundError: No module named 'xdg'

robsonsilv4 avatar Nov 28 '17 00:11 robsonsilv4

Install the xdg module. If you installed Redshift from packages provided by your distribution, you should contact your distribution and ask them to install the correct dependencies.

jonls avatar Nov 29 '17 02:11 jonls

I just had the same error. It seems the version of the xdg module installed for python3.6 has no BaseDirectory in it.

tremby avatar Oct 20 '21 03:10 tremby

I think redshift-gtk wants this package https://pypi.org/project/pyxdg/ while in python3 if you install xdg you get this package https://pypi.org/project/xdg/

tremby avatar Oct 20 '21 03:10 tremby

In my case, the solution was pip3 uninstall xdg. I then tried pip3 install pyxdg but I was told it was already installed (maybe from a system package?), and sure enough, redshift-gtk now runs agani.

tremby avatar Oct 20 '21 03:10 tremby