Bug 931 - Replacement/enhancement needed for libxkbfile API
Summary: Replacement/enhancement needed for libxkbfile API
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/libxkb* (show other bugs)
Version: 6.7.0
Hardware: All All
: medium enhancement
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
Whiteboard: 2011BRB_Reviewed
Depends on:
Blocks: 6143 xorg-xkb
  Show dependency treegraph
Reported: 2004-07-27 10:34 UTC by Alan Coopersmith
Modified: 2013-05-17 10:02 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Note You need to log in before you can comment on or make changes to this bug.
Description Alan Coopersmith 2004-07-27 10:34:16 UTC
Projects like libxklavier and the GNOME keyboard configuration control panel
have started using the libxkbfile API to determine the Xserver keyboard

There are two major problems with this use of libxkbfile:
  1) It requires the software to know where the X server in use has installed its
     XKB configuration files.  If the user installs an alternate Xserver for 
     whatever reason, the software may use incorrect configuration files or be
     unable to find XKB data files at all.
  2) It requires local filesystem access to the configuration files of the Xserver
     so it won't work with remote displays.

An enhanced or replacement API for libxkbfile should be developed to solve these
Comment 1 Alan Coopersmith 2004-09-15 20:33:48 UTC
See also http://bugzilla.gnome.org/show_bug.cgi?id=152105
Comment 2 Daniel Stone 2006-02-11 11:43:22 UTC
i'll sort it
Comment 3 Daniel Stone 2006-03-05 08:04:19 UTC
see also http://people.freedesktop.org/~daniels/talks/fosdem-xkb.pdf
Comment 4 Daniel Stone 2006-03-05 08:04:34 UTC
<insert comment here>
Comment 5 Sergey V. Udaltsov 2006-03-05 14:37:56 UTC
(In reply to comment #3)
> see also http://people.freedesktop.org/~daniels/talks/fosdem-xkb.pdf

Daniel, this is really excellent presentation, I'd say - and it makes perfect
sense to me. I really regret I could not attend it. Anyway, I am going to
promote it as widely as I can.
Comment 6 Daniel Stone 2007-02-27 01:23:44 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 7 Alan Coopersmith 2011-02-17 07:27:26 UTC
libxkbfile also mixes in other XKB API's that really should have been
in libX11 with the rest of them, like XKBBell - most programs that link
with libxkbfile don't actually read XKB files.   (Though fewer today since
we didn't get this converted well from Imake to automake for many of the
Xorg apps.)

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.