Skip to content
March 12, 2012 / dantti

Coloring you desktop with colord-kde

I’m sorry I never finish a thing… Apper, debconf-kde, print-manager and now colord-kde…

WIP  FTW!!!

But at least I start a bunch of things that get in some “Finished” state, some people say they don’t know from where to start well I have several started options :D

So let’s talk about colord-kde, colord is a simple daemon that manages color profiles it probably does a bit more than that, but the actual color correction happens on the clients, which of course makes sense, imagine if colord had to understand Cups, sane, X… Each “device” needs it’s own controler, so colord-kde isn’t just a KCM that manages colord profiles and devices (tho it’s needed to have the KDE look’n’feel), it also has to manage the X outputs.

You plug a monitor the KDED module has to detect it, register with colord, if colord already knows it then we need to get the default ICC profile and set on the right X output. And I’m glad to say it’s just working!!!

Both the KCM and KDED modules are WIP, missing things include not detecting new outputs nor being able to add ICC profiles through the GUI, I could say we have 60% of the needed code but if you are crazy enough to go testing (and hopefully coding) it already provides the feature. Be careful, I had to restart my laptop since the screen got black, the bug was fixed but be advised…

KCM which is able to change the default profile

KCM which is able to display all profiles available and their info

The left monitor is using a Blue profile

Of course all of this wouldn’t be near to possible if Richard Hughes didn’t give me a hand, thank him, he filled the code with lots of TODO’s and small parts of code, he even coded a few stuff in his limited Qt/C++ knowledge :D

Enjoy

UPDATE: I forgot to mention where the code is: git://gitorious.org/colord/colord-kde.git

About these ads

13 Comments

Leave a Comment
  1. Enrico / Mar 12 2012 17:22

    ** Excellent work, thx **

  2. Ximion / Mar 12 2012 22:07

    Yeeeha, great thing! :) I’ll help as soon as my exams are finished here ;-)

    • dantti / Mar 12 2012 23:03

      Don’t worry :)

      • Ximion / Mar 13 2012 20:50

        :)

  3. trapanator / Mar 13 2012 07:42

    Which KDE version will we see it?

    • dantti / Mar 13 2012 08:00

      maybe 4.9

  4. BajK / Mar 13 2012 09:04

    Great! :) If you’re already at screen stuff, can’t you fix krandr? It annoys me to hell that it *always* has to screw up my screen config :( Why can’t it just save it correctly and never ever try to re-dect it?

    • dantti / Mar 13 2012 10:48

      I thought of doing so, but Alex Fiestas already has plans for it, so for now let’s just play with color stuff…

  5. Alexander Potashev / Mar 14 2012 19:30

    Just to make it clear: `colord-kde` cannot manager KDE color schemes, right?

    • dantti / Mar 14 2012 19:51

      If by KDE color schemes you mean having a black background for windows or red fonts then no.
      It’s about setting a profile so that a color is more accurately displayed on your monitor.

      • Alexander Potashev / Mar 14 2012 20:13

        Thanks!

  6. Tejas Guruswamy / Mar 16 2012 15:29

    How does this overlap (or not) with Oyranos? http://www.oyranos.org/ which was trying to improve colour support in KDE

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: