Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: I wrote a color picker applet

  1. #1
    Join Date
    Apr 2006
    Beans
    10

    I wrote a color picker applet

    Hey there,

    I wanted a little applet to sit in my panel to pick colors like ColorZilla but not depending on having firefox running, but couldn't find anything out there for gnome (I think there is something similar for KDE). So I decided to write it myself.



    For details, see my blog post about it here. To download it directly, click here.

    Installation
    To install on edgy (the only distro I have tried it with), run
    Code:
    ./configure --prefix=/usr
    followed by
    Code:
    sudo make install
    You may have to restart your gnome panel to get it to show up.

    You need the prefix thing to get it to show up in the panel, otherwise gnome doesn't find it.

  2. #2
    Join Date
    Jan 2007
    Beans
    235

    Re: I wrote a color picker applet

    Cool, I'll try it, but have you heard of gcolor2?


    sudo apt-get install gcolor2

  3. #3
    Join Date
    Nov 2005
    Location
    Toronto
    Beans
    1,181

    Re: I wrote a color picker applet

    Very cool. I'll give it a try once the next version of XFCE comes out and I can use Gnome applets.
    But I mean no harm nor put fault
    On anyone that lives in a vault
    But it's alright, Ma, if I can't please him.

  4. #4
    Join Date
    Apr 2006
    Beans
    10

    Re: I wrote a color picker applet

    Nikron: Yeah, gcolor2 is great (but agave is better ), it doesn't do the gnome panel + recently used colors thing, which is what I wanted.

  5. #5
    Join Date
    Oct 2005
    Location
    Portland, Oregon USA
    Beans
    4,022

    Re: I wrote a color picker applet

    Quote Originally Posted by kegie View Post
    Hey there,

    I wanted a little applet to sit in my panel to pick colors like ColorZilla but not depending on having firefox running, but couldn't find anything out there for gnome (I think there is something similar for KDE). So I decided to write it myself.



    For details, see my blog post about it here. To download it directly, click here.

    Installation
    To install on edgy (the only distro I have tried it with), run
    Code:
    ./configure --prefix=/usr
    followed by
    Code:
    sudo make install
    You may have to restart your gnome panel to get it to show up.

    You need the prefix thing to get it to show up in the panel, otherwise gnome doesn't find it.
    Nice! Awesome work...reminds me of the Color Picker in KDE

    Attached Images Attached Images
    Last edited by RAV TUX; February 11th, 2007 at 07:57 PM.

  6. #6
    Join Date
    Jan 2007
    Beans
    235

    Re: I wrote a color picker applet

    Mmm, I get this error when I try to .config

    No package 'pygtk-2.0' found

    Consider adjusting the PKG_CONFIG_PATH environment variable if you
    installed software in a non-standard prefix.

    Alternatively, you may set the environment variables PYGTK_CFLAGS
    and PYGTK_LIBS to avoid the need to call pkg-config.
    See the pkg-config man page for more details.

    It shows I have the package in the manager though.

  7. #7
    Join Date
    Apr 2006
    Beans
    10

    Re: I wrote a color picker applet

    I have no clue when it comes to packaging and dependencies, it's on my list of things to figure out.. but I think that what you need are the packages python-gtk2 and python-gnome2. It could be that you need the *-dev versions as well, but they shouldn't be necessary.

  8. #8
    Join Date
    Jan 2007
    Beans
    235

    Re: I wrote a color picker applet

    Well, I compiled it, and now I can't find it in the the add to panel..

    BTW, I had to installed the -dev and -1.2 versiosn of pygtk

  9. #9
    Join Date
    Apr 2006
    Beans
    10

    Re: I wrote a color picker applet

    It usually takes a little while for it to show up in the add to panel, for some reason. What you can do is log out and back in again, and it should be there.
    If it isn't, it could be because you forgot to add --prefix=/usr to the ./configure call before calling sudo make install, that'd put it in the wrong place and the gnome panel won't find it..

  10. #10
    Join Date
    Jan 2007
    Beans
    235

    Re: I wrote a color picker applet

    Got it working.. love it, thanks

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •