WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TCore, kmap.tcz and PC105-la keyboard layout  (Read 131 times)

Offline madmax

  • Full Member
  • ***
  • Posts: 100
TCore, kmap.tcz and PC105-la keyboard layout
« on: November 09, 2026, 07:18:40 PM »
Hello:

Back again, after a few years away from [TCore], to see what was going on.

One of my last posts was related to the subject.
See https://forum.tinycorelinux.net/index.php?topic=18746.0

TL;DR
A keyboard with a [Generic 105-key PC Spanish (Latin American)] layout does not have a properly working [*.kmap file].
This because (from what I understand) it is a 105-key layout and all the [*.kmap] files that come with the package were made from [kbd] files for much older (mid 90's?) keyboards with less keys.
See https://kbdlayout.info/kbdla/overview+names for the layout.

That was a problem for me back in 2015 and still was when I downloaded the latest [TCore] a few days ago.

So I searched around for a while and found a way out: generate your own [*.kmap file] using [Busybox], which I happened to have installed in my Devuan Daedalus system.
See https://ilikelinux69.github.io/How-to-change-the-keyboard-layout-in-Busybox.

You just need a Linux box and the keyboard you want to use with [TCore].
I am attaching the [PC105-la.kmap] file I generated, seems to work perfectly in my [TCore] USB but it weighs 2823 bytes instead of ~50.
Just in case, I added it outside the directory with the rest of the [*.kmap] files which start with an [At] symbol. (@)

If someone could test it with a suitable keyboard and works properly, maybe it could be added to the [kmaps.tcz] package and get reduced in size.

Best,

MM

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 13037
Re: TCore, kmap.tcz and PC105-la keyboard layout
« Reply #1 on: November 09, 2026, 08:26:47 PM »
Hi madmax
... I am attaching the [PC105-la.kmap] file I generated, seems to work perfectly in my [TCore] USB but it weighs 2823 bytes instead of ~50. ...
None of those files in kmaps.tcz are only 50 bytes. That is the size of the link that
points to the file that is in the extension mounted under /tmp/tcloop/.

Using this command returns the size of the link pointing to the file:
Code: [Select]
ls -l /usr/share/kmap/qwerty/
Using this command returns the size of the file pointed to by the link:
Code: [Select]
ls -lL /usr/share/kmap/qwerty/

Offline madmax

  • Full Member
  • ***
  • Posts: 100
Re: TCore, kmap.tcz and PC105-la keyboard layout
« Reply #2 on: November 09, 2026, 09:01:09 PM »
Hello:
None of those files ...
... are only 50 bytes.
That is the size of the link ...
Right ...
I was wondering about the At (@). 8^°
Thanks for the heads-up and the commands.

Best,

MM