Talks, ideas…October 2, 2007 8:31 am libxklavier, xkeyboard-config
Yesterday night I had two simultaneous chat sessions, both of them were quite interesting and gave me a lot of food for thought.
In jabber, Andriy Rusin and me discussed the idea of the unified DBus interface to the keyboard switching modules in DEs. The draft is published for discussion and announced on xdg and kde-core-devel maillists.
Also, Andriy nearly (hehe:) pushed me to implement the idea I had for a long while – get rid of translations from base.xml (which is getting damn fat these days). So xkeyboard-config would install a set of .gmo files and any interested app/library (read “libxklavier”) would use gettext explicitly. Some minor (intltool?) hacking would be required – the build process should change all underscore-prefixed tags in base.xml.in to the “normal ones” in base.xml, without actually merging translations. Lightweight base.xml would allow me to drop slightly overengineered DBus connection between the indicator widget and g-s-d.
Second session, with Daniel Stone on IRC, pushed another idea I had boiling in my head – introduce cross-element dependencies in base.xml. That way I would be able to say “this layout is only available for that keyboard model”. Or “this option is only available for that layout”. That kind of restrictions could be analyzed by the GUI frontends and prevent “semantically broken” configurations.