LinHES Forums
http://forum.linhes.org/

German keyboard layout in text konsole but not in X
http://forum.linhes.org/viewtopic.php?f=14&t=8563
Page 1 of 1

Author:  Nightstranger [ Fri Feb 17, 2006 5:38 am ]
Post subject:  German keyboard layout in text konsole but not in X

Hello,

during installation I selected - by accident - us keyboard layout. Now I need to change this to german (with umlaut,...).

I managed to have a german keyboard layout on text terminal (shift-alt-F2) but there is still the us keyboard when I use a shell (bash, sh) or Xshell (XTerm, Xterm(Unicode)) or any other X application...

Although I can execute without errors
Code:
#loadkeys de-latin1-nodeadkeys
Loading /usr/share/keymaps/i386/qwertz/de-latin1-nodeadkeys

I donĀ“t get a german keybord layout in X after that (even not after restart X)

I have also edited XF86Config to
    [....]
    Section "InputDevice"
    Identifier "Keyboard"
    Driver "keyboard"
    Option "CoreKeyboard"
    Option "XkbRules" "xfree86"
    Option "XkbModel" "pc102"
    Option "XkbLazout" "de"
    Option "XkbVariant" "nodeadkeys"

    # Protocol "Standard"
    # AutoRepeat 500 5
    # LeftAlt Meta
    # RightAlt Meta
    # ScrollLock Compose
    # RightCtl Control
    # This is just the default keymap for X.
    # May be changed with the KDE international keyboard tool.
    # XkbModel "pc102"
    # XkbLayout "de"
    # XkbKeymap "xfree86(de)"

    # XkbOptions "ctrl:swapcaps"
    # XkbKeycodes "xfree86"
    # XkbTypes "default"
    # XkbCompat "default"
    # XkbSymbols "us(pc101)"
    # XkbGeometry "pc"
    # XkbRules "xfree86"
    # XkbModel "pc101"
    # XkbLayout "us"
    EndSection
    [....]
but that did not help, not even after reboot :(

I have also tried
Code:
dpkg-rconfigure console-data
where I could select a german keybord (QWERTZ). I did not work in X, even after reboot.

What else do I need to do?

Thanks for any hints

Stranger

------------------------
KnoppMyth R5A30
VIA Epia ME6000

Author:  wulf [ Wed Jun 16, 2010 10:30 am ]
Post subject: 

some problem here but in LinHes 6.03

in the console everything is fine but in x it holds on qwerty but i need qwertz. :?:

Author:  heilig [ Sun Jun 20, 2010 9:03 am ]
Post subject: 

this works for me:

as root:

Code:
nano /etc/X11/Sessions/LinHES


add the line

Code:
setxkbmap de


right above the where fluxbox is started.

[Edited to correct typo in setxkbmap command, see posts below for discussion resulting from this stupid mistake]

Author:  wulf [ Wed Jun 23, 2010 2:10 am ]
Post subject: 

Thanks - but that didnt change anzthing for me :(
still no umlauts and still qwerty.

Author:  heilig [ Sun Jun 27, 2010 3:21 pm ]
Post subject: 

have you tried
Code:
setxkbdmap de

from an xterm instead of from /etc/X11/Sessions/LinHES? Did that change
anything?

Maybe this is missing?
Code:
de_DE
in /etc/locale.conf (sudo nano /etc/locale.conf)



I'm not a Linux guru, this is just from the notes I took during a test installation of LinHES 6.0.3 in VMWare, but this worked for me:

Optional, if german keyboard should be available outside X (e.g. in console):
⁃ in /etc/locale.gen de_DE must be un-commented (3x)
⁃ sudo /usr/sbin/locale-gen
⁃ sudo nano /etc/rc.conf
⁃ LOCALE="de_DE.iso885915@euro"
⁃ KEYMAP="de-latin1-nodeadkeys.map.gz"


jens

Author:  wulf [ Sat Jul 17, 2010 3:32 am ]
Post subject: 

heilig wrote:
have you tried
Code:
setxkbdmap de

from an xterm instead of from /etc/X11/Sessions/LinHES? Did that change anything?


Oh wow, I didnt check this, but while doing that Irecognized, that its a typo, the shell programm isnt written

Code:
setxkbdmap de


but

Code:
setxkbmap de


than it works out of the box. :lol: :lol: :lol:

Ill check if it also works in the rest of the X environment after a restart!!!

Greetings, Gosh / BTW that should be implemented in the knoppmyth installer :!:

Author:  heilig [ Mon Jul 19, 2010 3:14 pm ]
Post subject: 

oh damn... :oops: sorry about that. Stupid mistake, typing the command, when really I should have copied and pasted it when posting here.

Glad you worked it out, though!

jens

Author:  wulf [ Mon Jul 19, 2010 4:36 pm ]
Post subject: 

No Problem - Thanks to that hint it now also works out of the box after a restart!

Finally! A German Keyboard in LinHES - :lol:

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/