LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1389|回复: 1

KDE-Fedora 13 Summary

[复制链接]
发表于 2010-6-5 12:58:16 | 显示全部楼层 |阅读模式
Based on F13-KDE-Live-CD Installation (Lately I cannot install F13 based on F13-KDE-Live-CD...)
  1.     Later than chromium-6.0.457.0-1.fc13, remove gtk-xft* configs from gtk config.
复制代码



1. Chromium...
# fonts rendering in firefox and konqueror looks better, change all to ms yahei in the options of Chromium will do.
  1. # 1) Daily build: [url]http://build.chromium.org/buildbot/snapshots/[/url]
  2. # For Daily build on Fedora, please refer to: [url]http://code.google.com/p/chromium/issues/detail?id=12562[/url]
  3. # Links I have FYI:
  4. [code]
  5. ./libbz2.so.1.0 -> /lib/libbz2.so.1
  6. ./libnspr4.so.0d -> /lib/libnspr4.so
  7. ./libnss3.so.1d -> /usr/lib/libnss3.so
  8. ./libnssutil3.so.1d -> /usr/lib/libnssutil3.so
  9. ./libplc4.so.0d -> /lib/libplc4.so
  10. ./libplds4.so.0d -> /lib/libplds4.so
  11. ./libsmime3.so.1d -> /usr/lib/libsmime3.so
  12. ./libssl3.so.1d -> /usr/lib/libssl3.so
复制代码

# 2) Fedora Chromium has been moved: http://fedorapeople.org/~spot/chromium/README.txt
# TO http://repos.fedorapeople.org/repos/spot/chromium/
# Here is the .repo file http://repos.fedorapeople.org/re ... edora-chromium.repo
  1. # cat /etc/yum.repos.d/fedora-chromium.repo
  2. # Place this file in your /etc/yum.repos.d/ directory
  3. [fedora-chromium]
  4. name=Chromium web browser and deps
  5. baseurl=http://repos.fedorapeople.org/repos/spot/chromium/fedora-$releasever/$basearch/
  6. enabled=1
  7. gpgcheck=0
  8. [fedora-chromium-source]
  9. name=Chromium web browser and deps - Source
  10. baseurl=http://repos.fedorapeople.org/repos/spot/chromium/fedora-$releasever/SRPMS/
  11. enabled=0
  12. gpgcheck=0
  13. $ sudo yum install -y chromium
复制代码



2. GTK apps on KDE4
  1. # The KCM module for this is "kcm_gtk", and you need to intall qtcurve-gtk2(qtcurve-kde4 is for KDE/Qt apps)
  2. [red] new gtk theme oxygen-gtk is highly recommeneded!!![/red]
  3. $ cat ~/.gtkrc-2.0-kde4
  4. include "/usr/share/themes/QtCurve/gtk-2.0/gtkrc"
  5. #include "/etc/gtk-2.0/gtkrc"
  6. style "user-font"
  7. {
  8.         font_name="DejaVu Sans"
  9. }
  10. widget_class "*" style "user-font"
  11. gtk-theme-name="QtCurve"
  12. gtk-font-name="DejaVu Sans 8"
  13. gtk-cursor-theme-name="Oxygen_Blue"
  14. gtk-icon-theme-name = "Oxygen"
  15. gtk-button-images = 0
  16. gtk-menu-images = 0
  17. #gtk-xft-antialias = 1
  18. #gtk-xft-hinting = 1
  19. #gtk-xft-hintstyle =  "hintsmedium"
复制代码

