[Sugar-devel] Fwd: French keyboard map for XO-4 non-membrane keyboard
Lionel Laské
lionel at olpc-france.org
Mon Dec 22 15:30:04 EST 2014
2014-12-22 2:21 GMT+01:00 James Cameron <quozl at laptop.org>:
>
> >
> > Thanks for your advice.
> > I've done some hack with xmodmap, you're right, it's easy to create
> > a .xmodmap file to map French keyboard.
> > Something like:
> >
> > keycode a = q Q
> > keycode z = w W
> > keycode q = a A
> > keycode w = z Z
>
> That's odd, this didn't work for me, but numbers did:
>
> keycode 38 = q Q
> keycode 52 = w W
> keycode 24 = a A
> keycode 25 = z Z
You're right, strangely it works on command line but not on when called at
startup.
> When I launch "xmodmap french.xmodmap" from the terminal, it map
> > correctly the new keyboard.
> > I'm trying now to force this new mapping at startup.
> > Following [1], I've tried to update the /etc/X11/Xmodmap and add the
> > call to xmodmap in /etc/X11/xinit/xinitrc but without success.
> >
> > Any idea where I can add the call to be sure it will be call at
> > Sugar startup ?
>
> Too many places. Best might be ~/.kbd script file.
>
So I've finally choose to use /etc/X11/xinit/xinitrc.
Thanks for your help. I will share the final French modmap file with the
list.
Lionel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20141222/4221ce7c/attachment.html>
More information about the Sugar-devel
mailing list