Setting up Ubuntu in CoLinux–changing local/keyboard to be English

 

Today i installed the CoLinux with Ubuntu package, but the default locale setting of the system is German, especially the keyboard is different from the U.S. keyboard.


I tried many times to map some special symbols, e.g. symbol '-' is mapped to key '?', ':' is mapped to '>', and '"' is mapped to '@'. 忍者


What i modified are bellowing files:

/var/lib/locales/supported.d/local          :          en_GB ISO-8859-1 
/etc/environment                            :          LANG="en_GB"      LANGUAGE="en_GB:en" 
/etc/locale.gen                             :          en_GB ISO-8859-1


and the environment veriables:

$ export LANG="en_GB" 
$ export LANGUAGE="en_GB:en"

 


And then, execute

$ sudo dpkg-reconfigure locales

After that, the command $locale shows that the current locale is en_GB now, but the keyboard is still be German.
Googled for some help, following bellowing steps to change the keyboard to be English.

     1. $ apt-get install console-data 

     2. $ apt-get install console-tools 
     3. $ dpkg-reconfigure console-data 
     4. $ loadkeys us

     5. In order to avoid the problem that the keyboard has no response after restart, it's better to add following content in file /etc/rc.local before the 'exit' line.

         loadkeys us

Successed!!!

 


------------------------
PS:
After downloading the package (base-200-10-11-11.7z) for Ubuntu, it cannot be unzip successfully using 7-Zip with error message says that "Unsupported compression method" or something like that.
Solution is to download and install the latest 7-Zip.
PS of PS:
To change the default window size, add config cocon in .conf file.
e.g. my setting is cocon=110x40x200.
------------------------
References:
     http://colinux.wikia.com/wiki/CoLinuxKBD

 

 

posted on 2013-08-23 00:17  name2579  阅读(708)  评论(0编辑  收藏  举报

导航