解决wine下的中文乱码问题

因为我是初学者,没有办法使用电驴,所以就只好用wine来虚拟一下了,然后是要解决wine之中的乱码问题,就是方块问题,在ubuntu论坛中找到的。


代码:
gedit ~/.wine/system.reg


(一定要使用 gedit 或其他支持 gb2312/utf8 编码的编辑器修改这些文件,否则文件中的中文可能变乱码)

搜索: LogPixels
找到的行应该是:[System\\CurrentControlSet\\Hardware Profiles\\Current\\Software\\Fonts]
将其中的:
“LogPixels”=dword:00000060

改为:
“LogPixels”=dword:00000070

搜索: FontSubstitutes
找到的行应该是:[Software\\Microsoft\\Windows NT\\CurrentVersion\\FontSubstitutes]
将其中的:
“MS Shell Dlg”=”Tahoma”
“MS Shell Dlg 2″=”Tahoma”

改为:
“MS Shell Dlg”=”SimSun”
“MS Shell Dlg 2″=”SimSun”

我使用后能正常显示乱码,英文的界面就不用说了。
最后我要说的是,用wine只是一种临时的办法,以后能不用就不用的,据说可能会感染病毒,当然是在虚拟机中的。

Ubuntu 8.04 LTS 速配指南 WIKI

设置中文环境(解决输入法等问题)
重要:之前的源已经更新完毕

打开“语言支持”对话框。单击主菜单中的“系统(System) --> 系统管理(Administration) --> 语言支持(language support)”。

在“支持的语言”列表中找到“汉语(Chinese)”,在右端打上勾。同时将默认语言修改为“汉语(Chinese)”并勾选“启用复杂字符输入支持(Enable support to enter complex characters)”,点击确定按钮。

Ubuntu 这时会下载并安装语言包。安装完毕之后,当你注销后重新登录,界面就变成中文的了。

如果你喜欢用 Adobe Reader 来阅读 pdf 文档,可在官网下载或者本地下载

设置文档查看器 Evince 的中文支持:
sudo apt-get install xpdf-chinese-simplified xpdf-chinese-traditional poppler-data

设置Firefox

安装Flash插件(注:公网用户可通过以下命令直接安装:
sudo apt-get install flashplugin-nonfree )

安装压缩工具

安装rar、7z、cab格式支持,输入命令
sudo apt-get install unrar p7zip-full cabextract

主要的都在这里了,具体的可以去这里查看:http://wiki.ubuntu.org.cn/index.php?title=Qref/Hardy&variant=zh-cn

Ubuntu 8.04 LTS 速配指南 根据ubuntu的wiki而来

ubuntu是一个高度网络化的系统,因此对于网络更新是很重要的,进入ubuntu的第一件事就是管理更新源

1请确保你的系统已联入互联网。

2打开终端。单击主菜单中的“应用程序 - 附件 - 终端”。

3修改更新服务器列表。请在终端中执行下面的两条命令:
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
sudo gedit /etc/apt/sources.list

注意:接下来在打开的文本编辑器中,把你看到的内容全部删掉,访问我们推荐的源 8.04页面http://wiki.ubuntu.org.cn/index.php?title=%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8%E6%88%91%E4%BB%AC%E6%8E%A8%E8%8D%90%E7%9A%84%E6%BA%90&variant=zh-cn#Hardy.288.04.29_.E7.89.88.E6.9C.AC。在那里里请选择一组对于你来说速度最快的更新服务器列表。粘贴到你所看到的窗口中。

对电信/网通用户,推荐将欧洲官方源服务器粘贴到最后
deb http://archive.ubuntu.com/ubuntu/ hardy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ hardy-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ hardy-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse

推荐所有用户加入 ubuntu-cn 源(从以下两个中选择一个即可)
deb http://archive.ubuntu.org.cn/ubuntu-cn/ hardy main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu-cn/ hardy main restricted universe multiverse


对于网通用户来说,使用台湾的更新服务器是最快的,其他的可能慢得痛不欲生,以下是我自己在用的:
deb http://archive.ubuntu.org.cn/ubuntu-cn/ hardy main restricted universe multiverse

deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-updates main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-updates main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-backports main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-security main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-security main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-proposed main multiverse restricted universe
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-proposed main restricted universe multiverse

deb http://mirror.lupaworld.com/ubuntu hardy main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu hardy-security main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu hardy-updates main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu hardy-backports main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu hardy-proposed main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu hardy main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu hardy-security main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu hardy-updates main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu hardy-backports main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu hardy-proposed main restricted universe multiverse
4.更新软件包列表。执行下面的命令:
sudo apt-get update

