LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices

Reply
 
Search this Thread
Old 05-18-2005, 01:22 AM   #1
Linunix
Member
 
Registered: May 2005
Location: Germany
Posts: 56

Rep: Reputation: 15
German Keyboard


What is the necessary difference between a Slackware installation with a US keyboard console and one with a German keyboard console? I guess this cannot be more than a single line of init code. I have searched for several hours but found *nothing*!

Any help greatly appreciated! Please note that I am not speaking of setting up X Window for a locale keyboard, I got that done. I am talking about the simple master console. So it has to be a very basic init setting.
 
Old 05-18-2005, 08:23 AM   #2
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 34
Edit /etc/rc.d/rc.keymap to change the default keyboard layout.

You should only need to set it as 'de', though more German layouts can be found here: /usr/share/kbd/keymaps/i386/qwertz
 
Old 05-18-2005, 10:54 AM   #3
Linunix
Member
 
Registered: May 2005
Location: Germany
Posts: 56

Original Poster
Rep: Reputation: 15
Quote:
Edit /etc/rc.d/rc.keymap to change the default keyboard layout.
Thanks for the hint but interesting enough this file does not exist in my installation. Could you possibly give me an example of what the content would be?

I have found a gzipped german map in /usr/share/kbd/keymaps/i386/qwertz. As I am quite the newbie, could you help me onwards what their usage is? Should I unzip any one before usage?
 
Old 05-18-2005, 11:30 AM   #4
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 34
/etc/rc.d/rc.keymap should look like this for your case:

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.map
fi
Also make sure you run: chmod +x /etc/rc.d/rc.keymap

You don't need to gunzip anything - the files are kept compressed merely for storage, and are gunzip'ed when used.
 
Old 05-19-2005, 04:20 AM   #5
Linunix
Member
 
Registered: May 2005
Location: Germany
Posts: 56

Original Poster
Rep: Reputation: 15
I've got it running with satisfactory results with the mapping
loadkeys de-latin1.map

The "de.map" must be out of stone age computing and can't imagine who is still using this antique keyboard! It does not support the modern umlaut keys.

What is still missing is the Euro symbol. I tried "loadkeys euro1.map" but - not knowing whether it works - there is a remaining problem with the font. So stepping into another question: "How to load a iso-8859-15 compatible font?"

Well, many thanks so far. I believe I can live without the Euro symbol in the console modus for a while.

Btw, can you say what those mappings in "querty" are good for?

Last edited by Linunix; 05-19-2005 at 04:27 AM.
 
Old 05-19-2005, 05:15 AM   #6
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 34
QWERTY - My British keyboard layout (plus US, Spanish, etc. From looking at the directory, it's more common than qwertz )

As root, run 'pkgtool' and go to Setup > setconsolefont, and you should be able to re-run the startup script for selecting your console font.

If you want to find more information on them, the console fonts are here: /usr/share/kbd/keymaps (there are also various README's, etc accompanying them there).
 
Old 05-20-2005, 12:05 PM   #7
Linunix
Member
 
Registered: May 2005
Location: Germany
Posts: 56

Original Poster
Rep: Reputation: 15
I tried it out but all I get is cryptical gibberish about font names, which I confess I don't understand.

Quote:
If you want to find more information on them, the console fonts are here: /usr/share/kbd/keymaps (there are also various README's, etc accompanying them there).
Are you sure? Didn't see any fonts in /usr/share/kbd/keymaps !
 
Old 05-21-2005, 11:02 AM   #8
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 34
Sorry, I meant /usr/share/kbd/consolefonts
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 layout (German) medo Linux - Laptop and Netbook 1 07-18-2005 07:52 AM
mozilla is in German master Linux - General 1 06-18-2005 06:49 AM
Solution found: Xnest with German Keyboard / Umlaute anura Linux - Software 0 03-24-2004 03:33 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


All times are GMT -5. The time now is 11:07 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration