Re: lost my 'menu' key



On 2008-02-17, Florian Kulzer <florian.kulzer+debian@xxxxxxx> wrote:
On Sun, Feb 17, 2008 at 17:58:02 +0000, Tyler Smith wrote:
Hi,

I've got my menu key bound to the root menu in fluxbox:

from ~/.fluxbox/keys:
None Menu :RootMenu

Until recently this worked just fine. However, it has now stopped
working. I checked with xev, and now the menu key comes up as:

KeyPress event, serial 32, synthetic NO, window 0x1200001,
root 0x66, subw 0x0, time 680134456, (-378,390), root:(269,412),
state 0x0, keycode 227 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 32, synthetic NO, window 0x1200001,
root 0x66, subw 0x0, time 680134519, (-378,390), root:(269,412),
state 0x0, keycode 227 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

I take this to mean that something has changed in my X set up, and the
menu key is no longer properly mapped to anything. How would I go
about fixing this?

This might get the "Menu" keysymbol back to key 227:

xmodmap -e 'keycode 227 = Menu'


Thanks!

I added the following to my ~/.xmodmap, which is called from
.Xsession:

keycode 227 = Menu

Restarting X, I now get the following from xev for the menu key:

KeyPress event, serial 32, synthetic NO, window 0x1200001,
root 0x66, subw 0x0, time 686578088, (171,-9), root:(818,13),
state 0x0, keycode 227 (keysym 0xff67, Menu), same_screen YES,
XKeysymToKeycode returns keycode: 117
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 32, synthetic NO, window 0x1200001,
root 0x66, subw 0x0, time 686578152, (171,-9), root:(818,13),
state 0x0, keycode 227 (keysym 0xff67, Menu), same_screen YES,
XKeysymToKeycode returns keycode: 117
XLookupString gives 0 bytes:
XFilterEvent returns: False

Emacs now picks up the menu key, C-h k <menu> produces the following:

<menu> runs the command execute-extended-command
which is an interactive built-in function in `C source code'.
It is bound to <execute>, <menu>, M-x.

However, fluxbox stills ignores it. Any other suggestions?

Cheers,

Tyler


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • keymapping -> numlock doesnt work anymore
    ... KeyPress event, serial 32, synthetic NO, window 0x3200001, ... XLookupString gives 1 bytes: "j" ... XFilterEvent returns: False ... KeyRelease event, serial 32, synthetic NO, window 0x3200001, ...
    (freebsd-questions)
  • key works in sawfish but does not in icewm
    ... character on some keys on German keyboards. ... default sawfish window manager or to ICEWm. ... |KeyPress event, serial 28, synthetic NO, window 0x1200001, ... | XLookupString gives 1 bytes: ...
    (comp.os.linux.setup)
  • Re: Right ALT key drives me crazy under X
    ... I got this problem too and I solved it configuring my keyboard as pc105. ... KeyPress event, serial 31, synthetic NO, window 0x3600001, ... XLookupString gives 0 bytes: ... KeyRelease event, serial 31, synthetic NO, window 0x3600001, ...
    (Debian-User)
  • Right ALT key drives me crazy under X
    ... KeyPress event, serial 31, synthetic NO, window 0x3600001, ... XLookupString gives 0 bytes: ... KeyRelease event, serial 31, synthetic NO, window 0x3600001, ...
    (Debian-User)
  • Re: keycode =?ISO-8859-15?Q?f=FCr?= Dollar und Euro gesucht
    ... existiert leider nicht. ... XFilterEvent returns: False ... XLookupString gives 1 bytes: "$" ... KeyRelease event, serial 32, synthetic NO, window 0x2800001, ...
    (de.comp.os.unix.linux.misc)