Package Details: xkb-altgr-weur 2-1

Git Clone URL: https://aur.archlinux.org/xkb-altgr-weur.git (read-only, click to copy)
Package Base: xkb-altgr-weur
Description: Keyboard layout based on letter frequencies for 11 Western European languages (English, Danish, Dutch, Finnish, French, German, Italian, Norwegian, Portugese, Spanish and Swedish)
Upstream URL: https://altgr-weur.eu/
Licenses: custom
Submitter: torpe23
Maintainer: torpe23
Last Packager: torpe23
Votes: 0
Popularity: 0.000000
First Submitted: 2021-03-01 02:30 (UTC)
Last Updated: 2021-07-03 08:32 (UTC)

Latest Comments

torpe23 commented on 2024-06-23 22:04 (UTC) (edited on 2024-06-23 22:09 (UTC) by torpe23)

@alerque Modifying XKB files seems to be the only way of installing custom keyboard layouts. This is actually what is described in the official documentation: https://www.x.org/releases/X11R6.7.0/doc/XKB-Enhancing4.html (=> "Once you are finished with your symbol map you need to add it to rules file").

It's also what the install page for Altgr-WEUR mentions: https://altgr-weur.eu/linux.html (see section "Use altgr-weur every session").

I adapted the scripts found in package https://aur.archlinux.org/packages/xkb-qwerty-fr (see postinst and postrm in https://github.com/qwerty-fr/qwerty-fr/tree/master/linux/debian/DEBIAN, which I combined into one file).

I did look at the time because modifying existing system files seemed like a poor approach, but didn't find a better solution. That said, it's been working fine since 2021 with no reported failures.

If you have a better solution, I encourage you to look into it and contribute or let us know :)

In the meantime, sending alarming messages without asking first or proposing any useful alternatives is not greatly helpful :/

alerque commented on 2024-06-23 13:32 (UTC)

WARNING! This package installs a script and hook that executes it that mucks with other system installed files. This will cause package integrity checks to fail, get clobbered by system updates, etc. I'm pretty sure this is not the right solution to the problem and may not even be allowed for AUR packages to do. They should not be messing with files installed by other packages.

torpe23 commented on 2021-07-03 08:34 (UTC)

Thanks for the bug report, I just updated the package!

ptrxyz commented on 2021-07-01 17:41 (UTC)

Hello! The URL you download the layout from changed, it's now this one: https://altgr-weur.eu/altgr-weur

And a little bug I found in the xkb-altgr-weur shell script. Line 123 should probably read unlink("$XKB/symbols/us.$VARIANT.bak"); instead of unlink("$XKB/symbols/us.qwerty-fr");

Otherwise, great package. Keep it up. :)