After some time in quiet development, I've brought the new xkb layout switcher module into usable state. It can so far switch layouts (obviously), keyboard models and layout variants, it supports gadgets and keybindings, and contains even some support for xorg options (grp:.* etc), but xorg options are not synced with the gadget state for now (if you for example set xorg option to change layout with alt+shift, if you bind it via E it obviously all works).
It's based on the concept of layout combinations, combination == layout+variant+optionally model (if not set, then model from global model page is used, and if that is not set either, it's autodecided). That way you can define i.e. combination for a single layout, but multiple variants. As long as you are not using the xorg options, stuff should be in sync. Internally the module currently calls to setxkbmap. That's certainly not ideal and should be changed with proper introduction of xkb stuff into ecore_x. When that is done, it will even be possible to sync gadgets with xorg actions. This module replaces the old "language" module which now resides in OLD. I've made it so it can eventually move into core E. Compared to language module, it's way smaller and doesn't have a need to parse XML. Feel free to give it a try, and report back how it works. If you find ugly code or make some improvements (which you probably will :3), patches are welcome. Daniel "q66" Kolesa (quaker in SVN) ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel