在Ubuntu 15.04中使用菜单键作为Compose键会弹出一个菜单

我将Compose键配置为菜单键 , 如此问题所示 。 然而,当我按下菜单键时,不是(或者可能除了?)获得撰写行为,而是出现上下文菜单(通常右键单击的菜单)。

这现在发生在Chrome和gnome-terminal中,所以我假设它是一个系统范围的function。 它曾经在14.04工作正常(不确定大约14.10)。

如何覆盖/禁用此function,以便我可以使用Menu作为Compose键?

万一重要:我使用的是Xmonad,而不是Unity。

菜单键的xev输出:

 KeyPress event, serial 33, synthetic NO, window 0x2800001, root 0x1d7, subw 0x0, time 49369104, (497,344), root:(1690,368), state 0x10, keycode 135 (keysym 0xff67, Menu), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 33, synthetic NO, window 0x2800001, root 0x1d7, subw 0x0, time 49369216, (497,344), root:(1690,368), state 0x10, keycode 135 (keysym 0xff67, Menu), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False 

xmodmap输出:

 xmodmap: up to 4 keys per modifier, (keycodes in parentheses): shift Shift_L (0x32), Shift_R (0x3e) lock Caps_Lock (0x42) control Control_L (0x25), Control_R (0x69) mod1 Alt_L (0x40), Alt_R (0x6c), Meta_L (0xcd) mod2 Num_Lock (0x4d) mod3 mod4 Super_L (0x85), Super_R (0x86), Super_L (0xce), Hyper_L (0xcf) mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb) 

正如我在这里所说,使用这个配置: org.gnome.desktop.input-sources > xkb-options ['compose:menu'] 。 用Ubuntu 15.04和xmonad测试。

使用此配置:

 % xev KeyPress event, serial 36, synthetic NO, window 0x1600001, root 0x233, subw 0x0, time 38683999, (93,83), root:(138,192), state 0x10, keycode 135 (keysym 0xff20, Multi_key), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: True KeyRelease event, serial 36, synthetic NO, window 0x1600001, root 0x233, subw 0x0, time 38684071, (93,83), root:(138,192), state 0x10, keycode 135 (keysym 0xff20, Multi_key), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False 

没有这个配置:

 % xev KeyPress event, serial 36, synthetic NO, window 0x1600001, root 0x233, subw 0x0, time 38796879, (476,270), root:(521,379), state 0x10, keycode 135 (keysym 0xff67, Menu), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 36, synthetic NO, window 0x1600001, root 0x233, subw 0x0, time 38796951, (476,270), root:(521,379), state 0x10, keycode 135 (keysym 0xff67, Menu), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False