I installed Fedora 38 (with GNOME 44 DE) on an old 2010 MacbookPro (7,1) laptop with French (France) keyboard.
I am using the French (Macintosh) keyboard layout.
Two of my keys are swapped : less/greater <> and at/numbersign @#
I have looked at GNOME Tweaks “additional layout options” but I don’t see an option to sawp these keys.
I haven’t found similar topics here, but on french Ubuntu forums, for example here : [Résolu] Inverser les touches <> et @# clavier apple / Autres types de matériel / Forum Ubuntu-fr.org
So I have tried the recommended method (post #17),
xmodmap -e 'keycode 94=at numbersign periodcentered Ydiaeresis' -e 'keycode 49=less greater less greater', but it doesn’t do anything.
From the same topic (post #38, page 2), I also tried creating a custom keyboard layout, but it doesn’t work either.
Any idea what I should try next, and why xmodmap doesn’t work ?
Are other users encountering the same problem, and if so, should I report this issue ? Is it specific to French MacbookPro keyboards, or is this common on other layouts ?