Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: littlemathteacher on July 01, 2010, 12:37:34 PM

Title: loadkmap only for prompt, not for x
Post by: littlemathteacher on July 01, 2010, 12:37:34 PM
Hello.

I have made my TC load the german keyboard at boot by loadkmap. In fact there is the german keymap, but just as long as I dont start the X. On the desktop it is gone, its again qwerty. When I exit to prompt there is qwertz again. Howto configure X to load qwertz too ... sorry, cant find the question mark on the keyboard.

thanks
Title: Re: loadkmap only for prompt, not for x
Post by: bmarkus on July 01, 2010, 12:40:14 PM
See WIKI article http://wiki.tinycorelinux.com/Using+Xorg+over+Xvesa
Title: Re: loadkmap only for prompt, not for x
Post by: gutmensch on July 01, 2010, 06:04:14 PM
I assume you're using Xorg when you get qwerty in an X session.

there are several solutions... an easy one has been for me the following:

Add this line at the very end of your .xsession file (e.g. /home/tc/.xsession)

[ -e /usr/local/bin/setxkbmap ] && setxkbmap -layout "de" -variant "nodeadkeys"

Then of course backup your home directory and that's it. kmaps for console and setxkbmap for Xorg ;-)

Best regards,
Robert
Title: Re: loadkmap only for prompt, not for x
Post by: littlemathteacher on July 04, 2010, 09:25:28 AM
Thanks a lot.

I can't even report any success because while playing around with Xorg and Xvesa I hit a mysterious button and ran in to a whole package upgrade, so that those packages wouldn't fit the old kernel and version anymore. At the end I also took the current kernel and these actions resulted in a whole system upgrade - by the way again with a supported german keyboard layout from nowhere.