Chinaunix首页 | 论坛 | 博客
  • 博客访问: 229148
  • 博文数量: 65
  • 博客积分: 1410
  • 博客等级: 上尉
  • 技术积分: 655
  • 用 户 组: 普通用户
  • 注册时间: 2006-03-31 13:33
文章分类

全部博文(65)

文章存档

2016年(1)

2010年(4)

2009年(4)

2008年(4)

2007年(40)

2006年(12)

我的朋友

分类: LINUX

2007-08-24 22:57:07

    Linux的中文老看着不舒服,就连最火的Ubuntu也感觉有点,于是就切到英文环境下。可是却无法输入中文了。在网上搜了半天,发现很多都要修改/etc/X11/xinit/xinput.d/default文件。我不大喜欢修改系统文件。于是就想了别的办法——观察了一下/etc/X11/xinit/xinput.d/的内容,增加了一个链接就OK了:)

eagle@peak:~$ ls -l /etc/X11/xinit/xinput.d/total 32
lrwxrwxrwx 1 root root   32 2007-08-06 02:09 all_ALL -> /etc/alternatives/xinput-all_ALL
-rw-r--r-- 1 root root 1042 2006-12-07 01:51 default
lrwxrwxrwx 1 root root   30 2007-08-24 22:28 en_US -> /etc/alternatives/xinput-zh_CN
lrwxrwxrwx 1 root root   30 2007-08-06 02:09 ja_JP -> /etc/alternatives/xinput-ja_JP
lrwxrwxrwx 1 root root   30 2007-08-06 02:09 ko_KR -> /etc/alternatives/xinput-ko_KR
-rw-r--r-- 1 root root  474 2006-12-07 01:51 none
-rw-r--r-- 1 root root  577 2007-03-05 23:02 scim
-rw-r--r-- 1 root root  384 2006-10-20 10:43 scim-chewing
-rw-r--r-- 1 root root  649 2007-03-05 23:02 scim-immodule
-rw-r--r-- 1 root root  385 2007-03-05 23:32 scim-pinyin
-rw-r--r-- 1 root root  506 2007-03-05 23:02 scim_xim
lrwxrwxrwx 1 root root   30 2007-08-06 02:31 th_TH -> /etc/alternatives/xinput-th_TH
-rw-r--r-- 1 root root  610 2006-12-07 01:51 th-xim
lrwxrwxrwx 1 root root   30 2007-08-06 02:09 zh_CN -> /etc/alternatives/xinput-zh_CN
lrwxrwxrwx 1 root root   30 2007-08-06 02:09 zh_HK -> /etc/alternatives/xinput-zh_HK
lrwxrwxrwx 1 root root   30 2007-08-06 02:09 zh_SG -> /etc/alternatives/xinput-zh_SG
lrwxrwxrwx 1 root root   30 2007-08-06 02:09 zh_TW -> /etc/alternatives/xinput-zh_TW
eagle@peak:~$ ln -s /etc/alternatives/xinput-zh_CN /etc/X11/xinit/xinput.d/en_US

最后按Ctrl+Alt+Backspace重启,OK:)
阅读(1830) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2008-07-09 00:11:22

非常不错!赞!