You are not logged in.

#1 2008-02-14 21:36:50

Ub1476
Member
Registered: 2008-01-21
Posts: 69

How can I use Norwegian letters (æ ø å)?

Hi, I'm using KDEmod and Arch, but can't get norwegian letters to work! Those letters are æ, ø and å (copied from wikipedia).

I installed the aspell norwegian dictionary, as well as the kdemod norwegian dictionary. In /etc/rc.conf, KEYMAP is set to no-latin1 (no difference if it's set to "no"). I think it's a setting I have to set in KDE, because in Gnome, this works out of the box. Help would be greatly appreciated!

PS: When I type those letters, I only get squares like this: [][].

Offline

#2 2008-02-14 21:41:09

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,094

Re: How can I use Norwegian letters (æ ø å)?

rc.conf:

KEYMAP="no-latin1"

xorg.conf:

Option "XkbLayout"    "no"

Edit: ofcause, your font got to have æøå too smile
Also, use utf8. Personaly, I prefer en_GB.utf8 as the locale. Since the norwegian translations are far from good.
Edit2: skriveleif/typos

Last edited by Mr.Elendig (2008-02-14 23:34:45)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#3 2008-02-14 22:04:00

Ub1476
Member
Registered: 2008-01-21
Posts: 69

Re: How can I use Norwegian letters (æ ø å)?

Thanks for reply, but all those settings are set. I can display/see those letters, but not write them? Why is it so?

Offline

#4 2008-02-14 22:13:54

KimTjik
Member
From: Sweden
Registered: 2007-08-22
Posts: 715

Re: How can I use Norwegian letters (æ ø å)?

What output do you get from "locale -a"?

And what console font did you specify in "rc.conf"?

Last edited by KimTjik (2008-02-14 22:15:41)

Offline

#5 2008-02-14 22:32:38

Ub1476
Member
Registered: 2008-01-21
Posts: 69

Re: How can I use Norwegian letters (æ ø å)?

[kasper@myhost ~]$ locale -a
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
C
POSIX
bokmal
bokm
nb_NO
nb_NO.iso88591
nb_NO.utf8
no_NO
no_NO.ISO-8859-1
norwegian
#
# /etc/rc.conf - Main Configuration for Arch Linux
#

#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="no_NB.UTF-8"
HARDWARECLOCK="UTC"
TIMEZONE="Europe/Oslo"
KEYMAP="no-latin1"
CONSOLEFONT="lat0-16"
CONSOLEMAP=
USECOLOR="yes"

#
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# Scan hardware and load required modules at bootup
MOD_AUTOLOAD="yes"
# Module Blacklist - modules in this list will never be loaded by udev
MOD_BLACKLIST=()
#
# Modules to load at boot-up (in this order)
#   - prefix a module with a ! to blacklist it
#
MODULES=(r8169 iwl3945 snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore fglrx)
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

#
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
HOSTNAME="myhost"
#
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available
# interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
#
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
#
lo="lo 127.0.0.1"
eth0="dhcp"
INTERFACES=(lo eth0)
#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
#gateway="default gw 192.168.0.1"
#ROUTES=(!gateway)
#
# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network-profiles
#
#NET_PROFILES=(main)

#
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(@syslog-ng !network dhcpcd networkmanager @netfs @crond @acpid @alsa @hal @fam @kdm)


# End of file

Offline

#6 2008-02-14 23:04:43

KimTjik
Member
From: Sweden
Registered: 2007-08-22
Posts: 715

Re: How can I use Norwegian letters (æ ø å)?

You do have a mismatch here somehow. Open the file /etc/locale.gen and check which ones you've unchecked. According to mine there's nothing like no_NO_something available but only nb_NO_something.

My guess is that you should as locale write LOCALE="nb_NO.utf8", which fits the output of "locale -a". The "cannot set..." message indicates as far as I understand that you've set the wrong parameters here.

locale.gen, and it's output, should match you're settings in rc.conf.

PS. I find this tricky sometimes as well, and in Swedish it looks like a setting concerning CONSOLEFONT that's not recommended according to many places works best for me: lat1-12.DS

Offline

#7 2008-02-14 23:33:31

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,094

Re: How can I use Norwegian letters (æ ø å)?

LOCALE="nb_NO.utf8"

but be aware that you will get a mix of english and badly translated norwegian.

Edit: I don't use a custom consolefont, but øæå stills hows up just fine in terminal.

Last edited by Mr.Elendig (2008-02-14 23:35:58)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#8 2008-02-15 06:40:24

Ub1476
Member
Registered: 2008-01-21
Posts: 69

Re: How can I use Norwegian letters (æ ø å)?

Thank you! Changing the locale to as you suggested fixed the problem after a reboot.:D

Offline

Board footer

Powered by FluxBB