RGB/HEX Color Picker

Nautilus Scripts

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

0
Become a Fan
5.7

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

Ratings & Comments

16 Comments

ubuntico

Does not work at all

petrakis

I will check it again, please wait

petrakis

Is working , the dependency is python-webkit

inameiname

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).

inameiname

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.

petrakis

I didn't check it, it was updated it by request. I am happy , that the script is useful.

inameiname

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!

petrakis

Done ...

inameiname

Awesome, thanks.

troikas

Very nice and useful -for me- little tool.

inameiname

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.

petrakis

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

inameiname

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

inameiname

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.

petrakis

Okay I will edit the post

inameiname

Ok, cool. Thank you. Very cool app. It will be handy.

Pling
0 Affiliates
Details
license
version 1.3
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 5

More Nautilus Scripts from petrakis:

Universal Encoder/Decoder
petrakis
last update date: 15 years ago

Score 5.0

Other Nautilus Scripts:

Gflv2avi
acidc00l
last update date: 15 years ago

Score 5.0

My Movie Portal v3.2.8
iTechScripts
last update date: 13 years ago

Score 4.7

Browse Nautilus as root
SteveSims
last update date: 17 years ago

Score 5.0

Open Nautilus as Root
Mariux
last update date: 17 years ago

Score 5.0

Compare Strings
cdmn
last update date: 17 years ago

Score 5.0

grooto
pontos
last update date: 17 years ago

Score 5.0



System Tags