Hi there,

there are some voices on the internet that claim that there is no workaround. That's not quite true. locatectl simply doesn't recognize the files, because they're named "*.kmap.gz", but it only looks for "*.map.gz". Don't be embarrassed, I'm sure it was difficult to notice, after staring at the source code for decades.

The workaround is nearly trivial:

        cd /usr/share/keymaps/i386/qwertz
        ln -s de-latin1-nodeadkeys.kmap.gz de-latin1-nodeadkeys.map.gz
        # And again for all the keymaps you're interested in.

An actual fix would be to update the internal glob in localectl, or wherever the function lives that decides whether a filename is interesting or not.

Cheers,
derandere

Reply via email to