- 论坛徽章:
- 0
|
本文参考了linuxsir.com和linuxfans.org的文章,经本人亲自测试通过,安装包下载地址为http://xiaolaotou.com/myweb/software/mykde.rar
[安装环境]
Red Hat8.0
选择安装KDE
安装时需要选择KDE Software Development,否则无法正常编译
所有安装软件都存放在xiedm用户目录中
[需要安装的文件]
mosfet-liquid0.9.5.tar.gz (Liquid 0.9.5 KDE3桌面主题)
fonts.dir (已做好的字体配置文件)
redhat8.tar.gz (字体自动配置程序)
gtkrc.zh_CN (定义zh字体设置的配置文件)
crystal_icons.tar (Contectiva Crystal 0.85图标)
acqua_v2.0 (acqua_v2.0窗口装饰)
字体文件:simsun.ttf、tahoma.ttf (可从windows系统获得)
phoenix-0.5-i686-pc-linux-gnu-zhCN.tar.gz (linux下极好的浏览器,对中文和flash的支持非常好,可在linuxfans.org找到)
[安装过程]
[step 1:编译和安装liquid桌面主题]
tar zxvf mosfet-liquid0.9.5.tar.gz
cd mosfet-liquid0.9.5
./configure
make
make install
mkdir /usr/share/applnk
cp /usr/local/kde/share/applnk/Settings/LookNFeel/liquid.desktop /usr/share/applnk/
cp /usr/local/kde/share/apps/kdisplay/color-schemes/Liquid.kcsrc /usr/share/apps/kdisplay/color-schemes/
cp -r /usr/local/kde/share/apps/ksplash/pics /usr/share/apps/ksplash/
cp /usr/local/kde/share/apps/kstyle/themes/liquid.themerc /usr/share/apps/kstyle/themes/
cp /usr/local/kde/share/apps/kwin/* /usr/share/apps/kwin/
cp -r /usr/local/kde/lib/* /usr/lib/
cp -r /usr/local/kde/lib/kde3/* /usr/lib/kde3/
cp -r /usr/local/kde/lib/kde3/plugins/styles /usr/lib/kde3/plugins/
[step 2:进入X-window选择相应主题]
开始->;首选项->;感观->;风格->;选择High Performance Liquid
[step 3:拷贝字体文件到相应目录]
cd /usr
mkdir system
cd system
mkdir fonts truetype
#simsun.ttf /*如果是simsun.ttc改名成simsun.ttf*/
#tahoma.ttf
cp ~xiedm/*.TTF /usr/system/fonts/
cd /usr/system/fonts/
/*我认为应该把文件名都改为小写*/
ls | awk '{print "mv ",$1," `dirname ",$1,"`/`basename ",$1," | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`"}'|sh
cp *.ttf /usr/system/truetype/
cp ~xiedm/fonts.dir /usr/system/truetype
cp /usr/system/truetype/fonts.dir /usr/system/truetype/fonts.scale
[step 4:执行自动配置程序]
cd ~xiedm
tar zxvf redhat8.tar.gz
cd xft2-test-fans/
chmod +x install.sh
./install.sh
[step 5:进入X-window,修改配置文件]
cp ~xiedm/gtkrc.zh_CN /etc/gtk/
/*我是用vmware虚拟的linux,所以配置文件名称为XF86Config-4.vm*/
vi /etc/X11/XF86Config-4.vm
/* 添加并修改 XF86Config-4.vm */
Load "xtt"
/* 注释Load "freetype" */
#Load "freetype"
/* 添加字体搜索路径 */
FontPath "/usr/system/truetype/"
/* 保存退出 */
fc-cache -f
qtconfig
/* 在Fonts那个tab中激活Xft和Anti-Aliasing.然后选择菜单中的File->;save */
/* 退出X,重新进入 */
#控制中心,将字体选择为Tahoma 12,等宽字体选择为SimSun 12(根据自己的分辨率调整,全部用SimSum也不错)
cd /usr/share/apps/kdisplay/color-schemes
[step 5:调整窗体效果]
vi Acqua++.kcsrc
/* 编辑 Acqua++.kcsrc */
Name=Acqua++
activeBackground=56,88,165
activeBlend=62,145,235
activeForeground=0,0,0
activeTitleBtnBg=220,220,220
alternateBackground=238,246,255
background=234,233,232
buttonBackground=169,209,255
buttonForeground=0,0,0
contrast=7
foreground=0,0,0
inactiveBackground=175,214,255
inactiveBlend=175,214,255
inactiveForeground=128,128,128
inactiveTitleBtnBg=220,220,220
linkColor=0,0,192
selectBackground=169,209,255
selectForeground=3,3,3
visitedLinkColor=128,0,128
windowBackground=255,255,255
windowForeground=0,0,0
/* 保存退出 */
cd ~xiedm
tar xvzf acqua_v2.0.tgz
cd kwinacqua_mod/
./configure
make
make install
cp /usr/local/kde/share/apps/kwin/acqua.desktop /usr/share/apps/kwin/
cp /usr/local/kde/lib/kde2/* /usr/lib/kde3/
/* 打开KDE控制中心,选择外观->;窗口装饰->;Acqua,应用 */
cd ~xiedm
tar zxvf crystal_icons.tar.gz
cp -r crystal /usr/share/icons/
/* 打开KDE控制中心,选择外观->;图标->;Contectiva Crystal 0.85,应用 */
[step 6:安装凤凰浏览器]
cd ~xiedm
tar zxvf phoenix-0.5-i686-pc-linux-gnu-zhCN.tar.gz -C /usr/local
/usr/local/phoenix/phoenix &
/* 选择工具->;首选项->;字体和颜色->;语言编码选为简体中文,除了比例字体不改以外,其它字体都设为simsun,最小字体大小调为12 */
附图:http://xiaolaotou.com/myweb/images/snapshot1.png |
|