Description: Rgb/Hex Color picker for webdevelopers and not only.
Dependency is python-webkit
UPDATED BY REQUEST, NOW IS WEBKIT BASED
Very simple usage. Check the codes of selected color, darken or lighten the scheme.
Package contains:
python file Color-Picker
hidden folder .colorchart with view.html file
Installation: Extract package and copy all content from folder Color-Picker including the hidden folder (.colorchart) into the nautilus-scripts folder (you can find this folder in '~/.gnome2/nautilus-scripts')
Do not copy the whole Color-Picker folder, copy only it's content: Color-picker.py .colorchart .colorchart/view.html
Remember to add exec permissions to Color-Picker python script
It is not working for me, either. I'm using Natty at the moment.
Here's what I think it is, though. Version 1.2 works just fine still in Natty (with GNOME2), requiring python-gtkmozembed as a dependency, however 1.2 does not work in Oneiric (with GNOME3), as python-gtkmozembed is no longer in the repos and it creates a lot of headaches trying to install it and all of its dependencies to work in Oneiric.
My guess is those who had issues with 1.2 working now is because they are using Oneiric, or at least, GNOME3, which is why an update was required. I'm guessing 1.3 works fine in Oneiric (GNOME3), with the dependency of python-webkit, I just haven't had a chance to test that out.
Unfortunately, 1.3 doesn't seem to work in Natty, (GNOME2). As such, I guess I will stick with 1.2 until I install Oneiric, (GNOME3).
I forgot to say thanks for this little script. Its handy, and I definitely was a bit upset a week back when I first was testing out Oneiric (and GNOME3) and found it to not work. So I'm glad you've updated it.
Indeed.
It is just a bit odd why 1.2 works in Natty (GNOME2) but not in Oneiric (GNOME3), while 1.3 works in Oneiric (GNOME3), but not in Natty (GNOME2). Oh well. As I said, just got to remember which Ubuntu (and maybe GNOME) version I'm using and which version of your Color-Picker script I am using as well.
On that note, if I am right about that, maybe keeping both versions of the scripts available on this page would be a good idea. That way one or the other should work. Anyway, just a suggestion. Thanks again!
I've installed it just how it was instructed here, but nothing opens up when I click it. While I wouldn't use it for coding or anything, I thought it would pop up just as in the screenshot and allow me to have a chart of all colors and their codes, which would be very handy. Perhaps I just need a little clarification on just what this does and how this works if at all possible. Thanks.
This is strange, because it is very simple python script. try to run it over the terminal to see any errors.
About the functions, yes the script should work exactly like you have described
I see. Well, opening it in the terminal, I get this output:
Traceback (most recent call last):
File "./Color-Picker.py", line 7, in <module>
import gtkmozembed
ImportError: No module named gtkmozembed
Okay, so looking at the readout of my error, I decided to to a sudo apt-cache search for 'gtkmozembed' and what it came up with was:
python-gtkmozembed - Python bindings for the GtkMozEmbed Gecko library
libgtk-mozembed-ruby - ruby binding of GtkMozEmbed, gecko renderer
libgtk-mozembed-ruby1.8 - ruby binding of GtkMozEmbed, gecko renderer
libgtk-mozembed-ruby1.8-dbg - ruby binding of GtkMozEmbed, gecko renderer
So I decided to sudo aptitude install python-gtkmozembed
...and only that one, and voila, it works just fine now. Guess it's not something that is installed by default. Not sure if the other 3 should be installed or not.
Ratings & Comments
16 Comments
Does not work at all
I will check it again, please wait
Is working , the dependency is python-webkit
It is not working for me, either. I'm using Natty at the moment. Here's what I think it is, though. Version 1.2 works just fine still in Natty (with GNOME2), requiring python-gtkmozembed as a dependency, however 1.2 does not work in Oneiric (with GNOME3), as python-gtkmozembed is no longer in the repos and it creates a lot of headaches trying to install it and all of its dependencies to work in Oneiric. My guess is those who had issues with 1.2 working now is because they are using Oneiric, or at least, GNOME3, which is why an update was required. I'm guessing 1.3 works fine in Oneiric (GNOME3), with the dependency of python-webkit, I just haven't had a chance to test that out. Unfortunately, 1.3 doesn't seem to work in Natty, (GNOME2). As such, I guess I will stick with 1.2 until I install Oneiric, (GNOME3).
I forgot to say thanks for this little script. Its handy, and I definitely was a bit upset a week back when I first was testing out Oneiric (and GNOME3) and found it to not work. So I'm glad you've updated it.
I didn't check it, it was updated it by request. I am happy , that the script is useful.
Indeed. It is just a bit odd why 1.2 works in Natty (GNOME2) but not in Oneiric (GNOME3), while 1.3 works in Oneiric (GNOME3), but not in Natty (GNOME2). Oh well. As I said, just got to remember which Ubuntu (and maybe GNOME) version I'm using and which version of your Color-Picker script I am using as well. On that note, if I am right about that, maybe keeping both versions of the scripts available on this page would be a good idea. That way one or the other should work. Anyway, just a suggestion. Thanks again!
Done ...
Awesome, thanks.
Very nice and useful -for me- little tool.
I've installed it just how it was instructed here, but nothing opens up when I click it. While I wouldn't use it for coding or anything, I thought it would pop up just as in the screenshot and allow me to have a chart of all colors and their codes, which would be very handy. Perhaps I just need a little clarification on just what this does and how this works if at all possible. Thanks.
This is strange, because it is very simple python script. try to run it over the terminal to see any errors. About the functions, yes the script should work exactly like you have described
I see. Well, opening it in the terminal, I get this output: Traceback (most recent call last): File "./Color-Picker.py", line 7, in <module> import gtkmozembed ImportError: No module named gtkmozembed
Okay, so looking at the readout of my error, I decided to to a sudo apt-cache search for 'gtkmozembed' and what it came up with was: python-gtkmozembed - Python bindings for the GtkMozEmbed Gecko library libgtk-mozembed-ruby - ruby binding of GtkMozEmbed, gecko renderer libgtk-mozembed-ruby1.8 - ruby binding of GtkMozEmbed, gecko renderer libgtk-mozembed-ruby1.8-dbg - ruby binding of GtkMozEmbed, gecko renderer So I decided to sudo aptitude install python-gtkmozembed ...and only that one, and voila, it works just fine now. Guess it's not something that is installed by default. Not sure if the other 3 should be installed or not.
Okay I will edit the post
Ok, cool. Thank you. Very cool app. It will be handy.