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.

I would like to define a compose key on my system (it's a Debian Sid "Wheezy"). I have no Xorg (and don't want any desktop environment). Only in terminal. I would like to set it up on my Alt-Gr key (right Alt). I've tried for a while but I can't figure out how to set it up.

I've been investigating and found some directions. But I don't know what to do with that.

$ showkey gives me the keycode of my Alt-Gr key (#100)

$ dumpkeys and $ dumpkeys --compose-only output "the current contents of the keyboard's driver", in the format specified by keymaps, according to the man page

$ loadkeys load a keyboard translation table

I'm sure it's not that difficult but I can't figure out how to deal with that ...

share|improve this question
    
I posted my questions on unix.stackexchange.com/questions/44453, maybe I'll have some more answers ... I'm not sure whether it should be deleted from here or not? –  cedbeu Aug 1 '12 at 8:44
add comment

1 Answer

In a plain console -- no graphical environment -- the default 'Compose' key is usually assigned to the 'prt sc' key.

Your distro may vary.

See the man pages for 'keytables' 'dumpkeys' and 'loadkeys' for more.

share|improve this answer
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.