Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: jujunet on October 28, 2011, 06:53:05 AM

Title: loadkmap don t work on TinyCore 4.x ?
Post by: jujunet on October 28, 2011, 06:53:05 AM
Hello,

i try to load a fr kmap on Tiny Core whithout success on 4.0 and 4.1-RC1

kmaps,tcz package is installed and copied into tce folder too

this line is not working in terminal
sudo loadkmap </usr/share/kmap/azerty/fr-latin1.kmap

this line is not working in the bootlocal.sh
loadkmap </usr/share/kmap/azerty/fr-latin1.kmap

and at boot : kmap=fr or kmap=azerty/fr-latin1  have no effect

Is there a problem with kmaps module?
How to debug the proble; and understand what happen when try to load a keyboard map ?

thanks for your help..

Julien
Title: Re: loadkmap don t work on TinyCore 4.x ?
Post by: jujunet on October 28, 2011, 07:32:45 AM
After some search keyboard is changed by the following command in prompt (Ctrl+Alt+F1) (back to X with Ctrl+Alt+F2)
sudo loadkmap </usr/share/kmap/azerty/fr-latin1.kmap

but change is not affect the X session

How to change keyboard layout in X ? Is it with loadkmap too?

julien
Title: Re: loadkmap don t work on TinyCore 4.x ?
Post by: bmarkus on October 28, 2011, 07:34:54 AM
Read WIKI

http://wiki.tinycorelinux.net/wiki:using_xorg_over_xvesa (http://wiki.tinycorelinux.net/wiki:using_xorg_over_xvesa)
Title: Re: loadkmap don t work on TinyCore 4.x ?
Post by: jujunet on October 28, 2011, 03:24:07 PM
thanks, i will try this

Is there a way to change keyboard to fr or fr-latin1 in Xvesa ?

Thanks.
Title: Re: loadkmap don t work on TinyCore 4.x ?
Post by: curaga on October 29, 2011, 02:13:07 AM
No, you must change console keymaps outside of X.
Title: Re: loadkmap don t work on TinyCore 4.x ?
Post by: floppy on March 20, 2013, 05:03:31 PM
No, you must change console keymaps outside of X.
how?
we have currently an issue with a french keyboard and a boot code kmap=azerty/fr-latin1 dont work.
I made it working inside xorg: but we try to install corelinux on an old piece and vesa is the target.
So, how to implement an automatic setup for using a french keyboard with vesa?
Title: Re: loadkmap don t work on TinyCore 4.x ?
Post by: curaga on March 20, 2013, 05:26:16 PM
Exit to prompt (either from the exit gui, or by ctrl-alt-backspace), type the command "sudo loadkmap < /usr/share/kmap/azerty/fr-latin1.kmap".

Quote
boot code kmap=azerty/fr-latin1 dont work.

Do you have kmaps.tcz set to onboot? That file works for me giving an azerty layout.
Title: Re: loadkmap don t work on TinyCore 4.x ?
Post by: floppy on March 22, 2013, 12:28:15 PM
"Xavier" informed it works.
putting that command "sudo loadkmap < /usr/share/kmap/azerty/fr-latin1.kmap"
in bootlocal.sh will activate the azerty with Xvesa activated (not in terminal only) ?
Title: Re: loadkmap don t work on TinyCore 4.x ?
Post by: curaga on March 22, 2013, 12:45:36 PM
Yes. It does the same as what the bootcode would do.
Title: Re: loadkmap don t work on TinyCore 4.x ?
Post by: gerald_clark on March 22, 2013, 01:10:54 PM
You do not need sudo in bootlocal.sh.  It already runs as root.