红联Linux门户
Linux帮助

Fedora 8 的英文环境下安装中文输入法

发布时间:2008-02-03 01:34:31来源:红联作者:Limited
步骤一: 安装 scim 和 scim-pinyin 两个包

步骤二: 修改 /etc/gtk-2.0/i386-redhat-linux-gnu/gtk.immodules 文件
在 "xim" "X Input Method" "gtk20" "/usr/share/locale" "ko:ja:th:zh" 中添加 en
修改后 "xim" "X Input Method" "gtk20" "/usr/share/locale" "en:ko:ja:th:zh"

步骤三: 修改 /etc/X11/xinit/xinitrc.d/xinput.sh 文件
在 _language_list="as bn gu hi ja kn ko ml mr ne or pa si ta te th ur vi zh" 中添加 en
修改后 _language_list="en as bn gu hi ja kn ko ml mr ne or pa si ta te th ur vi zh"

关掉系统蜂鸣声
rmmod pcspkr
当你怀念它的时候
modprobe pcspkr

命令行模式下用dhclient获得IP地址

HowTo: Turn off (mute) system beep

For anyone with a laptop who works in a library or other quiet area, system beeps every time you press the backspace key one too many times, or just using emacs, can be quite disturbing.

To shut them off: open an xterm or terminal, and enter the two lines
file.pngCode:

xset b off xset b 0 0 0

To remove the PC speaker driver until the system is rebooted, execute this command as root:
file.pngCode:

modprobe -r pcspkr

This also disables the PC speaker in programs like Firefox.

To load it back, just type: (as root)
file.pngCode:

modprobe pcspkr

To permanently disable the PC speaker even after reboots, add this to /etc/rc.local before the last line (exit 0):
file.pngCode:

modprobe -r pcspkr

Alternately, black-list the module in /etc/modprobe.d/blacklist. This one also works for Dapper.
file.pngCode:

blacklist pcspkr
文章评论

共有 3 条评论

  1. weidrson 于 2008-02-04 01:31:27发表:

    英文环境?
    用着噢

  2. Summerserenity 于 2008-02-03 09:20:15发表:

    和楼上的朋友同感。我不用采取步骤二和步骤三等也照样在英文状态下使用中文输入法。

  3. marco.chan 于 2008-02-03 08:55:00发表:

    我一直用的是en_US.UTF-8 环境,怎么从来没遇到过这个问题?!:0)1