• [^] # 2

    Posté par (site web personnel) . En réponse au journal Qu’on pose. Évalué à 1.

    En parlant de touche inutile il reste pourtant cette curieuse touche 2 qui résiste.

    Quand il n’y a pas l’option qu’on souhaiterait, il y a toujours la solution de modifier la disposition.

    Crée un fichier fr.patch avec le code ci‐dessous et applique‐le avec la commande (sous root ou avec sudo) patch -b /usr/share/X11/xkb/symbols/fr < fr.patch

    --- fr.orig 2020年06月23日 00:39:38.212895439 +0200
    +++ fr 2020年07月16日 14:24:43.416021157 +0200
    @@ -105,12 +105,12 @@
     // © 199x-1996 René Cougnenc ✝
     // © 1997-2002 Guylhem Aznar <clavier @ externe.net>
     // © 2003-2006 Nicolas Mailhot <nicolas.mailhot @ laposte.net>
     //
     // ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┲━━━━━━━━━┓
    -// │ 3 ̧ │ 1 ̨ │ 2 É │ 3 ̆ │ 4 — │ 5 – │ 6 ‐ │ 7 È │ 8 TM │ 9 Ç │ 0 À │ ° ≠ │ + ± ┃ ⌫ Retour┃
    -// │ 2 1 │ & ˇ │ é ~ │ " # │ ' { │ ( [ │ - | │ è ` │ _ \ │ ç ^ │ à @ │ ) ] │ = } ┃ arrière┃
    +// │ 2 1 │ 1 ̨ │ 2 É │ 3 ̆ │ 4 — │ 5 – │ 6 ‐ │ 7 È │ 8 TM │ 9 Ç │ 0 À │ ° ≠ │ + ± ┃ ⌫ Retour┃
    +// │ ⎄ 3 │ & ˇ │ é ~ │ " # │ ' { │ ( [ │ - | │ è ` │ _ \ │ ç ^ │ à @ │ ) ] │ = } ┃ arrière┃
     // ┢━━━━━┷━┱───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┺━┳━━━━━━━┫
     // ┃ ┃ A Æ │ Z  │ E ¢ │ R Ê │ T Þ │ Y Ÿ │ U Û │ I Î │ O Œ │ P Ô │ ̈ ̊ │ £ Ø ┃Entrée ┃
     // ┃Tab ↹ ┃ a æ │ z â │ e € │ r ê │ t þ │ y ÿ │ u û │ i î │ o œ │ p ô │ ^ ~ │ $ ø ┃ ⏎ ┃
     // ┣━━━━━━━┻┱────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┺┓ ┃
     // ┃ ┃ Q Ä │ S „ │ D Ë │ F ‚ │ G \ │ H Ð │ J Ü │ K Ï │ L L· │ M Ö │ % Ù │ μ ̄ ┃ ┃
    @@ -131,11 +131,11 @@
     include "keypad(oss)"
     name[Group1]="French (alt.)";
     // First row
    - key <TLDE> { [ twosuperior, threesuperior, onesuperior, dead_cedilla ] }; // 2 3 1 ̧
    + key <TLDE> { [ Multi_key, twosuperior, threesuperior, onesuperior ] }; // Compose 2 3 1
     key <AE01> { [ ampersand, 1, dead_caron, dead_ogonek ] }; // & 1 ˇ ̨
     key <AE02> { [ eacute, 2, asciitilde, Eacute ] }; // é 2 ~ É
     key <AE03> { [ quotedbl, 3, numbersign, dead_breve ] }; // " 3 # ̆
     key <AE04> { [ apostrophe, 4, braceleft, 0x1002014 ] }; // ' 4 { — (tiret cadratin)
     key <AE05> { [ parenleft, 5, bracketleft, 0x1002013 ] }; // ( 5 [ – (tiret demi-cadratin)
    

    Prendre une bonne disposition : beop.free.fr