On Tue, Oct 09, 2007 at 09:29:50PM +0200, Riccardo Murri wrote:
> This is the relevant snippet from my `~/.Xmodmap` (look for key names
> in `/usr/include/X11/Xkeysimdef.h`; they are case-sensitive)::
> 
>   !       ##    key         Shift        Mode_switch      Shift+Mode_switch
>   ! -----------------------------------------------------------------------
>   keycode 10 =  1           exclam       exclamdown
>   keycode 11 =  2           at           twosuperior      onehalf
>   keycode 12 =  3           numbersign   threesuperior    onethird
>   keycode 13 =  4           dollar       EuroSign         sterling
>   keycode 15 =  6           asciicircum  dead_circumflex
>   keycode 19 =  0           parenright   emptyset
>   keycode 25 =  w           W            eacute           Eacute
>   keycode 26 =  e           E            egrave           Egrave
>   keycode 30 =  u           U            ugrave           Ugrave
>   keycode 31 =  i           I            igrave           Igrave
>   keycode 32 =  o           O            ograve           Ograve
>   keycode 38 =  a           A            agrave           Agrave
>   keycode 48 =  apostrophe  quotedbl     dead_acute       dead_diaeresis
>   keycode 49 =  grave       asciitilde   dead_grave       dead_tilde
>   keycode 54 =  c           C            ccedilla         Ccedilla
>   keycode 59 =  comma       less         dead_abovedot    guillemotleft
>   keycode 60 =  period      greater      dead_belowdot    guillemotright
>   keycode 61 =  slash       question     questiondown
> 
> The symbols in the third and fourth column are obtained by pressing
> Mode_switch+key; `Mode_switch` is usually bound to RAlt, but I usually
> rebind it to Apple/Windows keys (on *both* sides, since it's difficult
> to press RWin+key_on_the_right_half_of_keybd)::
> 
>   ! 'Apple' keys are Mode_switch
>   remove mod1 = Meta_R
>   keycode 115 = Mode_switch
>   clear mod2
>   add mod2 = Mode_switch
> 
> 

Thanks a lot, that table looks perfect. I just removed the u/i/o that I don't
need, but I didn't have to edit / add anything else.

As for the mode_switch, I just added this line for using RAlt :
keycode 113 = Mode_switch

The layout seems perfectly usable now, all my issues are solved :)

Except maybe the fact that it's a custom layout. So for a family computer,
it's not ideal, and for a box at uni, it'll require doing the same setup again,
though that should just be a matter of copying my custom .Xmodmap.
But for my personal laptop, it's perfect :)

Reply via email to