5.安装系统更新
打开“系统->系统管理->更新管理器”,安装更新。完成后若系统提示重新启动,请重新启动系统。

6。安装rt核心(非必须)
ubuntu的默认内核是generic,这个内核其实是比较适合服务器跟笔记本使用的,台式机用户使用2.6.22.14-rt内核性能会更好一点,这个内核的特点是任务抢占式,能大大加快程序之间的启动时间跟切换时间,能降低程序出现“灰屏”停顿的现象,并且用了这个内核后,在compiz下看视频也不在出现花屏的现象。这个内核在新立得搜索“linux-image”就能看到,安装时要安装“linux-imgage-*********-rt”跟“linux-restricted-modules-rt”两个包,原来默认的内核镜像不用删除,安装后重启,grub画面就会多了两个rt的选项,选择第一个就能使用rt内核了

优势:
1。程序启动速度更快 ;
2。“灰屏”几率降低 ;
3。compiz出错几率降低 ;
4。因为cpu的时间片占有率增加,所以理论上你的程序会更有效率一些 ;

劣势:
1。耗电量更大,所以不大推荐用于笔记本上 ;
2。后台服务的cpu时间片减少了,所以不适合于服务器上

喜欢尝试的朋友可以升级一下玩玩。以上的内容(打了颜色的)都是Ubuntu bbs网友分享.系统出现了毛病概不负责!

在终端输入:sudo apt-get install linux-rt;OK以后,重启你的机器,在gurb中选择.......rt即可!

Ubuntu 8.04 安装指南

使用ubuntu,第一个要研究的就是安装问题。

安装方法:
1,在windows中安装ubuntu相对较为简单,放入ubuntu光盘(或者用虚拟光驱加载也行),然后选择使用wubi安装,就是第二个按钮,我没有截图,不好意思。使用wubi安装的好处就是不用理解linux分区,直接一步到位,是初学者最好的入门,我就是这样第一次体验ubuntu的。给一个地址,是安装的详细情况:http://www.cnbeta.com/articles/54698.htm

在使用一断时间的wubi式的ubuntu之后,我选择了自己动手亲自安装。

2,ubuntu最重要的就是/, swap, /boot这三大分区,其实最为初学者,理解home的分区是比较困难的,所以我就选择分这三大分区

/boot分区对应的就是win下的windows文件夹,要至少150MB,为的是以后的linux内核升级之用,我使用的第一主分区,虽然占用的是一个主分区的名额,但是为了稳定就这样做了,我没有在硬盘上保留win,我感觉ubuntu应该能替代win吧。

swap分区对应的就是win下的虚拟内存,我是分了1GB的,我的内存是1G,swap分区使用率是比较少的,据说是linux的内存管理先进。

/对应的就是win下的program文件夹,如果不另外分区,那么这里面就包含了所有剩下的分区了,我嫌分区麻烦,就把剩下的35GB全部分给了他,尽管网上很多人都说不分/home分区很危险,在我还没有搞懂ubuntu之前,这些都是没什么用的。

我是一名ubuntu的初学者,我仅仅是分享一下我自己的经验,有什么错误的地方,请点明,不胜感激。

使用linux上瘾了

没办法了,我使用linux上瘾了,完全沉迷在linux的世界中了,现在我使用的是ubuntu,将要使用的将是openSUSE.org和fedor,看来我的电脑是有的折腾了。

谁能导吾先路?

有很多人在二十岁以前是活在家人的期望和老师的期望当中,背负着很多的压力、包袱在走,自己也不够成熟有能力,因此步履难免不稳。
在二十岁之后,离开了众人的压力,卸下包袱,开始满腔的热血、开始有很多的梦想要完成。
可是工作了二十年后,到了四十岁,发现青春早已过去,不免有遗憾追悔,开始发觉工作不如意,于是就开始抱怨老板、抱怨公司、抱怨社会、抱怨政府.....就在这抱怨中又渡过了二十年。
于是告诉自己、六十岁了,发现人生已所剩不多,没什么好抱怨的了,就珍惜剩下的日子吧!于是默默的走完自己的余年吧。
到了八十岁,快要死掉的前夕,才想起自己好像有什么事还没完成。
原来、他二十岁的梦想还没有完成。
你也是如此吗?想想自己的梦想是什么?最在意的是什么?
不要到了四十年后才来追悔。想一想希望将来的自己和现在有何不同,就去做吧!
把握现在,记得,今天就是礼物。