Last active
October 8, 2025 14:21
-
-
Save gkatev/72adf1fafcf8af86e06e724bebc3faf8 to your computer and use it in GitHub Desktop.
English with euro sign (€) on AltGr+E -- keyboard layout for (Arch) Linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Trigger] | |
| Operation = Install | |
| Operation = Upgrade | |
| Type = Package | |
| Target = xkeyboard-config | |
| [Action] | |
| Description = Create English (US, euro on E) layout | |
| When = PostTransaction | |
| Depends = patch | |
| Exec = /usr/bin/patch -sp1 -i /etc/xkb/xkb_us_euro_e.patch -d /usr/share/X11/xkb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- a/symbols/us | |
| +++ b/symbols/us | |
| @@ -68,8 +68,20 @@ | |
| include "eurosign(5)" | |
| include "level3(ralt_switch)" | |
| }; | |
| +partial alphanumeric_keys | |
| +xkb_symbols "euro_e" { | |
| + | |
| + include "us(basic)" | |
| + name[Group1]= "English (US, euro on E)"; | |
| + | |
| + key <LSGT> { [ backslash, bar ] }; | |
| + | |
| + include "eurosign(e)" | |
| + | |
| + include "level3(ralt_switch)" | |
| +}; | |
| partial alphanumeric_keys | |
| xkb_symbols "ibm238l" { | |
| --- a/rules/evdev.xml | |
| +++ b/rules/evdev.xml | |
| @@ -2994,5 +2994,11 @@ | |
| <description>English (US, euro on 5)</description> | |
| </configItem> | |
| </variant> | |
| + <variant> | |
| + <configItem> | |
| + <name>euro_e</name> | |
| + <description>English (US, euro on E)</description> | |
| + </configItem> | |
| + </variant> | |
| <variant> | |
| <configItem> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment