dd if=<.img file> of=/dev/disk2 bs=1m
原帖由 lsstarboy 于 2009-1-30 22:05 发表
是个好办法,等会儿试试。正在kde3下安装kde4下的edu包。就是把系统搞得太大的,6G的/usr还不够用。
还有一个请教杜比兄:在pcbsd下fcitx不能用,只能在终端下使用,终端还不能设置默认编码为:gb ...
原帖由 lsstarboy 于 2009-1-30 22:25 发表
谢谢!没注意到.xprofile,我把变量设置在.cshrc里了,桌面启动后在终端里看应该也是正确的。等升级完后切换到PC-BSD试试。试完后再发结果。
还有一个问题,用gnome打底怎么样?速度会不会快点?
Okay I managed to solve all problems, let's start documenting!
Whatever I write below was tested on PCBSD v1.2 after applying antik's kernel patch which can be found here (unless antik removed the link). The patch is discussed here
KDE version is 3.5.3
%uname -a
FreeBSD PCBSD.localhost 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #0: Mon Aug 7 11:26:03 EEST 2006 root@PCBSD.localhost:/usr/obj/usr/src/sys/PCBSDv1.3B i386
So if you want to have greek support in PCBSD do the following:
a) Update ports (portsnap or through GUI)
b) Install greek support for KDE (you have to become root first)
Code:
# cd /usr/ports/misc/kde3-i18n-el && make install clean
c) Change the default language to Greek
(Settings/Region&Accessibility/Country&Language).
Fonts appear really ugly at this point.
NOTE: All menus turn to Greek equivalents at this point. I continue using the English menu names just for the sake of portability to other languages.
d) Change fonts to Dejavu Sans (it supports UTF-8 )
(Settings/Appearence&Themes/Fonts)
and in Konqueror (Settings/Konqueror Settings/Appearence).
Also in Konqueror (Settings/Konqueror Settings/Fonts) change everything
to Dejavu Sans and default encoding ISO8859-7
e) Edit the file .login_conf (located inside home folder, make sure you select show hidden files in Konqueror ) Use your favorite editor, or type this at the Konsole.
Code:
% ee ~/.login_conf
Add these lines as you see them:
Code:
me:\
:charset=iso-8859-7:\
:lang=el_GR.UTF-8:
This will make all files and folders with greek names appear correctly.
Tested with Samba shares as well.
f) Log out. Log in.
g) Open Konsole and type this:
Code:
% locale
You should get the following:
Code:
%locale
LANG=el_GR.UTF-8
LC_CTYPE="el_GR.UTF-8"
LC_COLLATE="el_GR.UTF-8"
LC_TIME="el_GR.UTF-8"
LC_NUMERIC="el_GR.UTF-8"
LC_MONETARY="el_GR.UTF-8"
LC_MESSAGES="el_GR.UTF-8"
LC_ALL=
%
h) Since the root account is used for advanced configuration in KDE we have to make some changes to the root profile as well. The first change is to become root, create a .login_conf inside the /root folder and do step (e) again.
The second change is to copy the entire .kde folder of the local user into the /root folder overwriting the existant folder (it's ugly but it worked for me).
This fixes several instances where you have to change KDE settings as the root account (the system asks for the password at such points) and greek fonts turn into goat-scrap.
i) Enjoy!
kde4做桌面基础环境,目前看是非常稳定的,kde4变化更多的是在上层应用软件上,所以系统可以用kde4打底,然后按需安装kde3组件和应用程序,这样系统就不会太大了
欢迎光临 Chinaunix (http://bbs.chinaunix.net/) | Powered by Discuz! X3.2 |