http://bugs.winehq.org/show_bug.cgi?id=18289
--- Comment #5 from Mantas Kriaučiūnas mantas@akl.lt 2010-12-03 03:19:10 CST --- I can confirm this bug in all wine versions, including 1.2 and 1.3.8 (tested with Ubuntu Linux 10.04.1)
It's very easy to reproduce (you must have lt_LT.UTF-8 locale definition files installed in your system, run 'locale -a |grep lt'):
1. Set keyboard mapping to Lithuanian and start Wine notepad in lt_LT locale: ubuntu@ubuntu:~$ setxkbmap lt ubuntu@ubuntu:~$ LANG=lt_LT.UTF8 notepad
2. Hold AltGr (right Alt) key and press 9 key (from main keyboard, bellow F7-F9, not from numeric keyboard) and you will see number 8 in notepad instead of 9
3. Hold Shift key and press 8, then 9, then 0 keys (from main keyboard, bellow F7-F9) and you will see ŪŪ) instead of Ū()
This is very important problem for Lithuanians, as we can't write number 9 and left round bracket when Lithuanian keymap is active during startup of WINE, because key 9 from main keyboard works like key 8 :(
Btw, I just found strange workaround for this bug - if US or RU keymap is active during startup of software, which uses WINE (like notepad), and I change keymap to Lithuanian only when WINE is already running, then key 9 works correctly:
1. Set keyboard mapping to US and LT, then start Wine notepad in lt_LT locale: ubuntu@ubuntu:~$ setxkbmap us,lt ubuntu@ubuntu:~$ LANG=lt_LT.UTF8 notepad
2. Change keyboard mapping from US to LT with GNOME keyboard indicator (it appears in gnome panel's notification area when you run setxkbmap us,lt)
3. Now key 9 works correctly - Hold AltGr (right Alt) key and press 9 key (from main keyboard) and you will see number 9 ; Hold Shift key and press 8, then 9, then 0 keys (from main keyboard) and you will see Ū()