Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

My return key is physically dead.

I'm running xubuntu. I am able to remap the AltGr to return using xmodmap. However when I reload xmodmap, either via shell or automatically during boot, it will hang for 5 minutes. This is a known issue with xfce and xmodmap.

So how would I use xkb to map altgr to return?

(or how would I stop altgr hanging for so long?)

share|improve this question
I can use xkbcomp to swap the keys around, but I can't make the changes persistent. –  rhlee May 1 '12 at 18:25
if xkbcomp works, you could put it in xinit? –  Chris2048 May 1 '12 at 21:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.