The xev output for both left alt and right alt is given below. I could not use right alt for any purpose due to this. What could be the problem? Thanks in advance.
KeyPress event, serial 39, synthetic NO, window 0x1400001,
root 0x409, subw 0x0, time 14963499, (139,64), root:(818,407),
state 0x10, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 39, synthetic NO, window 0x1400001,
root 0x409, subw 0x0, time 14964219, (139,64), root:(818,407),
state 0x18, 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
By default there was no layout enabled in that option but can add new ones. Anyway thanks for the tips
Yes, it depends on the layout. For example, I use the “English (Macintosh)” variant of the US layout. It has bindings for level 3 shift on all keys pretty much.
I also now set it to macintosh variant. But can I assign it to right shift instead of alt? I need the alt but there seems to be no option for using shift
It doesn’t seem to be available as part of the standard modifiers. You can probably have it as part of a custom layout, but I have no idea about how to do that.
As far as I understand those selectors work, using
shift
as the level 3 modifier is a bad idea since …SHIFT
+ keyL3
+ keySHIFT
+L3
+ keyL5
+ keyL5
+SHIFT
+ keyI suppose customizing the keyboard layout such that
SHIFT
can be used as L3 modifier can be done. Otherwise, you might want to refer to/usr/share/X11/xkb/rules/evdev.lst
.Here’s the relevant part(s):