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 have a few key re-mapping to do, and in order to do it in the proper way, I'm looking for the program that handles this in ubuntu 11.04. I've read things about xmodmap, but also Xkb and perhaps Ibus has something to do with it.

So what's the program dealing with key mapping in ubuntu 11.04?

Thanks, Mathieu

share|improve this question

closed as too localized by Bruno Pereira Feb 28 '12 at 7:55

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Hello, this question has no information and activity for a very long time. I am closing it for now. If by any reason you think this question is still viable or useful in anyways or that there is still a good chance it will be answered please flag it to a moderator or add a comment with the reasons why you want it open. Regards –  Bruno Pereira Feb 28 '12 at 7:55
add comment

1 Answer 1

Perhaps, you might want to use setxkbmap option. Both man and Internet is scarce on information on how to use it, so this is quite tricky. You need to do the following.

  1. Create a bash-script (a file with .sh extension) and save it anywhere you like in your home folder.

  2. Put there a line like:

    setxkbmap -layout 'us(colemak),ru(typewriter-legacy)' -option 'grp:menu_toggle,grp_led:scroll'
    

    The example above adds two layouts (Colemak and Typewriter Legacy), and toggling works using Menu button. However you might want to use other layouts and options, so check out the file /usr/share/X11/xkb/rules/base.xml for available options and terminal command man setxkbmap on how to use them.

  3. Make the script start automatically on boot. More on that on: How to start applications at startup automatically in Unity?

Feel free to ask, if that didn't help.

share|improve this answer
add comment

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