I recently made some changes to my keyboard layout, like adding in the
us_intl keyboard and the Filipino keyboard to my normal US keyboard. I
also made the right windows key to become the compose key. In addition I
changed from a Generic 101 key keyboard to the A4Tech KB-21 keyboard.
This is for my Box #1, and it was all done in KDE System-Settings ->
Input devices.
After this, my right alt key no longer functions like an alt key. I
prefer my right alt key to have the same behavior as my left alt key.
When I run xev, I show that the right alt key and left alt key behave
as follows:
KeyPress event, serial 39, synthetic NO, window 0x8000001,
root 0x15f, subw 0x0, time 45742206, (162,-17), root:(1489,7),
state 0x2010, 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 39, synthetic NO, window 0x8000001,
root 0x15f, subw 0x0, time 45742722, (162,-17), root:(1489,7),
state 0x2090, keycode 108 (keysym 0xfe03, ISO_Level3_Shift),
same_screen YES,
XKeysymToKeycode returns keycode: 92
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 39, synthetic NO, window 0x8000001,
root 0x15f, subw 0x0, time 45744900, (162,-17), root:(1489,7),
state 0x2010, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 39, synthetic NO, window 0x8000001,
root 0x15f, subw 0x0, time 45745186, (162,-17), root:(1489,7),
state 0x2018, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
You can see that the first key press is the right alt, and it is saying
that it is “ISO_Level3_Shift”. However the 2nd key press is the left
alt, and it reads as “Alt_L”.
How can I make the right alt key read as “Alt_R”? I tried switching
through all 3 different keyboards and testing it, and no change. I also
tried eliminating the compose key (even though it is right-win and not
right-alt), and it also showed no change. I then tried going back to the
Generic 101 key keyboard, and it still maps that key to “ISO_Level3_Shift”.
–
G.O.
Box #1: 12.3 | KDE 4.10 | AMD Phenom IIX4 | 64 | 16GB
Box #2: 12.3 | KDE 4.10 | AMD Athlon X3 | 64 | 4GB
Laptop: 12.3 | KDE 4.10 | Core i7-2620M | 64 | 8GB