Skip to content

Instantly share code, notes, and snippets.

@aspyct
Last active October 29, 2019 21:05
Show Gist options
  • Save aspyct/27955cc1c374d018c5c5f4c997eda666 to your computer and use it in GitHub Desktop.
Save aspyct/27955cc1c374d018c5c5f4c997eda666 to your computer and use it in GitHub Desktop.

Revisions

  1. aspyct revised this gist Oct 29, 2019. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -3,4 +3,6 @@ Apply the layout for each login with:

    ```
    setxkbmap -layout fr -variant bepo_aspyct
    ```
    ```

    Or if you modified the evdev.xml file, you can directly select the layout from Gnome. Tested on Ubuntu 19.10, YMMV.
  2. aspyct revised this gist Oct 29, 2019. 1 changed file with 6 additions and 0 deletions.
    6 changes: 6 additions & 0 deletions usr share X11 xkb rules evdev.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    <variant>
    <configItem>
    <name>bepo_aspyct</name>
    <description>French (Bepo Aspyct, ergonomic, Dvorak way)</description>
    </configItem>
    </variant>
  3. aspyct created this gist Sep 10, 2019.
    6 changes: 6 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    Add this layout section to the symbols file, after the "bepo" entry.
    Apply the layout for each login with:

    ```
    setxkbmap -layout fr -variant bepo_aspyct
    ```
    25 changes: 25 additions & 0 deletions usr share X11 xkb symbols fr
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,25 @@
    partial alphanumeric_keys
    xkb_symbols "bepo_aspyct" {

    // Variation on the fr(bepo) to be more developer friendly

    include "fr(bepo)"

    name[Group1]="French (Bepo, ergonomic, Dvorak way, Aspyct)";

    // First row
    key <AE02> { type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ underscore, 2, less, leftdoublequotemark ] }; // _ 2 < “
    key <AE03> { type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ semicolon, 3, percent, rightdoublequotemark ] }; // ; 3 % ”
    key <AE04> { type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ parenleft, 4, bracketleft, lessthanequal ] }; // ( 4 [ ≤
    key <AE05> { type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ braceleft, 5, bracketright, greaterthanequal ] }; // { 5 ] ≥
    key <AE12> { [ greater, grave, permille, seconds ] }; // > ` ‰ ″

    // Second row

    // Third row

    // Fourth row
    key <AB02> { [ y, Y, parenright, leftsinglequotemark ] }; // y Y ) ‘

    key <SPCE> { [ space, space, underscore, U202F ] }; // ␣ (espace) _ (espace insécable fin)
    };