Solved

Swedish Keyboard ...?

Posted on 2002-05-06
5
523 Views
Last Modified: 2013-12-15
Hi

I´m just recently installed RedHat 7.2 on my PC.
In some way my keyboard doesn´t work as i'm jused to.

I have a swedish PC keyboard.
I think Linux is set up for an english or us keytable.

How can i change this ?
0
Comment
Question by:AndersCarlsson
  • 4
5 Comments
 
LVL 2

Expert Comment

by:wqclatre
ID: 6993199
Is it in XWindows or in Console you have problem. or both ?

0
 
LVL 2

Accepted Solution

by:
wqclatre earned 100 total points
ID: 6993223
I have not been running RedHat for some years. But I guess they handle things like in Mandrake.


If it's in the console I guess that you have a
/etc/sysconfig/keyboard

Edit it so you have:

KEYTABLE=se-latin1
KBCHARSET=iso-8859-1
BACKSPACE=Delete

then run

/etc/rc.d/init.d/keytable restart

also check your .inputrc (or /etc/inputrc) so you have:

set meta-flag on
set convert-meta off
set input-meta on
set output-meta on

In this file.

If it's under X you have problem you can look in

/etc/X11/XF86Config-4 (if you are running XFree4)

Look for the Section InputDevice.

You should have something like:

Section "InputDevice"

    Identifier "Keyboard1"
    Driver      "Keyboard"
    Option "AutoRepeat"  "250 30"

    Option "XkbRules" "xfree86"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "se"

EndSection

If you are using an old XFree3 look for the Keyboard section in /etc/X11/XF86Config. It should looks like:



Section "Keyboard"

    Protocol    "Standard"
    AutoRepeat  250 30  
    LeftAlt        Meta
    RightAlt       Meta
    ScrollLock     Compose
    RightCtl       Control
    XkbKeycodes     "xfree86"
    XkbTypes        "default"
    XkbCompat       "default"
    XkbSymbols      "us(pc105)"
    XkbGeometry     "pc"
    XkbRules        "xfree86"
    XkbModel        "pc105"
    XkbLayout       "se"

EndSection

 

Hope it helps
0
 
LVL 2

Expert Comment

by:wqclatre
ID: 6993225
Hhere is probably some graphical tool for doing this.

0
 

Author Comment

by:AndersCarlsson
ID: 6993286
Solved my problem.
But I didn't find any graphical way.
0
 
LVL 2

Expert Comment

by:wqclatre
ID: 6993638
If it was under X i guess Xconfigurator might be the tool to use. I think it could be kbdconfig for the console.

0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question