[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: M-x in emacs printing x

From: goncholden
Subject: Re: M-x in emacs printing x
Date: Thu, 10 Mar 2022 21:08:10 +0000

------- Original Message -------
On Thursday, March 10th, 2022 at 8:41 PM, <> wrote:
> On Thu, Mar 10, 2022 at 08:16:23PM +0000, goncholden via Users list for the 
> GNU Emacs text editor wrote:
> > Have been doing M-x in emacs, but am getting the x being printed.
> > What could be going on?

> Perhaps your Meta isn't a Meta?

Indeed.  I am using Dvorak layout

setxkbmap -layout us -variant dvorak
xmodmap -pke | grep "Control\|Alt\|Meta\|Super"

keycode  37 = Control_L NoSymbol Control_L
keycode  64 = Alt_L Meta_L Alt_L Meta_L
keycode 105 = Control_R NoSymbol Control_R
keycode 108 = Alt_R Meta_R Alt_R Meta_R
keycode 133 = Super_L NoSymbol Super_L
keycode 134 = Super_R NoSymbol Super_R
keycode 204 = NoSymbol Alt_L NoSymbol Alt_L
keycode 205 = NoSymbol Meta_L NoSymbol Meta_L
keycode 206 = NoSymbol Super_L NoSymbol Super_L

I have tried to have

Meta to be Control
Hyper to be Meta
Control to be Hyper

This is what I have done for my xmodmap

clear lock
clear mod4
clear mod3

keycode 37 = Hyper_L NoSymbol Hyper_L NoSymbol
keycode 105 = Hyper_R NoSymbol Hyper_R NoSymbol

!! Set Super Keys to Position of Caps_Lock
keycode 66 = Super_R NoSymbol Super_R NoSymbol

add mod3 = Super_L Super_R
add mod4 = Hyper_L

!! Interchange Ctrl-Key with Alt-Key (Meta-Key)

clear control
clear mod1
clear mod2

keycode 64 = Control_L NoSymbol Control_L NoSymbol
keycode 108 = Control_R NoSymbol Control_R NoSymbol

keycode 133 = Alt_L Meta_L Alt_L Meta_L
keycode 134 = Alt_R Meta_R Alt_R Meta_R

keycode 206 = NoSymbol Hyper_L NoSymbol Hyper_L
keycode 207 = NoSymbol Super_L NoSymbol Super_L

add control = Control_L Control_R
add mod1 = Alt_L Alt_R

reply via email to

[Prev in Thread] Current Thread [Next in Thread]