redshift
redshift copied to clipboard
Not open with this error
Traceback (most recent call last):
File "/usr/bin/redshift-gtk", line 26, in
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.
I just had the same error. It seems the version of the xdg module installed for python3.6 has no BaseDirectory in it.
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/
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.