<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body><div data-html-editor-font-wrapper="true" style="font-family: arial, sans-serif; font-size: 13px;"><div><div><div style="font-family: arial, sans-serif;font-size: 13px">Gentle(wo)men,<br><br>I have spent time to fix the keyboard layout in spice-html5. I went to the conclusion the keyboard layout cannot be configured on client (html5) side as Xorg receives key code it interpretes. What ever the key face the user has typed (A or Q) Xorg will map to the character depending of its configuration.<br><br>The drawback was on my setup Xspice ignores my keyboard config and the only way I found to force my keyboard layout was to launch setxkbmap from .xinitrc.<br><br>I kept the same structure around utils.js, atKeynames.js and inputs.js. In atKeynames I mapped the Xorg symbols defined in /usr/share/X11/xkb/symbols. This way, all the non changing keys (like ESCAPE) through the different layouts are well defined and the others are map to symbols like AD01. In some how it's kept readable...<br><br>Then I have updated utils.js and inputs.js in consequence.<br><br>Please find attached my diff file as a proposal. Tests and comments are very wellcome.<br><br>Thanks and regards,<br><br>-<br>_/) Eric Grammatico.</div></div></div></div></body></html>