Talk:Change keyboard maps
I just tried using this in awesome 3.3pre on arch (3.2.1 with some fixes from the development branch), as well as on the latest git pull, but could only get it to display the name of the layout defined through 'kbdcfg.current'. Clicking didn't work at all. The idea is great though, and it would be great to have this functionality.
Here, do it like this and it will work. Although I would personally do the whole widget differently.
-- Both widgets on the page are now updated and in working order -- - 22.08.2009
One last thing, since you want a keyboard widget consider writing one that will show the caps/scroll/numlock states (and possibly change them). That would be a nice contribution too, as it was often requested (hint: xset).
-- anrxc
Okay, i tried 'em and this code is still not working. I have the same problem: the widget appears, but bindings do nothing, both Alt-Shift_r and Ctrl-Shift (i would prefer Ctrl-Shift). I have awesome 3.3.4 (Mercury) on Ubuntu 9.10 Oreolek 03:30, 31 October 2009 (UTC)