Open Chowih opened 4 years ago
Same happens here, ver. 3211 and running ubuntu 20.4
I believe its because the gtk libraries arent installed. If you try to run linux_colorpicker.py on its own you should see the error.
This is the error that I got: https://www.google.com/search?q=import+gtk+as+Gtk+ImportError%3A+No+module+named+gtk
Since version 22.04 there's not an easy way to install python2-gtk (was the fix used in ubuntu 20.04).
The fix I found is edit the first line of the file
~/.config/sublime-text/Packages/ColorPicker/lib/linux_colorpicker.py
and change the first line, from
#!/usr/bin/env python
to
#!/usr/bin/env python3
That fixes my problem in ubuntu 22.04.
The plugin don't work in SublimeText (3211) with the Ctrl + Shift + C shortcut. I have 2 PCs with this OS and SublimeText Version. Both have the same issue.