Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 542
  • Last Modified:

Swedish Keyboard ...?

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
AndersCarlsson
Asked:
AndersCarlsson
  • 4
1 Solution
 
wqclatreCommented:
Is it in XWindows or in Console you have problem. or both ?

0
 
wqclatreCommented:
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
 
wqclatreCommented:
Hhere is probably some graphical tool for doing this.

0
 
AndersCarlssonAuthor Commented:
Solved my problem.
But I didn't find any graphical way.
0
 
wqclatreCommented:
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

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now