[Kde-hardware-devel] XRandR, first steps

Alex Fiestas alex at eyeos.org
Thu Nov 25 23:43:17 CET 2010


Hi there

As you may know (the sprinters surely do), I'm planning to work on XRandR 
support in KDE, this includes not only user applications but also tools for 
developers.

The current status can be described with 2 words, messy and chaotic, there is 
a lot of code but nothing is working 200% rock solid, the parts of that code 
that can be reused are messed with application logic, the kcm is not a 
usability rock star, and krandrtray is lacking features. Also we are not 
supporting color profiles (even that is not a xrandr thing).

Because all of that, I decided to act like we did with BlueDevil, reuse 
whatever we can, copy (get inspired) by the already existing code, but do 
everything from scratch, understanding the underlying technology in the 
process, and end up with something maintainable and scalable.

In order to do that, those would be my first baby steps:
1-Create a thin Qt wrapper above libxrandr, to make the api more cute.
2-Create test and/or examples that use the wrapper to understand how 
everything works.
3-Read existing code from non-kde software to understand how they had 
implemented the integration (user-wise).
4-Design our plan, which will include:
	4.1-User applications (Plasmoid, KCM, KDED)
	4.2-Developer tools (Improve kephal, write a better alternative etc...)

If someone else is working on XRandR, just reply this email and let's unify 
our agendas :)!

Happy hacking!


More information about the Kde-hardware-devel mailing list