You are not logged in.

#1 2013-08-10 10:08:30

zidarsk8
Member
Registered: 2011-12-06
Posts: 97

xmodmap: bad keysym target keysym 'Alt_R'

Hi, I like to have a few keys reassigned just for ease of use, and I've had the same xmodmap config for a while now, but i formated my pc, and now the same config doesn't work any more.

My .Xmodmap file

clear Lock
keysym Caps_Lock = Escape
keysym Escape = Caps_Lock
add Lock = Caps_Lock

keysym Alt_R = KP_Enter

and I get an error:

$ xmodmap .Xmodmap 
xmodmap:  .Xmodmap:7:  bad keysym target keysym 'Alt_R', no corresponding keycodes
xmodmap:  1 error encountered, aborting.

if i just run $ xmodmap -e "keysym Alt_R = KP_Enter", it works as it should

Can anyone help me set my right Alt key (Alt_gr) to be the same as Enter key.

Thank you

Offline

#2 2013-08-10 10:18:40

cellisten
Member
From: Gothenburg
Registered: 2013-08-08
Posts: 30
Website

Re: xmodmap: bad keysym target keysym 'Alt_R'

I checked what my alt_gr is called using xev and my suggestion is that you try with: ISO_Level3_Shift

Offline

Board footer

Powered by FluxBB