VMware Communities
Schr__dinger
Contributor
Contributor

Alt Gr combinations not working in Unity

Hi,

Any of the keys requiring Alt Gr (ie. keys: @\{[]}) are not working in my Ubuntu 10.04 32 bit guest OS (Windows 7 64 bit host). In Windowed and Full screen views the Alt Gr key combinations work fine. Host and guest keyboard layout is same, in my case Finnish.

Running xev and pressing Alt Gr once in Full screen and windowed mode results in this:

KeyPress event, serial 33, synthetic NO, window 0x4200001,
    root 0xfc, subw 0x0, time 2596010, (477,419), root:(480,490),
    state 0x0, keycode 108 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
    XKeysymToKeycode returns keycode: 92
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x4200001,
    root 0xfc, subw 0x0, time 2596074, (477,419), root:(480,490),
    state 0x80, keycode 108 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
    XKeysymToKeycode returns keycode: 92
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

And the same in Unity mode:

KeyPress event, serial 33, synthetic NO, window 0x4200001,
    root 0xfc, subw 0x0, time 2709761, (452,589), root:(455,635),
    state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 33, synthetic NO, window 0x4200001,
    root 0xfc, subw 0x0, time 2709761, (452,589), root:(455,635),
    state 0x4, keycode 108 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
    XKeysymToKeycode returns keycode: 92
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x4200001,
    root 0xfc, subw 0x0, time 2709839, (452,589), root:(455,635),
    state 0x84, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x4200001,
    root 0xfc, subw 0x0, time 2709840, (452,589), root:(455,635),
    state 0x80, keycode 108 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
    XKeysymToKeycode returns keycode: 92
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

Notice the extra events for Control_L. So it seems the guest received two keycodes from one key in Unity mode. Any way to get rid of that extra key event in Unity.

-S

0 Kudos
3 Replies
admin
Immortal
Immortal

This is a known issue that we've been looking into.  I don't think that there's any workaround at this time (aside from not using Unity if you need to use AltGr Smiley Sad).

Schr__dinger
Contributor
Contributor

Thanks for letting me know. I'll be using a free alternative untill this get's fixed.

0 Kudos
SlartyBartfass
Contributor
Contributor

What is takig you so long?

There are many similar questions since 2010(!) and still the problem persists.

Can you please solve? I REALLY would like to use @|{[]}\ in unity mode  -   like a lot of other people, too

If it is not possible for some reason - or not inteded to be solved, please let me and the community know.

Thank you

Please see:

Windows 7 32bit host - Ubuntu 8.04 hardy 64bit guest unity altgr problem(bug?)

Unity mode converts AltGr to LeftCtrl + AltGr (Win7, Ubuntu 9.xx, 64-bit)

AltGr Key in Kubuntu guest on Windows 7 not working

Re: No special characters with unity

... and many many more.

0 Kudos