Language and keyboard problems
Frederik Dannemare
frederik at dannemare.net
Mon Apr 11 15:26:18 UTC 2005
On Monday 11 April 2005 04:22, Nuno Miguel dos Santos Baeta wrote:
> Hi!
>
> I've just installed Kubuntu 5.04 on an iMac Rev. A and had very few
> problems. Screen resolution was something awkward, but I solved the
> problem with runing
>
> dpkg-reconfigure xserver-xorg.
>
> I was also hoping to solve another problem - the keyboard layout -
> but I'm still unable to write characters such as @, {, [, ], }. BTW,
> my keyboard has a portuguese layout. Any ideas how to solve this
> problem?
With respect to KDE apps, you should be able to simply select your
keyboard layout in kcontrol -> regional & accessibility -> keyboard layout
> Finally, during installation I choose english as the default
> language. How do I change english to another language (I want
> portuguese) without having to reinstall everything?
"sudo dpkg-reconfigure locales" and choose the locales
which you want to generate
This should work as well, I think (using {en_US,da_DK}.ISO-8859-15 in
this example):
echo -e "da_DK.ISO-8859-15 ISO-8859-15\nen_US.ISO-8859-15 ISO-8859-15" >/etc/locale.gen
locale-gen
cat <<EOF >/etc/environment
LANG="da_DK.ISO-8859-15"
LC_CTYPE="da_DK.ISO-8859-15"
LC_NUMERIC="da_DK.ISO-8859-15"
LC_TIME="da_DK.ISO-8859-15"
LC_COLLATE="POSIX"
LC_MONETARY="da_DK.ISO-8859-15"
LC_MESSAGES="en_US.ISO-8859-15"
LC_PAPER="da_DK.ISO-8859-15"
LC_NAME="da_DK.ISO-8859-15"
LC_ADDRESS="da_DK.ISO-8859-15"
LC_TELEPHONE="da_DK.ISO-8859-15"
LC_MEASUREMENT="da_DK.ISO-8859-15"
LC_IDENTIFICATION="da_DK.ISO-8859-15"
EOF
Re-login...
This example will give you Danish everywhere, except in
the shell (LC_MESSAGES). Also, LC_LOCCATE set to POSIX does
correct (correct, in my book) listing of files.
Best regards,
--
Frederik Dannemare | http://sentinel.dk | http://linuxworlddomination.dk
http://qa.debian.org/developer.php?login=Frederik+Dannemare
http://www.ubuntulinux.org/wiki/FrederikDannemare
Key fingerprint = 30CF 7AD3 17D9 1A63 A730 ECA6 0D4C 2C97 9D9A 238E
More information about the kubuntu-users
mailing list