私はデイジーと呼ばれる40キーのキーボードを使用しており、すべてのキーボードでレイアウトが一貫したいと思います。タブを別のキーで変更できないため、リソースが無駄になります。
.Xmodmapの関連部分は次のとおりです。
clear Mod5
! 47 is the ; key on the keyboard
keycode 47 = ISO_Level3_Shift ISO_Level3_Shift ISO_Level3_Shift ISO_Level3_Shift ISO_Level3_Shift ISO_Level3_Shift
add Mod5 = ISO_Level3_Shift
keycode 23 = Tab ISO_Left_Tab Next Next Next Next
しかし; +Tab を押すと、まだ Tab が挿入されます。次はどうするの?
xev を使用すると ;+tab と Shift+Tab を押すとこれが得られます。
KeyPress event, serial 10256, synthetic NO, window 0x1000001,
root 0xe5, subw 0x0, time 123115414, (483,707), root:(483,737),
state 0x0, keycode 47 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 10256, synthetic NO, window 0x1000001,
root 0xe5, subw 0x0, time 123115538, (483,707), root:(483,737),
state 0x80, keycode 23 (keysym 0xff09, Tab), same_screen YES,
XLookupString gives 1 bytes: (09) " "
XmbLookupString gives 1 bytes: (09) " "
XFilterEvent returns: False
KeyRelease event, serial 10256, synthetic NO, window 0x1000001,
root 0xe5, subw 0x0, time 123115672, (483,707), root:(483,737),
state 0x80, keycode 23 (keysym 0xff09, Tab), same_screen YES,
XLookupString gives 1 bytes: (09) " "
XFilterEvent returns: False
KeyRelease event, serial 10256, synthetic NO, window 0x1000001,
root 0xe5, subw 0x0, time 123115703, (483,707), root:(483,737),
state 0x80, keycode 47 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 10256, synthetic NO, window 0x1000001,
root 0xe5, subw 0x0, time 123141310, (483,707), root:(483,737),
state 0x0, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 10256, synthetic NO, window 0x1000001,
root 0xe5, subw 0x0, time 123141590, (483,707), root:(483,737),
state 0x1, keycode 23 (keysym 0xfe20, ISO_Left_Tab), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 10256, synthetic NO, window 0x1000001,
root 0xe5, subw 0x0, time 123141757, (483,707), root:(483,737),
state 0x1, keycode 23 (keysym 0xfe20, ISO_Left_Tab), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 10256, synthetic NO, window 0x1000001,
root 0xe5, subw 0x0, time 123141839, (483,707), root:(483,737),
state 0x1, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False