couple years ago, when i sent the estonian layout patch, worked fine put now im using redhat 9 and detects wrong layout (Latin American keyboard layout) is there some changes that breaks the layout or im making something wrong?
Raul
"Raul" zombi82@hot.ee wrote:
couple years ago, when i sent the estonian layout patch, worked fine put now im using redhat 9 and detects wrong layout (Latin American keyboard layout) is there some changes that breaks the layout or im making something wrong?
The changes have been made on the XFree86 side, not in Wine. It seems that XFree86 guys have corrected all their keyboard layouts to have no more than 2 keysyms per keycode in the single layout. As far as I can track it down that work was started for 4.2.x and with 4.3.0 (almost?) all keyboard layouts in XFree86 were fixed.
BTW, what wrong happens if your keyboard was misdetected? In the current CVS all national characters should work fine regardless what keyboard layout was detected. Is that only a warning message which makes you worry?
Dmitry Timoshkov wrote:
BTW, what wrong happens if your keyboard was misdetected? In the current CVS all national characters should work fine regardless what keyboard layout was detected. Is that only a warning message which makes you worry?
Does this also apply to UTF-8? I, for one, still can't get any characters recognized when the locale is UTF-8. When trying to type "Shalom" in notepad, wine makes a political statement:
Could not stat /cdrom (No such file or directory), ignoring drive D: Could not stat /dvd (No such file or directory), ignoring drive G: err:keyboard:X11DRV_ToUnicode Please report: no char for keysym 0CF9 (hebrew_shin) : err:keyboard:X11DRV_ToUnicode (virtKey=41,scanCode=1E,keycode=26,state=2010) err:keyboard:X11DRV_ToUnicode Please report: no char for keysym 0CEC (hebrew_lamed) : err:keyboard:X11DRV_ToUnicode (virtKey=4B,scanCode=25,keycode=2D,state=2010) err:keyboard:X11DRV_ToUnicode Please report: no char for keysym 0CE5 (hebrew_waw) : err:keyboard:X11DRV_ToUnicode (virtKey=55,scanCode=16,keycode=1E,state=2010) err:keyboard:X11DRV_ToUnicode Please report: no char for keysym 0CED (hebrew_finalmem) : err:keyboard:X11DRV_ToUnicode (virtKey=4F,scanCode=18,keycode=20,state=2010)
Shachar
"Shachar Shemesh" wine-devel@shemesh.biz wrote:
BTW, what wrong happens if your keyboard was misdetected? In the current CVS all national characters should work fine regardless what keyboard layout was detected. Is that only a warning message which makes you worry?
Does this also apply to UTF-8? I, for one, still can't get any characters recognized when the locale is UTF-8.
Shachar, Raul, could you apply the attached patch and produce a log for me? Run Wine notepad with +x11drv,+key,+keyboard,+event, press some offending keys, compress the log and send it directly to me with good description what is expected and what you really get.
Dmitry Timoshkov wrote:
"Shachar Shemesh" wine-devel@shemesh.biz wrote:
BTW, what wrong happens if your keyboard was misdetected? In the current CVS all national characters should work fine regardless what keyboard layout was detected. Is that only a warning message which makes you worry?
Does this also apply to UTF-8? I, for one, still can't get any characters recognized when the locale is UTF-8.
Shachar, Raul, could you apply the attached patch and produce a log for me? Run Wine notepad with +x11drv,+key,+keyboard,+event, press some offending keys, compress the log and send it directly to me with good description what is expected and what you really get.
After some messing around, and kind help from Dimitry, the problem was that my locale was not set correctly. Setting the locale to en_US.UTF-8 (with the dash, and in upper case) works with both wine and xev. Any other combination (utf8, UTF8, etc.) works with konsole, openoffice, kedit, and just about any other program I tested, but not with wine and xev. You live and you learn, obviously.
There is one thing that still bothers me. When using right-win for group toggle, I get a "`" printed when switching from group 0 to group 1, and ";" when switching from group 1 to group 0. Otherwise, everything works fine. This does not happen when other combinations are used to switch modes (well, both shifts toggle used to drive wine simply mad, I don't know how things are today, but that also happened with some other applications).
Shachar
"Shachar Shemesh" wine-devel@shemesh.biz wrote:
There is one thing that still bothers me. When using right-win for group toggle, I get a "`" printed when switching from group 0 to group 1, and ";" when switching from group 1 to group 0. Otherwise, everything works fine. This does not happen when other combinations are used to switch modes (well, both shifts toggle used to drive wine simply mad, I don't know how things are today, but that also happened with some other applications).
That's because we should ignore some key events. Try the attached patch, perhaps some other keysyms should be added to that list.
Raul, that should help you as well.
Dmitry Timoshkov wrote:
"Shachar Shemesh" wine-devel@shemesh.biz wrote:
There is one thing that still bothers me. When using right-win for group toggle, I get a "`" printed when switching from group 0 to group 1, and ";" when switching from group 1 to group 0. Otherwise, everything works fine. This does not happen when other combinations are used to switch modes (well, both shifts toggle used to drive wine simply mad, I don't know how things are today, but that also happened with some other applications).
That's because we should ignore some key events. Try the attached patch, perhaps some other keysyms should be added to that list.
Raul, that should help you as well.
no that doesnt help
it seems that keyboard mismatch occures with Alt Gr inserted chars and when i remove some Alt Gr chars it detects estonian layout and weird thing , i can still insert that chars what i removed
Raul
Dmitry Timoshkov wrote:
"Shachar Shemesh" wine-devel@shemesh.biz wrote:
There is one thing that still bothers me. When using right-win for group toggle, I get a "`" printed when switching from group 0 to group 1, and ";" when switching from group 1 to group 0. Otherwise, everything works fine. This does not happen when other combinations are used to switch modes (well, both shifts toggle used to drive wine simply mad, I don't know how things are today, but that also happened with some other applications).
That's because we should ignore some key events. Try the attached patch, perhaps some other keysyms should be added to that list.
Raul, that should help you as well.
Yes, that solves it for me. Thanks,
Shachar