Solved

Swedish Keyboard ...?

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Remove a folder in Linux 9 104
gdb doesn't stop on breakpoint 2 67
AWS - HAProxy- KeepAlived 5 42
Penetration Testing home based work 3 75
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Fine Tune your automatic Updates for Ubuntu / Debian
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

770 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