Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: teenoi31 on February 11, 2010, 02:06:42 AM

Title: How to Create kmap
Post by: teenoi31 on February 11, 2010, 02:06:42 AM
i use tinycore in thailand but in tinycore nothing have kmap thailand.
i need create it but don't know how to create kmap please help me
 ???
Title: Re: How to Create kmap
Post by: bmarkus on February 11, 2010, 02:17:37 AM
Is such kmap available in other distros? Is it missing just in TC or overall?
Title: Re: How to Create kmap
Post by: teenoi31 on February 11, 2010, 02:20:21 AM
i find in tc this nothing th.kmap.
and i download kmap.tcz this nothing.
Please help
Title: Re: How to Create kmap
Post by: 4-stroke on February 11, 2010, 02:48:12 AM
This might help:

http://linux.thai.net/pub/thailinux/cvs/software/thai-console-data/keymaps/ (http://linux.thai.net/pub/thailinux/cvs/software/thai-console-data/keymaps/)

Now all you need is someone to make an extension of it or add it to kmaps.tcz

Not me... ;D



Title: Re: How to Create kmap
Post by: bmarkus on February 11, 2010, 03:01:40 AM
Or to add to the backup to start with
Title: Re: How to Create kmap
Post by: teenoi31 on February 11, 2010, 03:13:43 AM
i have already to use it but th-uni.kmap have text file .
but file kmap in tc this banary file.
i don't know convert text file (kmap) to binary file (kmap)  of tc.
please me
Title: Re: How to Create kmap
Post by: 4-stroke on February 11, 2010, 03:31:35 AM
I see now that it seems that busybox needs it in binary format...
Code: [Select]
Title:          kmaps.tcz
Description:    All keymaps from kbd-1.14.1 converted kmaps
Version:        1.15.1
Author:         Various
Original-site:  ftp://ftp.altlinux.com/pub/people/legion/kbd/kbd-1.14.1.tar.gz
Copying-policy: GPL
Size: 120K
Extension_by:   Curaga
Comments:       All keymaps available in kbd-1.15.1 converted to the
binary kmap format used in Busybox.
Change-log:     2008/07/05 - First version
Current:        2010/01/31 - Update to 1.15.1

Nothing is ever as easy as it looks. ;D

Curaga to the rescue! 8)
Title: Re: How to Create kmap
Post by: teenoi31 on February 11, 2010, 03:33:04 AM
Thank You Very Much for You Help me.

 :D
Title: Re: How to Create kmap
Post by: curaga on February 11, 2010, 05:42:16 AM
Added on my todo list.

edit: If you're only looking for the right keymap when in X, you could install Xorg. It uses different keymaps from the console/Xvesa, and includes a lot more. Seems to have a thai keymap as well.

Option      "XkbLayout" "th"
Title: Re: How to Create kmap
Post by: curaga on February 12, 2010, 12:44:34 PM
Two thai keymaps added.

# Thai/Eng mode toggle by Left-Alt+Shift
# Single Thai Character can be type by Hole Right-Alt (Shift) + Character
Title: installed keymap booted with de for german kb layout
Post by: beerstein on February 15, 2010, 06:32:56 AM
Hi:
I installed keymap extension and booted with the german keyboard option. Everything now works OK exept:

The Umlauts  ( ae = ä) and so forth Ae = Ä

Can I ad these Umlaus by myself?

Have a good day
beerstein
Title: Re: How to Create kmap
Post by: gutmensch on February 15, 2010, 07:05:01 AM
did you use de-latin1.kmap? ä, ö, ü have been working all the time for me like on a normal keyboard...
Title: Re: How to Create kmap
Post by: teenoi31 on February 22, 2010, 05:50:19 AM
I have already to th-latin1.kmap and font thai .
I reconfing /opt/bootlocal.sh add loadkmap < /usr/share/kmap/th-latin1.kmap
and /etc/X11/xorg.conf  change
Option      "XkbLayout" "us"
to
Option      "XkbLayout" "th"
it Ok can work
But i Can't switch Thai/Eng mode toggle by Left-Alt+Shift. it not work .
tinycore will give thail only. can't toggle to Eng mode.
Please Help Me.
Title: Re: How to Create kmap
Post by: curaga on February 22, 2010, 08:20:27 AM
The info above, left-alt and shift, is only valid in the console. In X it could be something different.

I'm not familiar with the problem, but google gives this:
http://linux.thai.net/~thep/thai-howto/thai-howto.html

Quote
Section "InputDevice"
     ...
     Option "XkbLayout" "us,th"
     Option "XkbVariant" "basic,tis"
     Option "XkbOptions" "grp:alt_shift_toggle,lv3:ralt_switch,grp_led:scroll"
     ...
  EndSection
Language switching: Alt-Shift
Level 3 shift: Right-Alt
Title: Re: How to Create kmap
Post by: teenoi31 on February 22, 2010, 09:43:33 PM
Thank Very much for You help me

 :D ::) ;D