On 31.10.2012 21:41, Daniel Martí wrote: > On Wed, Oct 31, 2012 at 09:36:49PM +0100, Uli Schlachter wrote: >> On 31.10.2012 21:13, Daniel Martí wrote: >>> On Wed, Oct 31, 2012 at 08:33:12PM +0100, Uli Schlachter wrote: >>>> Hi, >>>> >>>> On 31.10.2012 20:12, Daniel Martí wrote: >>>>> I've been looking for this for some time, but haven't found anything >>>>> yet. Would it be possible for awful.prompt to be compatible with unicode >>>>> characters? This won't make much sense to you now, since they are rarely >>>>> used in the command line (unless some filename was to have them) but it >>>>> would be an excellent feature for further extension. >>>> >>>> what exactly do you mean with "compatible with unicode characters"? I can >>>> enter >>>> öäüß into a prompt here without any problem (and I think that they are also >>>> "passed on" correctly). >>> >>> I mean that, exactly. How can you enter such characters? I can't. Even >>> when moving rc.lua away and thus using the default config, it won't >>> work. >>> >>> Locales are set up correctly, by the way. Using awesome 3.4.13. >> >> Uhm. I press the key that is labeled with "ö" on my keyboard. Then I release >> that key again. Afterwards, I do the same with "ä", "ü" and "ß". If I feel >> really fancy, I even press the shift key at the same time. Amazing, I know. > > Seriously now, it's not working for me. > > I found something interesting: Doing "Alt Gr" + some letter gives out > strange characters, like ß or æ. They work on the prompt. BUT when doing > characters like à or á, which need two separate keystrokes in time (i.e. > they can't be pressed both at once), only the last keystroke is caught. > > I suppose that's the issue.
Well, yes. Awesome doesn't do the black magic that is needed for tracking the full keyboard state with xcb, so deadkeys don't work. However, I recently saw someone suggesting a way out of this: http://lists.freedesktop.org/archives/xcb/2012-October/007930.html Of course, this also has the good side effect of requiring bleeding edge libraries that no distro has available which is always a good thing. ;-) Uli -- "Every once in a while, declare peace. It confuses the hell out of your enemies" - 79th Rule of Acquisition -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.