I've been bothered for a while now that my right alt key labelled 'Alt GR' doesn't work in Ubuntu. It was clear that things weren't right when I ran 'xev' and pressed the two Alt keys - here is the output:
ISO_Level3_Shift? Not really the Alt_R I was looking for!
After reading this Ubuntu bug report I change my keyboard preferences to be "Alt and Meta are on the Alt keys" (found under System -> Preferences -> Keyboard)
Now when I run xev this is what I get:
At last, a working Alt-R key!
Technorati Tags: Ubuntu, Keyboard, Preferences, AltR, AltGR, Andrew Beacock
KeyPress event, serial 29, synthetic NO, window 0x3200001,
state 0x10, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
KeyPress event, serial 29, synthetic NO, window 0x3200001,
state 0x10, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
ISO_Level3_Shift? Not really the Alt_R I was looking for!
After reading this Ubuntu bug report I change my keyboard preferences to be "Alt and Meta are on the Alt keys" (found under System -> Preferences -> Keyboard)
Now when I run xev this is what I get:
KeyPress event, serial 30, synthetic NO, window 0x3200001,
state 0x10, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
KeyPress event, serial 30, synthetic NO, window 0x3200001,
state 0x10, keycode 113 (keysym 0xffea, Alt_R), same_screen YES,
At last, a working Alt-R key!
Technorati Tags: Ubuntu, Keyboard, Preferences, AltR, AltGR, Andrew Beacock
Comments
Now I cant use the Alt-key together with numbers to make characters such as ¶¡@£$€¥{[]}\±.
Which kinda sucks, because I use [ ] { } $ a lot for programming, and @ for e-mail addresses.
worked for dell xps m1330 laptop
thank you very much for the post!
You got 1+ from me :-)
Then i followed your indications, I got the same result as you via xev, and NOW i can't use the ALT-GR neither in other apps....
Acer Aspire Timeline 3810T / Ubuntu 9.10
What worked for me?
1. Choose 104-Key-Layout, instead of 105 (int)
2. Key to choose 3rd level --> Right Alt Key
Thanks for your inspiration!
Thanks for your inspiration!