<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2014-12-22 2:21 GMT+01:00 James Cameron <span dir="ltr"><<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>></span>:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">><br>
> Thanks for your advice.<br>
> I've done some hack with xmodmap, you're right, it's easy to create<br>
> a .xmodmap file to map French keyboard.<br>
> Something like:<br>
><br>
> keycode a = q Q<br>
> keycode z = w W<br>
> keycode q = a A<br>
> keycode w = z Z<br>
<br>
</span>That's odd, this didn't work for me, but numbers did:<br>
<br>
keycode 38 = q Q<br>
keycode 52 = w W<br>
keycode 24 = a A<br>
keycode 25 = z Z </blockquote><div class="gmail_quote"><br></div>You're right, strangely it works on command line but not on when called at startup.</div><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">> When I launch "xmodmap french.xmodmap" from the terminal, it map<br>
> correctly the new keyboard.<br>
> I'm trying now to force this new mapping at startup.<br>
> Following [1], I've tried to update the /etc/X11/Xmodmap and add the<br>
> call to xmodmap in /etc/X11/xinit/xinitrc but without success.<br>
><br>
> Any idea where I can add the call to be sure it will be call at<br>
> Sugar startup ?<br>
<br>
</span>Too many places. Best might be ~/.kbd script file.<br></blockquote><div><br></div><div>So I've finally choose to use /etc/X11/xinit/xinitrc.<br></div><div>Thanks for your help. I will share the final French modmap file with the list.</div><div><br></div><div> Lionel.</div><div> </div></div></div></div>