Solved

Swedish Keyboard ...?

Posted on 2002-05-06
5
512 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

705 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now