Skip to content

Instantly share code, notes, and snippets.

@aspyct
Last active December 5, 2025 07:12
Show Gist options
  • Select an option

  • Save aspyct/27955cc1c374d018c5c5f4c997eda666 to your computer and use it in GitHub Desktop.

Select an option

Save aspyct/27955cc1c374d018c5c5f4c997eda666 to your computer and use it in GitHub Desktop.
Bepo aspyct (bepo tuned for developers)

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

Or if you modified the evdev.xml file, you can directly select the layout from Gnome. Tested on Ubuntu 19.10, YMMV.

<variant>
<configItem>
<name>fr-bepo-aspyct</name>
<description>French (Bepo Aspyct, ergonomic, Dvorak way)</description>
</configItem>
</variant>
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)
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment