`
jythoner
  • 浏览: 601872 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Working on Ubuntu9.04

阅读更多
1.英文版Ubuntu打开txt文件中文内容乱码
终端输入:gconf-editor
然后:
apps>gedit-2>peferences>encodings add "GB18030" to "auto_detected" and "show_in_menu"option.
并把GB18030排在首位

2.Ubuntu右键添加Terminal
sudo apt-get install nautilus-open-terminal(把终端加到右键菜单)

3.Ubuntu 9.04 英文环境下切换中文输入法
$ scim
$ sudo vi /etc/X11/Xsession.d/95xinput
输入内容
export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE=scim
export QT_IM_MODULE=scim
保存退出
$ scim -d
需要重新启动xwindows

4.使用Terminal Server Client通过VNC访问其他linux
sudo apt-get install vnc4-common xvnc4viewer
登录时Computer为:服务器IP:display#,例如:12.34.56.78:1;protocol选择:VNC

5.ubuntu pdf中文乱码问题解决办法
sudo apt-get install xpdf-chinese-simplified xpdf-chinese-traditional poppler-data
编辑:sudo gedit /etc/fonts/conf.d/49-sansserif.conf,把倒数第四行的字体改为你所使用的中文字体名就行了(不行就把这个文件删掉)

6.firefox 中flash显示中文乱码解决方法
sudo gedit /etc/fonts/conf.d/49-sansserif.conf
将文件中第二个sans-serif 改为simsun,保存
打开firefox,编辑-首选项-内容-高级-字符编码 改为GB2312
重启firefox。

7.安装ies4linux
sudo apt-get install cabextract  wine
wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz
tar zxvf ies4linux-latest.tar.gz
cd ies4linux-*
./ies4linux --no-gui
这是关键一步!不加 --no-gui参数将无法正常安装。
安装完毕,运行 ~/bin/ie6 启动程序。如果嫌终端麻烦,可以建立一个主菜单快捷方式即可。

8.VIM中文乱码解决
在.vimrc中加入
let &termencoding=&encoding
set fileencodings=utf-8,gbk,ucs-bom,cp936
1
0
分享到:
评论
1 楼 星情泪 2009-09-18  
谢谢 第一条正好帮到我

相关推荐

Global site tag (gtag.js) - Google Analytics