pub fn normalise_name(raw: &str) -> &strExpand description
Reduces whatever a system wrote down to a layout name.
Console keymaps are named for files — no-latin1, /etc/keymap/no.bmap.gz,
uk.map.gz — so this takes the basename, drops the extensions, and then drops
any variant suffix if the full name matches nothing.