LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-04-2009, 04:35 AM   #1
wingevil
Member
 
Registered: Oct 2008
Distribution: slack32-13
Posts: 147

Rep: Reputation: 19
Question [solved] slackware13-RC1: how to setup up a german keyboard?


yesterday I installed slackware13 rc1. After the installation I modified the

/etc/profile.d/lang.sh to
Code:
export LANG=de_DE.utf8
export LC_ALL=de_DE.utf8
the same in /etc/profile.d/lang.csh

I also edited the /etc/profile in the same way

and at last I edited the /etc/X11/xorg.conf to

Quote:
Option "XkbLayout" "de(nodeadkeys),de(nodeadkeys)"
As a result i got a complete german xfce BUT still with an english keyboard, either under X11 and the console.

Can anyone help me and tell me what to do to get a german keyboard-layout?

thanks in advance

Michael

Last edited by wingevil; 07-04-2009 at 08:06 AM.
 
Old 07-04-2009, 05:17 AM   #2
gapan
Member
 
Registered: Feb 2007
Posts: 378

Rep: Reputation: 163Reputation: 163
I've seen this too, I need to have a greek/english keyboard and be able to switch between them. Slackware's xorgsetup created a xorg.conf that seemed to be right, but I only had an english keyboard. I didn't pay too much attention because I used my old xorg.conf (with identical keyboard section as the one xorgsetup created) and it now works OK.

But xfce also has its own keyboard configuration, which works regardless of what xorg.conf says, you can set it from somewhere in xfce settings.
 
Old 07-04-2009, 05:25 AM   #3
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644

Rep: Reputation: 145Reputation: 145
I'm at a 12.2 box right now, but AFAIR this should work:

Copy /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi to /etc/hal/fdi/policy/ and edit it, replace "us" with your keyboard to get it functional with the X server.
EDIT: I think you have to remove the line from /etc/X11/xorg.conf to make that work.

To get German keyboard in runlevel 3 you can choose the right keymap during the install, and the installer will usually save it right. What the installer does is create the file /etc/rc.d/rc.keymap with the following content. And be sure to make the file executable (chmod 755 /etc/rc.d/rc.keymap).

Code:
#!/bin/sh
# Load the keyboard map.  More maps are in /usr/share/kbd/keymaps.
if [ -x /usr/bin/loadkeys ]; then
  /usr/bin/loadkeys de-latin1.map
fi
The third thing you have to do is what you already did, to change /etc/profile.d/lang.sh

Ah, and I think because you use a utf8 locale you have to append the line "unicode_start" to /etc/rc.d/rc.local.

Last edited by titopoquito; 07-04-2009 at 05:26 AM.
 
Old 07-04-2009, 05:43 AM   #4
w3edr5t
Member
 
Registered: Jul 2003
Location: Oslo/Norway
Distribution: Slackware
Posts: 33

Rep: Reputation: 16
I had the same problem and fixed it with the same procedure as described by titopoquito.

Another thread in this forum related to xorg had this link to an Archlinux wiki page with more details:

http://wiki.archlinux.org/index.php/...ut_hotplugging

Maybe this should be mentioned in CHANGES_AND_HINTS.TXT

w3edr5t
 
Old 07-04-2009, 08:08 AM   #5
wingevil
Member
 
Registered: Oct 2008
Distribution: slack32-13
Posts: 147

Original Poster
Rep: Reputation: 19
In X11 it is real easy. I don't know that there now in xfce an own keyboard conf which is working at once.

I will check the other hints also.

Greetz and thanks @all

Michael
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
keyboard German snoozing SUSE / openSUSE 5 01-28-2006 11:41 AM
Keyboard layout (German) medo Linux - Laptop and Netbook 1 07-18-2005 07:52 AM
German Keyboard Linunix Slackware - Installation 7 05-21-2005 11:02 AM
KDE german keyboard pacman Linux - Software 0 01-07-2004 01:51 PM
German Keyboard problems marsonist Linux - General 3 04-08-2003 01:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration