You are not logged in.

#1 2008-10-23 07:21:41

LonelyStar
Member
Registered: 2007-12-09
Posts: 123

xmodmap - Umlaute on English Keyboard

Hello,

I want to have german Umlaute on my US-Keyboard in the following way:

The Keyboard has a "Menu" key on the right. If I press a, u or o together with it, I want the corresponding Umlaut!
So I have this .Xmodmap:

clear Mod1                                                                                                                                                                                                                                    
add Mod1 = Menu                                                                                                                                                                                                                               
keycode  38 = a A adiaeresis Adiaeresis                                                                                                                                                                                                       
keycode  30 = u U udiaeresis Udiaeresis                                                                                                                                                                                                       
keycode  32 = o O odiaeresis Odiaeresis                                                                                                                                                                                                       
keycode  39 = s S ssharp

I apply it with xmodmap .Xmodmap

Output of xmodmap afterwards:

xmodmap:  up to 3 keys per modifier, (keycodes in parentheses):

shift       Shift_L (0x32),  Shift_R (0x3e)
lock      
control     Control_L (0x25),  Control_L (0x42),  Control_R (0x6d)
mod1        Menu (0x75)
mod2        Num_Lock (0x4d)
mod3      
mod4        Super_L (0x7f),  Hyper_L (0x80)
mod5        Mode_switch (0x5d),  ISO_Level3_Shift (0x7c)

And some interesting part of xmodmap -pke

keycode  38 = a A adiaeresis Adiaeresis
keycode  39 = s S ssharp

It does not work. When I press the Menu key, I get the ~ symbol (after and before applying the modmap).

What could be wrong?

Thanks!
Nathan

Offline

Board footer

Powered by FluxBB