Tiny Core Linux
Tiny Core Extensions => TCE Talk => Extension requests => Topic started by: sihorton on March 11, 2013, 04:04:51 PM
-
I see that kmaps extension is missing from Corepure64, this is quite important as otherwise any typing becomes quite difficult and a matter of trial and error on a none-english layout keyboard. Can this extension just be copied from the 32 bit or does it need to be compiled?
-
It depends if the kmaps extension contains any 32-bit executables. If it does, it won't work.
You can test for this using the file extension - "file file_name"
-
I did the following and it worked for me:
wget http://tinycorelinux.net/4.x/x86/tcz/kmaps.tcz
mv kmaps.tcz /mnt/sda1/tce/optional
then I could do:
tce-load -i kmaps
sudo loadkmap < /usr/share/kmap/qwerty/sv-latin1.kmap
typing on the keyboard then correctly uses swedish characters from my keyboard!
-
'Good to hear
As long as there are no 32-bit compiled apps in an extension, the extension will work in corepure64 - fonts are an example of this.
-
My guess is that the loadkmap is a script rather than executable. I did a further test:-
I used the CorePlus-4.7.4.iso CD to boot tinycore and then I ran tc_install and installed to hard disk. I selected the option for none-us keyboards support. Once it was installed I then downloaded http://tinycorelinux.net/4.x/x86_64/corepure64.gz and http://tinycorelinux.net/4.x/x86_64/vmlinuz64 and then changed /boot/extlinux/extlinux.conf to use the corepure64.gz and vmlinuz64 files instead of the 32 bit versions installed by the CorePlus CD.
When removed the CD and rebooted I then came into the 64 bit environment, and the swedish keyboard worked immediately without any further changes needed (I had used a boot code for the swedish keyboard).
So the 32-bit extension works fine on Corepure64. Is it possible for you to add kmaps.tcz from the 32-bit repository so it works with tce-load -iw kmaps like in 32bit tinycore?
/Simon
-
Hi sihorton
My guess is that the loadkmap is a script rather than executable.
Actually, it's built into busybox.
-
ah ok, then that is why it works.
Should I just take the current kmaps extension and submit it to corepure64 or will someone else make it available?
/Simon
-
Hi sihorton
I think Juanito may be able to just copy it over to the Corepure64 repository. Wait to see what he says.
-
I'll copy it over next time I get chance
-
ok thanks a lot, hope I was not being too pushy that was not my intention. :-)
-
Hi sihorton
Asking how to do something is not being pushy. :)
-
kmaps copied to corepure64 repo
-
Thanks!
I have tested on a fresh 64 bit install and kmaps works fine!
/Simon