|
Based on F13-KDE-Live-CD Installation (Lately I cannot install F13 based on F13-KDE-Live-CD...)
- 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) Daily build: [url]http://build.chromium.org/buildbot/snapshots/[/url]
- # For Daily build on Fedora, please refer to: [url]http://code.google.com/p/chromium/issues/detail?id=12562[/url]
- # Links I have FYI:
- [code]
- ./libbz2.so.1.0 -> /lib/libbz2.so.1
- ./libnspr4.so.0d -> /lib/libnspr4.so
- ./libnss3.so.1d -> /usr/lib/libnss3.so
- ./libnssutil3.so.1d -> /usr/lib/libnssutil3.so
- ./libplc4.so.0d -> /lib/libplc4.so
- ./libplds4.so.0d -> /lib/libplds4.so
- ./libsmime3.so.1d -> /usr/lib/libsmime3.so
- ./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- # cat /etc/yum.repos.d/fedora-chromium.repo
- # Place this file in your /etc/yum.repos.d/ directory
- [fedora-chromium]
- name=Chromium web browser and deps
- baseurl=http://repos.fedorapeople.org/repos/spot/chromium/fedora-$releasever/$basearch/
- enabled=1
- gpgcheck=0
- [fedora-chromium-source]
- name=Chromium web browser and deps - Source
- baseurl=http://repos.fedorapeople.org/repos/spot/chromium/fedora-$releasever/SRPMS/
- enabled=0
- gpgcheck=0
- $ sudo yum install -y chromium
复制代码
2. GTK apps on KDE4-
- # The KCM module for this is "kcm_gtk", and you need to intall qtcurve-gtk2(qtcurve-kde4 is for KDE/Qt apps)
- [red] new gtk theme oxygen-gtk is highly recommeneded!!![/red]
- $ cat ~/.gtkrc-2.0-kde4
- include "/usr/share/themes/QtCurve/gtk-2.0/gtkrc"
- #include "/etc/gtk-2.0/gtkrc"
- style "user-font"
- {
- font_name="DejaVu Sans"
- }
- widget_class "*" style "user-font"
- gtk-theme-name="QtCurve"
- gtk-font-name="DejaVu Sans 8"
- gtk-cursor-theme-name="Oxygen_Blue"
- gtk-icon-theme-name = "Oxygen"
- gtk-button-images = 0
- gtk-menu-images = 0
- #gtk-xft-antialias = 1
- #gtk-xft-hinting = 1
- #gtk-xft-hintstyle = "hintsmedium"
复制代码
3. Fonts: (wqy-microhei-fonts is installed by default, we'll use wqy-microhei for xterm)- $ ls /usr/share/fonts/ms-yahei
- msyhbd.ttf msyh.ttf simhei.ttf
- $ sudo cp ~/.fonts.conf /etc/fonts/local.conf
- $ fc-cache
- 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.
- Because:
- [quote]
- The Liberation Fonts are intended to be replacements for the three most
- commonly used fonts on Microsoft systems: Times New Roman, Arial, and Courier
- New.
- [/quote]
- 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 ;)
- SIMHEI.ttf is good, and wine-1.3.16 has tahoma fonts,,, and you can only delete the font files...
- And my $LANG is "en_US.UTF-8"
复制代码
4. uXterm- $ cat ~/.Xresources
- Xcursor.theme: Oxygen_Blue # useful! for cursor theme control for X apps with KDE.
- xterm*loginShell: true
- xterm*scrollBar: true
- xterm*saveline:3000
- xterm*background: gray88
- xterm*cursorColor: blue
- xterm*eightBitInput: false
- xterm*altSendsEscape: true
- xterm.termName: xterm-256color
- xterm.geometry: 80x36
- xterm*loginshell: true
- xterm*foreground: black
- xterm.borderLess: true
- xterm.cursorBlink: true
- xterm*colorUL: yellow
- xterm*colorBD: white
- xterm*printAttributes: 2
- xterm*printerCommand: cat > ~/xtermdump
- xterm*locale: true
- xterm.utf8: true
- xterm*utf8Title: true
- xterm*xftAntialias: true
- xterm*cjkWidth:false
- xterm*faceName: dejavu sans mono:antialias=true:pixelsize=10
- xterm*faceNameDoublesize: wenquanyi micro hei:antialias=true:pixelsize=10 # CN fonts....
- $ cd /usr/share/fonts/wqy-microhei/
- $ sudo mkfontscale
- $ sudo mkfontdir
- $ xrdb -load ~/.Xresources
复制代码
5. Screen for xterm-256colors (~/.screenrc)- # special xterm hardstatus: use the window title.
- termcapinfo xterm-256color 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007' # by default , /etc/screenrc specified with xterm, that's why...
- ###########
- # Start message
- startup_message off
- # Caption line
- caption always "%{= R}[ %{=b b}%-w%{=rb db}%>%n %t%{-}%+w%{-b}%< %=%{R}][%{M}%D %M %d%{G} %c:%s%{R}${S}]"
- # Dynamic title
- shelltitle '$ | bash'
- # Utf-8 handling
- defutf8 on
- # Refresh the display when exiting programs
- altscreen on
复制代码
6. JAVA CN fonts- $ sudo mkdir /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/fonts/fallback
- $ cd /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/fonts/fallback
- $ sudo ln -s /usr/share/fonts/wqy-microhei/wqy-microhei.ttc
- $ sudo mkfontscale
- $ sudo mkfontdir
复制代码
7. RPMFusion- 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- sudo yum install xine-lib-extras-freeworld -y
- sudo yum install xine-ui xine-ui-skins -y
复制代码- 9. For touchpad, please install KCM module "kcm_touchpad", it's cool!
- 10. DONZAP X
- [code]
- # cat /etc/X11/xorg.conf.d/dontzap.conf
- Section "ServerFlags"
- Option "DontZap" "yes"
- EndSection
复制代码
11. PS1- # cat /etc/profile.d/ps1.sh
- case $TERM in
- screen*)
- PATHTITLE='\[\ek\W\e\\\]'
- PROGRAMTITLE='\[\ek\e\\\]'
- #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\$ '
- 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\$ '
- ;;
- xterm*)
- TITLEBAR='\[\e]0;\u@\h:\w\a\]'
- 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\$ '
- ;;
- *)
- ;;
- esac
复制代码 |
|