3. Fonts: (wqy-microhei-fonts is installed by default, we'll use wqy-microhei for xterm)
  1. $ ls /usr/share/fonts/ms-yahei
  2. msyhbd.ttf  msyh.ttf simhei.ttf
  3. $ sudo cp ~/.fonts.conf /etc/fonts/local.conf
  4. $ fc-cache
  5. For Chinese fonts, I installed MS YaHei, and WQY Micro Hei, and I removed "liberation-fonts-common,liberation-mono-fonts,liberation-sans-fonts,liberation-serif-fonts" to avoid conflicts.
  6. Because:
  7. [quote]
  8. The Liberation Fonts are intended to be replacements for the three most
  9. commonly used fonts on Microsoft systems: Times New Roman, Arial, and Courier
  10. New.
  11. [/quote]
  12. It seems that vlgothic should be removed too. It's JP fonts, and so does K fonts un-cores. Hopfully, MS-Yahei has all CJK chars ;)
  13. SIMHEI.ttf is good, and wine-1.3.16 has tahoma fonts,,, and you can only delete the font files...
  14. And my $LANG is "en_US.UTF-8"
复制代码

4. uXterm
  1. $ cat ~/.Xresources
  2. Xcursor.theme: Oxygen_Blue   #  useful! for cursor theme control for X apps with KDE.
  3. xterm*loginShell: true
  4. xterm*scrollBar: true
  5. xterm*saveline:3000
  6. xterm*background:  gray88
  7. xterm*cursorColor: blue
  8. xterm*eightBitInput: false
  9. xterm*altSendsEscape: true
  10. xterm.termName: xterm-256color
  11. xterm.geometry: 80x36
  12. xterm*loginshell: true
  13. xterm*foreground:  black
  14. xterm.borderLess: true
  15. xterm.cursorBlink: true
  16. xterm*colorUL: yellow
  17. xterm*colorBD: white
  18. xterm*printAttributes: 2
  19. xterm*printerCommand: cat > ~/xtermdump
  20. xterm*locale: true
  21. xterm.utf8:     true
  22. xterm*utf8Title: true
  23. xterm*xftAntialias: true
  24. xterm*cjkWidth:false
  25. xterm*faceName: dejavu sans mono:antialias=true:pixelsize=10
  26. xterm*faceNameDoublesize: wenquanyi micro hei:antialias=true:pixelsize=10     # CN fonts....
  27. $ cd /usr/share/fonts/wqy-microhei/
  28. $ sudo mkfontscale
  29. $ sudo mkfontdir
  30. $ xrdb -load ~/.Xresources
复制代码

5. Screen for xterm-256colors (~/.screenrc)
  1. # special xterm hardstatus: use the window title.
  2. termcapinfo xterm-256color 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'                      # by default , /etc/screenrc specified with xterm, that's why...
  3. ###########
  4. # Start message
  5. startup_message off
  6. # Caption line
  7. caption always "%{= R}[ %{=b b}%-w%{=rb db}%>%n %t%{-}%+w%{-b}%< %=%{R}][%{M}%D %M %d%{G} %c:%s%{R}${S}]"
  8. # Dynamic title
  9. shelltitle '$ | bash'
  10. # Utf-8 handling
  11. defutf8 on
  12. # Refresh the display when exiting programs
  13. altscreen on
复制代码

6. JAVA CN fonts
  1. $ sudo mkdir /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/fonts/fallback
  2. $ cd /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/fonts/fallback
  3. $ sudo ln -s /usr/share/fonts/wqy-microhei/wqy-microhei.ttc
  4. $ sudo mkfontscale
  5. $ sudo mkfontdir
复制代码

7. RPMFusion
  1. su -c 'rpm -Uvh [url]http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm[/url] [url]http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm[/url]'
复制代码

8. Amarok with MP3, and xine-ui
  1. sudo yum install xine-lib-extras-freeworld -y
  2. sudo yum install xine-ui xine-ui-skins -y
复制代码
  1. 9. For touchpad, please install KCM module "kcm_touchpad", it's cool!
  2. 10. DONZAP X
  3. [code]
  4. # cat /etc/X11/xorg.conf.d/dontzap.conf
  5. Section "ServerFlags"
  6.         Option "DontZap" "yes"
  7. EndSection
复制代码

11. PS1
  1. # cat /etc/profile.d/ps1.sh
  2. case $TERM in
  3.     screen*)
  4.         PATHTITLE='\[\ek\W\e\\\]'
  5.         PROGRAMTITLE='\[\ek\e\\\]'
  6.         #export PS1=${PROGRAMTITLE}${PATHTITLE}'\e[32m\u@\h ${MYMSG} \e[35m\! \j \e[31m\D{%a %Y.%m.%d %H:%M:%S %Z} \e[01;34m\w\e[0m\n\$ '
  7.         export PS1='\e[32m\u@\h ${MYMSG} \e[35m\! \j \e[31m\D{%a %Y.%m.%d %H:%M:%S %Z} \e[01;34m\w\e[0m\n\$ '
  8.         ;;
  9.     xterm*)
  10.         TITLEBAR='\[\e]0;\u@\h:\w\a\]'
  11.         export PS1='\e[32m\u@\h ${MYMSG} \e[35m\! \j \e[31m\D{%a %Y.%m.%d %H:%M:%S %Z} \e[01;34m\w\e[0m\n\$ '
  12.         ;;
  13.     *)
  14.         ;;
  15. esac
复制代码
发表于 2010-6-7 15:05:44 | 显示全部楼层
支持,Fedora 13的KDE还不错
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表