Xfce Forum

Sub domains
 

You are not logged in.

#1 2014-03-12 07:24:32

alfonz19
Member
Registered: 2012-01-07
Posts: 2

how to disable context menu being triggered by menu key?

Hi,

short formulation: I've remapped MENU key. How to disable xfce listening for scancode related to MENU key and prohibit displaying context menu?

long formulation:
I've changed my keyboard layout a little bit. Let say, that on common keyboard there is between right-alt (ALT-R) and rctrl(CONTROL-R)  two keys. rwin(SUPER-R) and 'contex menu key' (MENU). When you click it -- the context menu key that I'll talk about, nice context menu appears. Mine keyboard is missing rwin (SUPER-R), only 'context menu key' (MENU) is present.

But I want different layout. I've mapped 'context menu key' to produce altr-gr(ISO_Level3_Shift) If I run xev and I go from left to right I got following sequence:
Control_L, ISO_Level3_Shift, Alt_L, space, Alt_R, ISO_Level3_Shift, Control_R
so this is OK. But even if there is no MENU key, xfce picks it's scancode (probably) and shows context menu, which is not wanted. Where can I disable it? There is some setting for it, somewhere, but I forgot where and having hard time finding it.

thanks in advance.
Martin.

Offline

#2 2014-03-18 06:38:29

alfonz19
Member
Registered: 2012-01-07
Posts: 2

Re: how to disable context menu being triggered by menu key?

OK, I would swear that I saw that switch somewhere. I can't find it now.
But this command achieves the same result.

xmodmap -e 'keycode 135=ISO_Level3_Shift'

Offline

Board footer

Powered by FluxBB