WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: German Keymap Problem in Xorg (solved)  (Read 3855 times)

Offline Op.Davoron

  • Newbie
  • *
  • Posts: 17
German Keymap Problem in Xorg (solved)
« on: March 31, 2010, 07:19:52 AM »
Hi and sorry for that but I cant get my German Keymap to work in X.

I have read the FAQ and the old threads about that, but nothing helped.

I am running Tinycore via Netbooting and load my extensions with the httplist boot parameter.

The extension get load properly and the keymaps can be found in /usr/share/kmap/ .

So in the FAQ (which is relay outdated especially the bootcodes section) and the Forum Threads can be found:
Exit to Promt
type (e.g.) : sudo loadkmap < /usr/share/kmap/de.kmap
startx

so I does that, but in X (terminal/Opera) is no change and the us layout is present!
I also use the kmap bootcode, only for testing but that also does nothing.

Its the same if I write the loadkmap code to the /opt/bootlocal.sh.

Does someone have a similar problem solved or have any ideas ?
Also can I chance the kmap for X via Xorg.conf?

Thank you for helping me!
« Last Edit: April 01, 2010, 03:57:10 AM by Op.Davoron »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: German Keymap Problem
« Reply #1 on: March 31, 2010, 08:20:32 AM »
Do you use Xorg? If so, the console keymap has no effect on X, unlike with Xvesa.

With xorg you can use the standard procedures in xorg.conf (google xkb guide).
The only barriers that can stop you are the ones you create yourself.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: German Keymap Problem
« Reply #2 on: March 31, 2010, 01:17:05 PM »
Béla
Ham Radio callsign: HA5DI

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

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: German Keymap Problem
« Reply #3 on: March 31, 2010, 08:42:05 PM »
~/.xsession :
Code: [Select]
......
waitforX
XSERVER=`sed -n -e '1p' $0 | grep vesa`
if [ "$XSERVER" ]; then
        xmodmap -e "clear Mod4" -e "add Mod5 = Mode_switch" &
else
        setxkbmap it &
fi
"$DESKTOP" 2>/tmp/wm_errors &
.......
the faq are old, there is no need anymore to type this:
Code: [Select]
sudo loadkmap < /usr/share/kmap/de.kmapjust add kmap=de in your boot options, for example this is my /mnt/hda3/boot/grub/menu.lst:
Code: [Select]
............
title MicroCore PH
kernel (hd0,2)/boot/bzImage-upxed quiet embed desktop=enlightenment_start lang=it_IT@euro max_loop=255 tce=hda3 nodhcp settime kmap=it TZ=CET-1CEST-2,M3.5.0,M10.5.0 noutc home=hda3
initrd (hd0,2)/boot/microcore.gz
..............
dCore user

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: German Keymap Problem
« Reply #4 on: April 01, 2010, 12:08:22 AM »
The FAQ has contained both ways for a long time, and should still work.

Offline Op.Davoron

  • Newbie
  • *
  • Posts: 17
Re: German Keymap Problem
« Reply #5 on: April 01, 2010, 03:56:24 AM »
Thank you for the replies!

Upon i know (thanks to curaga) what to search for, it wasnt that difficult.

Shame over me for not finding the "Using Xorg over Xvesa" but I have done it an other way.

But I use  a simple:
echo 'setxkbmap -rules xorg -layout "de"' >> /home/tc/.xsession

Think you could remove the "-rules xorg" to.

The "kmap=de" doesent work for Xorg. For the Text-Shell it does.

Thank you all for the help!