Hi !
I happened to notice that the letters "é", on the "R" key, and "è", on the "T" key, were in fact inverted on the "pyra" xkb layout file (consequently, if you pressed "é" on the attached keyboard of the pyra, it would actually display "è" on the screen, and vice versa). So I created a new file I called "pyra-mended" in which they were reverted back in their correct position.
To test it, just extract the "pyra-mended.zip" file, copy the extracted "pyra-mended" file in the « /usr/share/X11/xkb/symbols/ » directory, and run this command line :
And to make this change permanent, just replace the old kbd file by the one I propose, by erasing afterwards the old "pyra" file that is in the same directory, and renaming "pyra" the new "pyra-mended" file you copied there.
I also noticed that the "^", "¨", "´" and "ˋ" keys (respectively on the "6", "I", "N" and "M" keys) were in this same "pyra" file designed as normal keys instead of dead keys. Thus, when you press any of them, you directly obtain on the screen the corresponding symbol (i.e "^"), without being able to combine it with any other character (i.e. with "I", to create the symbol "Î"). Even though I'm no expert in this matter, it does seem to me that this defies the purpose of having such keys in the first place, for with them it would still be impossible for me to write in any language that requires such combinations.
As I was not sure if it were done on purpose, I created a new file, called "pyra-mended-dead", including the previous edit, and in which moreover everyone of these keys were designated as dead keys instead of normal keys, making the aforementioned combinations possible at last.
To test it, extract the "pyra-mended-dead.zip" file, put the extracted "pyra-mended-dead" file in the same « /usr/share/X11/xkb/symbols/ » directory, and run this command line :
(And to make this change permanent, proceed as described above with the "pyra-mended" file.)
Maybe one of these two files could be part of the next update of the official image ?
By the way, changing the keyboard layout with the tool provided by mate does not work at all, and gives quite strange results (does anyone know why it is the case ?). But by using the setxkbmap command ("setxkbmap us", for instance), everything works properly. So to be able to quickly change the keyboard layout, the best solution I came with was to do it via desktop launchers, such as these ones :
"Layout_us.desktop" :
"Layout_pyra.desktop" :
#!/usr/bin/env xdg-open
I happened to notice that the letters "é", on the "R" key, and "è", on the "T" key, were in fact inverted on the "pyra" xkb layout file (consequently, if you pressed "é" on the attached keyboard of the pyra, it would actually display "è" on the screen, and vice versa). So I created a new file I called "pyra-mended" in which they were reverted back in their correct position.
To test it, just extract the "pyra-mended.zip" file, copy the extracted "pyra-mended" file in the « /usr/share/X11/xkb/symbols/ » directory, and run this command line :
setxkbmap pyra-mended
And to make this change permanent, just replace the old kbd file by the one I propose, by erasing afterwards the old "pyra" file that is in the same directory, and renaming "pyra" the new "pyra-mended" file you copied there.
I also noticed that the "^", "¨", "´" and "ˋ" keys (respectively on the "6", "I", "N" and "M" keys) were in this same "pyra" file designed as normal keys instead of dead keys. Thus, when you press any of them, you directly obtain on the screen the corresponding symbol (i.e "^"), without being able to combine it with any other character (i.e. with "I", to create the symbol "Î"). Even though I'm no expert in this matter, it does seem to me that this defies the purpose of having such keys in the first place, for with them it would still be impossible for me to write in any language that requires such combinations.
As I was not sure if it were done on purpose, I created a new file, called "pyra-mended-dead", including the previous edit, and in which moreover everyone of these keys were designated as dead keys instead of normal keys, making the aforementioned combinations possible at last.
To test it, extract the "pyra-mended-dead.zip" file, put the extracted "pyra-mended-dead" file in the same « /usr/share/X11/xkb/symbols/ » directory, and run this command line :
setxkbmap pyra-mended-dead
(And to make this change permanent, proceed as described above with the "pyra-mended" file.)
Maybe one of these two files could be part of the next update of the official image ?
By the way, changing the keyboard layout with the tool provided by mate does not work at all, and gives quite strange results (does anyone know why it is the case ?). But by using the setxkbmap command ("setxkbmap us", for instance), everything works properly. So to be able to quickly change the keyboard layout, the best solution I came with was to do it via desktop launchers, such as these ones :
"Layout_us.desktop" :
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Icon=/usr/share/icons/mate/scalable/animations/us.svg
Exec=setxkbmap us
Name=Disposition us
Name[en_US]=Layout_us.desktop
"Layout_pyra.desktop" :
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Icon=/usr/share/icons/pyra/48x48/places/start-here.png
Exec=setxkbmap pyra
Name=Disposition pyra
Name[en_US]=Layout_pyra.desktop