[ANNOUNCE] xprop 1.1.0 - other small improvements looking for coders
Alan Coopersmith
Alan.Coopersmith at Sun.COM
Mon Oct 12 14:24:13 PDT 2009
Alan Coopersmith wrote:
> xprop is a command line utility to print window & font properties.
> This release adds a new output type for displaying _NET_WM_ICONs
> as ASCII/UTF-8 art, as well as a couple other output improvements,
> and the usual janitorial cleanups.
For those looking for small programming tasks to get into the client-side
code base, I've also filed this suggestion for similar work that could
be done to xprop:
- https://bugs.freedesktop.org/show_bug.cgi?id=24483
xprop should display UTF8_STRING properties as text
(for which the hardest part is making sure the bytes are valid UTF-8
strings before trying to print them and crashing - there's lots of
references in google for UTF-8 validation, but I'm not sure if there's
an existing C language validation function in a common library)
as well as a question listed in the utilities section of
http://www.x.org/wiki/ToDo :
- Should xprop work with input device (Xi2) and output
device (randr) properties too?
and of course, rewriting the whole thing to use libxcb asynchronous calls
instead of libX11 should greatly cut down on time waiting for round trips,
much like the recent (though not yet integrated) work on xlsclients:
https://bugs.freedesktop.org/show_bug.cgi?id=4232
http://lists.freedesktop.org/archives/xcb/2009-September/thread.html
--
-Alan Coopersmith- alan.coopersmith at sun.com
Sun Microsystems, Inc. - X Window System Engineering
More information about the xorg-devel
mailing list