WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: loadkmap only for prompt, not for x  (Read 4436 times)

Offline littlemathteacher

  • Newbie
  • *
  • Posts: 4
loadkmap only for prompt, not for x
« 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

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: loadkmap only for prompt, not for x
« Reply #1 on: July 01, 2010, 12:40:14 PM »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline gutmensch

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 605
  • I can make it disappear, have no fear!
    • remembrance blog
Re: loadkmap only for prompt, not for x
« Reply #2 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
If I seem unduly clear to you, you must have misunderstood what I said. (Alan Greenspan)

Offline littlemathteacher

  • Newbie
  • *
  • Posts: 4
Re: loadkmap only for prompt, not for x
« Reply #3 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.