为什么Tab不能用ISO_Level3_Shift修改

为什么Tab不能用ISO_Level3_Shift修改

我使用的是名为 daisy 的 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

相关内容