步骤一:安装scim和scim-pinyin两个包
步骤二:修改/etc/gtk-2.0/i386-redhat-linux-gnu/gtk.immodules文件
在"xim""XInputMethod""gtk20""/usr/share/locale""kja:th:zh"中添加en
修改后"xim""XInputMethod""gtk20""/usr/share/locale""en:kja:th:zh"
步骤三:修改/etc/X11/xinit/xinitrc.d/xinput.sh文件
在_language_list="asbnguhijaknkomlmrneorpasitatethurvizh"中添加en
修改后_language_list="enasbnguhijaknkomlmrneorpasitatethurvizh"
关掉系统蜂鸣声
rmmodpcspkr
当你怀念它的时候
modprobepcspkr
命令行模式下用dhclient获得IP地址
HowTTurnoff(mute)systembeep
Foranyonewithalaptopwhoworksinalibraryorotherquietarea,systembeepseverytimeyoupressthebackspacekeyonetoomanytimes,orjustusingemacs,canbequitedisturbing.
Toshutthemoff:openanxtermorterminal,andenterthetwolines
file.pngCode:
xsetboffxsetb000
ToremovethePCspeakerdriveruntilthesystemisrebooted,executethiscommandasroot:
file.pngCode:
modprobe-rpcspkr
ThisalsodisablesthePCspeakerinprogramslikeFirefox.
Toloaditback,justtype:(asroot)
file.pngCode:
modprobepcspkr
TopermanentlydisablethePCspeakerevenafterreboots,addthisto/etc/rc.localbeforethelastline(exit0):
file.pngCode:
modprobe-rpcspkr
Alternately,black-listthemodulein/etc/modprobe.d/blacklist.ThisonealsoworksforDapper.
file.pngCode:
blacklistpcspkr
下载本文示例代码
阅读(275) | 评论(0) | 转发(0) |