When I installed Ubuntu 12.04, curly brackets no longer worked. I then reinstalled 12.04, and everything worked fine until I hooked my laptop up with my Apple wireless keyboard. I then found out that all the keybindings with alt/meta was gone.
This is the output from xev when AltGr + 7 is pressed:
KeyPress event, serial 35, synthetic NO, window 0x3200001,
root 0xc4, subw 0x0, time 73403321, (208,74), root:(1114,151),
state 0x0, keycode 108 (keysym 0xffea, Alt_R), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 35, synthetic NO, window 0x3200001,
root 0xc4, subw 0x0, time 73403396, (208,74), root:(1114,151),
state 0x8, keycode 16 (keysym 0x37, 7), same_screen YES,
XLookupString gives 1 bytes: (37) "7"
XmbLookupString gives 1 bytes: (37) "7"
XFilterEvent returns: False
KeyRelease event, serial 35, synthetic NO, window 0x3200001,
root 0xc4, subw 0x0, time 73403471, (208,74), root:(1114,151),
state 0x8, keycode 108 (keysym 0xffea, Alt_R), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 35, synthetic NO, window 0x3200001,
root 0xc4, subw 0x0, time 73403484, (208,74), root:(1114,151),
state 0x0, keycode 16 (keysym 0x37, 7), same_screen YES,
XLookupString gives 1 bytes: (37) "7"
XFilterEvent returns: False
Anyone know what to do?
I have disabled the function where the alt-key shows the HUD in Unity. Things I have tried:
The lsusb did not show me any keyboard. I use the Apple wireless keyboard, with Norwegian (Macintosh) keyboard layout. All the keys are recognized so It seems like it
s just the combination that don
t work anymore. The same happened with alt+tab, but I just had to change some things in the compiz-settings.I also tried the onscreen keyboard, and pressed AltGr + shift, that made it possible for me to use brackets++.
xev
. It will display debugging information about input events. In the xev window, pressAltGr
, press7
, then release both keys. Copy-paste the xev output for this into your question. If there is anotherAltGr
combination that works, also copy-paste the output for that combination for comparison.7
key. Can you add the previous twoKeyPress
chunks as well? The most interesting one is you pressing theAltGr
key. And please edit your question (use theedit
button below the question text and the tags, above the comments).