Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to emulate behaviour I get from KeyRemap4MacBook on Mac OS X. It lets me remap control-m to Enter, for instance, globally.

Is this possible with X/GNOME? Seems like xmodmap is not suitable for remapping key combinations. I tried xbindkeys to bind control-m to xdotool key Return, but it emits control-return. I tried xdotool keyup control; xdotool key Return; xdotool keydown control but it stills behaves unpredictably.

Any ideas? Kernel level hacks?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

I strugled myself with similar question and discovered autokey which is just great:

sudo add-apt-repository ppa:cdekter/ppa
sudo apt-get update
sudo apt-get install autokey-gtk

Just put <enter> as the phrase and set the shortcut to control-m. Works perfectly for me.

share|improve this answer
    
Seems like a good option, but I still can't get C-n, C-m etc. to work reliably... –  Michał Bendowski Aug 18 '11 at 9:16

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.