[kbd] duplicate filenames

Alexey Gladkov gladkov.alexey at gmail.com
Sun Mar 16 00:28:24 MSK 2008


Roman Kyrylych wrote:
> Hi!
> 
> I've found that some keymaps' variants have the same filename.
> This is very bad, because doing loadkeys es, for example, will load
> olpc variant which is not what 99,99% of users need. ;-)

Agree. This is really bad problem.

> $ ./find-duplicate-names.sh
> /usr/share/kbd/keymaps/i386/dvorak/no.map.gz
> /usr/share/kbd/keymaps/i386/fgGIod/trf.map.gz
> /usr/share/kbd/keymaps/i386/olpc/es.map.gz
> /usr/share/kbd/keymaps/i386/qwerty/es.map.gz
> /usr/share/kbd/keymaps/i386/qwerty/no.map.gz
> /usr/share/kbd/keymaps/i386/qwerty/trf.map.gz
> 
> Please apply the patch attached below.

I shall follow the naming policy when I will add new keymaps.

Something like this: <keyboard_type>-<lang>[-<switch>].map

-- 
Rgrds, legion


More information about the kbd mailing list