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.

Comming from OS X, I would like to change my keyboard mapping so that:

  • Map Alte to dead_acute (for instance Alte, a should produce á)
  • Map Alti to dead_circumflex (for instance Alti, o should produce ô)
  • Map Altc to ccedilla

If possible I would like also to map AltGrQ to /

Is it possible?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

As you did not write what flavor of Linux you are using, my answer may be not suiting. If it is Debian derived (Debian, Ubuntu, Linux Mint), you could use

sudo dpkg-reconfigure keyboard-configuration

which would guide you through all the possible sections, such as language, keyboard variants (which is what you are asking about), and even special keyboard bindings. Keep in mind that this changes the layout system-wide (not only for your user).

On the other hand, most desktop environments (Gnome, KDE, etc.) provide graphical interfaces for user-based settings. On KDE4, you can find this e.g. in Settings->Systemsettings, selecting "input devices" in the hardware section.

You can find more answers on this at AskUbuntu.

share|improve this answer
    
I'm using Arch. Tried editing /usr/share/X11/xkb/symbols/us file, and I'm able to make the changes BUT it just works with AltGr (not with Alt) --- to make this changes, I just had to modify the third column associated with the E, O and C keys. But I can't make it work with ALT key –  My Name Jul 1 '12 at 22:04
    
As you wrote you want it like on Mac, I just remembered there is a XkbVariant "mac", so I assumed that should do it all-in-one? However, if you are not fixed on the Alt key: take a look at the "compose key" stuff there. I configured my right "Windows key" as such. Now, when I e.g. press RWin+/, then o I get the norsk ø, RWin+" then e gives me ë, and so on. This way you can visualize your desired results, and then type intuitively. May be that combination is solving your issue? –  Izzy Jul 1 '12 at 22:41
    
Btw: You might want to take a look into the topic Remapping keys on keyboard in Linux as well. –  Izzy Jul 1 '12 at 22:45
    
OK us mac is exactly what i want, but with ralt instead of lalt. Tried to edit compose to include a compose(lalt) but it didnt work. I cant use Windows Key since I use it as the Mod key for awesome wm –  My Name Jul 1 '12 at 23:16
    
Got it.. Just changed level3(ralt_switch) to level3(lalt_switch) on mac session of /usr/share/X11/xkb/symbols/us. THANKS –  My Name Jul 1 '12 at 23:22

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.