[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kbd



"Patrik Olesen" <patrik_olesen@hotmail.com> writes:

> Har fösökt lägga in se-latin1 mha av kbdconfig, men det går ändå inte att
> skriva åäö.
> Vad gör jag för fel?

Beror på om du kör i consol eller X.

Förrutom detta behövs konfiguration av inputrc och locales:

# /etc/inputrc - global inputrc for libreadline
# See readline(3readline) and `info readline' for more information.

# Be 8 bit clean.
set input-meta on
set output-meta on

# To allow the use of 8bit-characters like the german umlauts, comment out
# the line below. However this makes the meta key not work as a meta key,
# which is annoying to those which don't need to type in 8-bit characters.

set convert-meta off
set meta-flag on




# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).

LC_ALL='sv_SE.ISO-8859-1'
LESSCHARSET='latin1'
LC_CTYPE=sv_SE

export LC_ALL LESSCHARSET LC_CTYPE



Och om du kör senaste unstable, /etc/locale.gen:

# Uncomment locales that you wish to have generated. To
# manually generate these locales, run the locale-gen
# program as root



Och om du exempelvis kör xfree86, 4.0, ändra i XF86Config-4:

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "keyboard"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xfree86"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "se"
EndSection


-- 
/ Jonas  -  http://jonas.liljegren.org/myself/en/index.html



Reply to: