Open vajahath opened 8 years ago
just edit ~/.config/sublime-text-3/Packages/ColorPicker/lib/linux_colorpicker.py
,
search this line
if color_sel.run() == getattr(Gtk, 'RESPONSE_OK', Gtk.ResponseType.OK):
change to
if color_sel.run() == getattr(Gtk, 'RESPONSE_OK', Gtk.ResponseType):
and save. hope it's help
@ianfebriyanto Thank you! very much, it's working now. I was having the same problem as @vajahath since last months.
@ianfebriyanto Thank you very much.. @dipengrg :+1:
id also like to add that if you run the file:
~/.config/sublime-text-3/Packages/ColorPicker/lib/linux_colorpicker.py
and you are still getting gtk import errors, you need to install the gtk package with:
sudo apt-get install python-gtk2
@dipengrg @ianfebriyanto @ianfebriyanto. It seems like after some updates the
if color_sel.run() == getattr(Gtk, 'RESPONSE_OK', Gtk.ResponseType):
configuration wont work. We've to change it back to:
if color_sel.run() == getattr(Gtk, 'RESPONSE_OK', Gtk.ResponseType.OK):
@Sschumac thanks bro!!!' :D
It seems like the latest commit to this project is before 2 years. Is this still an active project?
@ianfebriyanto Thank you!
It works for Sublime Text 3 in Ubuntu 18.04 as well, but I have to install the dependency python-gtk2.
Hi I just had a fresh installation Ubuntu 16.04 LTS version, then installed sublime-text 3 (build 3103) and ColorPicker tool.
I can access the ColorPicker tool using Ctrl+Shift+C, select a color, but the selected color does not appear on the window. ie. After selecting a particular color and clicking ok does do nothing except closing the window. The color hashcode does not appear nor replace existing color value. It was working fine in my previous 14.04 version.