On 02/09/2017 07:27 AM, Bob Bernstein wrote: > When I boot my Jessie it brings me, as desired, to a bash command line > prompt (no X at this stage of the game). > > If I then launch the jed editor (or emacs -nw) from that prompt, > pressing Alt-x on the keyboard, produces the M-x prompt where jed wants it. > > I then can enter startx and arrive in my desired icewm X desktop, I can > then launch an xterm and, in it, jed, or emacs. But only Esc-x on the > keyboard produces the wanted M-x prompt these editors. > > Somewhere, somehow X (xorg, to be more precise) has eaten my M-x. Can > anyone help me get my Meta key -- Alt -- back? > >
Not sure if that helps, but may be you can reset the modifiers: xdotool keyup Meta_L Meta_R Alt_L Alt_R to reset all modifiers: xdotool keyup Shift_L Shift_R Control_L Control_R Meta_L Meta_R Alt_L Alt_R Super_L Super_R Hyper_L Hyper_R ISO_Level2_Latch ISO_Level3_Shift ISO_Level3_Latch ISO_Level3_Lock ISO_Level5_Shift ISO_Level5_Latch ISO_Level5_Lock See also: http://unix.stackexchange.com/questions/60007/how-to-force-release-of-a-keyboard-modifiers