WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: kmaps for Corepure64  (Read 3731 times)

Offline sihorton

  • Jr. Member
  • **
  • Posts: 58
kmaps for Corepure64
« 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?

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14798
Re: kmaps for Corepure64
« Reply #1 on: March 11, 2013, 11:17:37 PM »
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"

Offline sihorton

  • Jr. Member
  • **
  • Posts: 58
Re: kmaps for Corepure64
« Reply #2 on: March 12, 2013, 06:18:17 AM »
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!

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14798
Re: kmaps for Corepure64
« Reply #3 on: March 12, 2013, 06:19:52 AM »
'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.

Offline sihorton

  • Jr. Member
  • **
  • Posts: 58
Re: kmaps for Corepure64
« Reply #4 on: March 12, 2013, 06:40:14 AM »
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

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11588
Re: kmaps for Corepure64
« Reply #5 on: March 12, 2013, 09:42:19 AM »
Hi sihorton
Quote
My guess is that the loadkmap is a script rather than executable.
Actually, it's built into busybox.

Offline sihorton

  • Jr. Member
  • **
  • Posts: 58
Re: kmaps for Corepure64
« Reply #6 on: March 12, 2013, 09:44:10 AM »
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

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11588
Re: kmaps for Corepure64
« Reply #7 on: March 12, 2013, 09:50:15 AM »
Hi sihorton
I think Juanito may be able to just copy it over to the Corepure64 repository. Wait to see what he says.

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14798
Re: kmaps for Corepure64
« Reply #8 on: March 12, 2013, 10:00:21 AM »
I'll copy it over next time I get chance

Offline sihorton

  • Jr. Member
  • **
  • Posts: 58
Re: kmaps for Corepure64
« Reply #9 on: March 12, 2013, 10:01:17 AM »
ok thanks a lot, hope I was not being too pushy that was not my intention. :-)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11588
Re: kmaps for Corepure64
« Reply #10 on: March 12, 2013, 10:17:53 AM »
Hi sihorton
Asking how to do something is not being pushy. :)

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14798
Re: kmaps for Corepure64
« Reply #11 on: March 13, 2013, 01:47:27 AM »
kmaps copied to corepure64 repo

Offline sihorton

  • Jr. Member
  • **
  • Posts: 58
Re: kmaps for Corepure64
« Reply #12 on: March 13, 2013, 05:27:14 AM »
Thanks!

I have tested on a fresh 64 bit install and kmaps works fine!

/Simon