That's right. I have not the keyboard "gkbd-keyboard-display -l ch$'\t'de_mac" .fehlix wrote: Sat Nov 18, 2023 9:34 am The keyboard for a "German (Switzerland, Macintosh)" layout
would look like this: shown with this command: gkbd-keyboard-display -l ch$'\t'de_mac )
ch_mac_de-m.jpg
and seems not to fit to the picture of the keyboard shown in #1.
The keyboard "gkbd-keyboard-display -l ch$'\t'de" fits to my keyboard.
-> This means, I was wrong to expect, that "Alt Gr + y" will show me the character ¥. It should show me the character "«" . And it does. So actually my expectation was wrong, and the keyboard works as it should.
Thank you fehlix for pointing this out.
But why did I have this wrong expectation?
Answer: Because I have miss interpreted the content of the file ...
Code: Select all
/usr/share/X11/xkb/symbols/ch
Thank you. This is very interesting.thomasl wrote: Sat Nov 18, 2023 9:20 am ... if the /usr/share/X11/xkb/symbols/ch file in MX23 is similar to the MX19 version then you have a mismatch between your actual setting (seems to be "German (Switzerland)") and the setting you're referring to withwhich seems to be further down in the file /usr/share/X11/xkb/symbols/ch, in subsection "German (Switzerland, Macintosh)".Code: Select all
key <AB01> { [ y, Y, yen, Ydiaeresis ] };
Select the latter subsection in the keyboard selection box and perhaps you'll get what you want.
EDIT: It's also possible to edit this (or any keyboard) file to your liking. I've significantly modified the UK definitions./EDIT
I have changed to "German (Switzerland, Macintosh)" as you suggested and now I got "¥" with "Alt Gr + y".
Actually I do not need "¥". This was only an example.
So I have set back my Layout into "German (Switzerland, NOT Macintosh)"
This means I have now again "«", which is alright.
Question:
Where in the file "/usr/share/X11/xkb/symbols/ch" can I see, that I get "«", when I press "Alt Gr + y" ?
I have only found two lines in "/usr/share/X11/xkb/symbols/ch" for key <AB01>:
Code: Select all
key <AB01> { [ y, Y ] };
key <AB01> { [ y, Y, yen, Ydiaeresis ] };