[分享]Kubuntu 5.10 安装及美化全过程

各种窗口管理器和美化相关
本院寺老纳
帖子: 106
注册时间: 2005-08-08 3:25
联系:

[分享]Kubuntu 5.10 安装及美化全过程

#1

帖子 本院寺老纳 » 2005-10-26 9:41

安装没有什么好说的,本人的程度连菜鸟都达不到,用的独立的硬盘,完全清空,让Kubuntu自动分区……够懒得吧? :mrgreen: :mrgreen: :mrgreen:
装的时候记得要选择简体中文哦,这样装好以后直接就有了中文环境了。不过为了使字体看起来更顺眼一些,建议准备好几个WIN下的字体:
SimSun
SimHei
MingLiu
Arial
TimesNewRoman
Tahoma

可以放在U盘里备用

第一次进入KDE环境的时候,大家会发现在飞溅屏幕上有很多的黑点,讨嫌!据说是小日本的字体造成的,先把这些干掉!

代码: 全选

sudo mv /usr/share/fonts/truetype/kochi /opt
sudo fc-cache -vf
然后选择K菜单,也就是相当于“开始”键,选择System Settings,然后选择最下面一行倒数第三个,字体安装程序,Add Fonts,把你刚才准备的那几个字体装上去。

找到“区域和辅助功能”,“国家、地区和语言”,添加语言,其他,简体中文,选定就好了。

找到Apearance,先调整GTK Style,选择USE My KDE fonts/styles in GTK applications。

然后找到字体,调整所有字体,我用的是Tahoma 10号。(如果暂时找不到的话就重新起动一下KDE环境)

待续…………
图片
本院寺老纳
帖子: 106
注册时间: 2005-08-08 3:25
联系:

#2

帖子 本院寺老纳 » 2005-10-26 9:42

Kubuntu 5.10 自己是不带Firefox浏览器的,需要自己安装,在安装之前,首先要找出来最快的源

代码: 全选

因为这个时候还没有我喜欢用的Gedit,所以先用NANO

sudo nano /usr/bin/setfastsources

代码: 全选

#添加以下内容
#!/bin/bash
if [ $# != 1 ] | \
[ "$1" != "hoary" -a "$1" != "breezy" ]; then
echo "Use: sudo $0 (hoary|breezy)";
echo "Example: sudo $0 hoary";
exit 1;
fi

if [ !$USER = "root" ]; then
echo "$0 must run by sudo";
exit 1;

fi

echo "Seting $1...";
MIRRORS="http://mirror.isp.net.au/ftp/pub/ubuntu/ \
http://ubuntu.cn99.com/ubuntu/ \
ftp://mirror.isp.net.au/pub/ubuntu/ \
ftp://ftp.filearena.net/pub/ubuntu/ \
http://mirror.optus.net/ubuntu/ \
http://ubuntu.inode.at/ubuntu/ \
ftp://ubuntu.inode.at/ubuntu/ \
http://ubuntu.uni-klu.ac.at/ubuntu/ \
ftp://ftp.uni-klu.ac.at/linux/ubuntu/ \
ftp://gd.tuwien.ac.at/opsys/linux/ubuntu/archive/ \
http://gd.tuwien.ac.at/opsys/linux/ubuntu/archive/ \
http://ftp.belnet.be/pub/mirror/ubuntu.com/ \
ftp://ftp.belnet.be/pub/mirror/ubuntu.com/ \
http://ubuntu.mirrors.skynet.be/pub/ubuntu.com/ \
ftp://ubuntu.mirrors.skynet.be/pub/ubuntu.com/ \
http://mirror.freax.be/ubuntu/archive.ubuntu.com/ \
http://ftp.interlegis.gov.br/pub/ubuntu/archive/ \
http://ubuntu.c3sl.ufpr.br/ubuntu/ \
ftp://ftp.cs.mun.ca/pub/mirror/ubuntu/ \
http://archive.ubuntu.org.cn/ubuntu/ \
http://archive.ubuntu.cz/ubuntu/ \
ftp://archive.ubuntu.cz/ubuntu/ \
http://mirrors.dk.telia.net/ubuntu/ \
ftp://mirrors.dk.telia.net/ubuntu/ \
http://mirrors.dotsrc.org/ubuntu/ \
ftp://mirrors.dotsrc.org/ubuntu/ \
http://klid.dk/homeftp/ubuntu/ \
ftp://klid.dk/ubuntu/ \
http://ubuntu.mirror.mmd.net/ubuntu/ \
ftp://ubuntu.mirror.mmd.net/ubuntu/ \
http://mir1.ovh.net/ubuntu/ubuntu/ \
ftp://mir1.ovh.net/ubuntu/ubuntu/ \
ftp://debian.charite.de/ubuntu/ \
http://debian.charite.de/ubuntu/ \
http://ftp.inf.tu-dresden.de/os/linux/dists/ubuntu/ \
http://www.artfiles.org/ubuntu.com/ \
http://ftp.rz.tu-bs.de/pub/mirror/ubuntu-packages/ \
ftp://ftp.rz.tu-bs.de/pub/mirror/ubuntu-packages/ \
ftp://ftp.join.uni-muenster.de/pub/mirrors/ftp.ubuntu.com/ubuntu/ \
http://ftp.join.uni-muenster.de/pub/mirrors/ftp.ubuntu.com/ubuntu/ \
http://ftp.kfki.hu/linux/ubuntu/ \
ftp://ftp.kfki.hu/pub/linux/ubuntu/ \
ftp://ftp.fsn.hu/pub/linux/distributions/ubuntu/ \
http://komo.vlsm.org/ubuntu/ \
http://kambing.vlsm.org/ubuntu/ \
http://ubuntu.odg.cc/ \
http://ftp.esat.net/mirrors/archive.ubuntu.com/ \
ftp://ftp.esat.net/mirrors/archive.ubuntu.com/ \
http://ftp.heanet.ie/pub/ubuntu/ \
ftp://ftp.heanet.ie/pub/ubuntu/ \
http://ftp.linux.it/ubuntu/ \
ftp://ftp.linux.it/ubuntu/ \
http://na.mirror.garr.it/mirrors/ubuntu-archive/ \
ftp://na.mirror.garr.it/mirrors/ubuntu-archive/ \
http://ubuntu.mithril-linux.org/archives/ \
http://ftp.litnet.lt/pub/ubuntu/ \
ftp://ftp.litnet.lt/pub/ubuntu/ \
ftp://ftp.polytechnic.edu.na/pub/ubuntulinux/ \
ftp://ftp.bit.nl/ubuntu/ \
http://ftp.bit.nl/ubuntu/ \
http://ubuntu.synssans.nl/ \
ftp://ftp.uninett.no/linux/ubuntu/ \
http://ubuntulinux.mainseek.com/ubuntu/ \
ftp://ftp.rnl.ist.utl.pt/ubuntu/ \
http://darkstar.ist.utl.pt/ubuntu/archive/ \
http://ftp.lug.ro/ubuntu/ \
ftp://ftp.lug.ro/ubuntu/ \
http://ftp.roedu.net/mirrors/ubuntu/ \
http://ftp.iasi.roedu.net/mirrors/ubuntu/ \
ftp://ftp.um.es/mirror/ubuntu/ \
ftp://ftp.ubuntu-es.org/ubuntu/ \
http://ftp.acc.umu.se/mirror/ubuntu/ \
ftp://ftp.se.linux.org/pub/Linux/distributions/ubuntu/ \
http://mirror.switch.ch/ftp/mirror/ubuntu/ \
ftp://mirror.switch.ch/mirror/ubuntu/ \
http://apt.nc.hcc.edu.tw/pub/ubuntu/ \
ftp://apt.nc.hcc.edu.tw/pub/ubuntu/ \
ftp://os.nchc.org.tw/ubuntu/ \
ftp://ftp.ee.ncku.edu.tw/pub/ubuntu/ \
http://ubuntu.csie.ntu.edu.tw/ubuntu/ \
http://www.mirrorservice.org/sites/archive.ubuntu.com/ubuntu/ \
ftp://ftp.mirrorservice.org/sites/archive.ubuntu.com/ubuntu/ \
http://ftp.cs.umn.edu/pub/ubuntu/ \
http://mirror.clarkson.edu/pub/distributions/ubuntu/ \
ftp://mirror.clarkson.edu/pub/distributions/ubuntu/ \
http://ubuntu.mirrors.tds.net/ubuntu/ \
ftp://ubuntu.mirrors.tds.net/ubuntu/ \
http://itanix.rutgers.edu/ubuntu/ \
http://www.opensourcemirrors.org/ubuntu/ \
http://ftp.ale.org/pub/mirrors/ubuntu/ \
http://ubuntu.secs.oakland.edu/ \
http://mirror.mcs.anl.gov/pub/ubuntu/ \
ftp://mirror.mcs.anl.gov/pub/ubuntu/ \
http://debian.okey.net/ubuntu/ \
ftp://ftp.sjtu.edu.cn/sites/archive.ubuntu.com/"

TIME="/usr/bin/time -o timer.txt -f %e";
URL="dists/$1/main/binary-i386/Packages.gz";
WGET="wget --cache=off -T 20 -t 1 -w 0 -O /dev/null"
PAYTIME=1000;
TEMPTIME=1000;
SITE="http://cn.archive.ubuntu.com/ubuntu/";
for mirror in $MIRRORS ; do
echo "Testing $mirror..."
TEMPTIME=`$TIME $WGET $mirror$URL`;
if [ "$?" = 0 ] ; then
TEMPTIME=`cat timer.txt`;
echo "wget $1 : $TEMPTIME CurrMinTime : $PAYTIME";
TEMPTIME2=`echo "$PAYTIME > $TEMPTIME"|bc`;
if [ $TEMPTIME2 = 1 ] ; then
PAYTIME="$TEMPTIME";
SITE="$mirror";
echo -e "\033[37;41;1mSet best site ($PAYTIME): $SITE\033[0m"
fi
fi
rm timer.txt;
done
echo "Best site ($PAYTIME): $SITE";
echo "Backup your sources.list."
declare -i num;
num=0;
while [ -e /etc/apt/sources.list.$num ];do
num=$num+1;
done
mv /etc/apt/sources.list /etc/apt/sources.list.$num
COMP="main restricted universe multiverse";
MAINSITE="http://archive.ubuntu.org.cn"
echo "deb $SITE $1 $COMP" > /etc/apt/sources.list

echo "deb $SITE $1-security $COMP" >> /etc/apt/sources.list
echo "deb $SITE $1-updates $COMP" >> /etc/apt/sources.list
if [ $1 = "hoary" ]; then
echo "deb $MAINSITE/ubuntu-cn ubuntu.org.cn $COMP" >> /etc/apt/sources.list
echo "deb $MAINSITE/ubuntu hoary-backports $COMP" >> /etc/apt/sources.list
echo "deb $MAINSITE/backports hoary-extras $COMP" >> /etc/apt/sources.list
fi
echo "Finlish setting sources.list,Run apt-get update now!";
exit 0
Ctrl + O 保存,Ctrl + X 退出

代码: 全选

设置脚本文件为可执行。
sudo chmod +x /usr/bin/setfastsources

执行脚本
sudo setfastsources breezy

注:可以根据自己的情况,只留下几个自己认为速度快的服务器,以减少测试时间
最后 sudo apt-get update 就可以了

待续…………
图片
本院寺老纳
帖子: 106
注册时间: 2005-08-08 3:25
联系:

#3

帖子 本院寺老纳 » 2005-10-26 9:43

装个 gedit 上来

sudo apt-get install gedit

装个 firefox 出来

sudo apt-get install mozilla-firefox

装个 gaim 出来

sudo apt-get install gaim

:mrgreen: :mrgreen: :mrgreen:
再装就要说我灌水了,吼吼,下面开始配置字体。

配置Firefox的菜单字体

代码: 全选

sudo echo 'Xft.dpi: 96' > ~/.Xresources

然后

sudo gedit ~/.mozilla/firefox/****.default/chrome/userChrome.css
其中******要根据你的实际情况来替换,可以 cd ~/.mozilla/firefox 来查看

写入
* {
font-size: 9pt !important;
}
* {
font-family: Tahoma !important;
} 
Firefox的首选项里的字体设置,简体中文通通设置成SimSun就行了,记得分辨率选择96,最小字体怎么也得12葡萄吧?我设置的14,省眼 :mrgreen: :mrgreen:

未完待续…………
图片
本院寺老纳
帖子: 106
注册时间: 2005-08-08 3:25
联系:

#4

帖子 本院寺老纳 » 2005-10-26 9:44

经过一番折腾,大部分网站的字体都正常了,但是访问轩辕春秋文化论坛(http://dx.xycq.net/forum/index.php?)的时候字体十分的难看,于是我们继续,调整 /etc/fonts/fonts.conf

sudo gedit /etc/fonts/fonts.conf

如果你不需要访问日文、韩文网站的话,batang之类的字体就可以从配置文件里的<family>*****</family>删除了。
同样的,把<family>*****</family>中的 AR PL KaitiM GB、AR PL SungtiL GB替换为 SImSun GB,把AR PL KaitiM Big5、AR PL Mingti2L Big5 替换成 MingLiu Big5,保存,退出重新起动KDE环境即可。

附:我的Font配置

代码: 全选

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/fonts.conf file to configure system font access -->
<fontconfig>

<!--
	DO NOT EDIT THIS FILE.
	IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED.
	LOCAL CHANGES BELONG IN 'local.conf'.

	The intent of this standard configuration file is to be adequate for
	most environments.  If you have a reasonably normal environment and
	have found problems with this configuration, they are probably
	things that others will also want fixed.  Please submit any
	problems to the fontconfig bugzilla system located at fontconfig.org

	Note that the normal 'make install' procedure for fontconfig is to
	replace any existing fonts.conf file with the new version.  Place
	any local customizations in local.conf which this file references.

	Keith Packard
-->

<!-- Font directory list -->

	<dir>/usr/share/fonts</dir>
	<dir>/usr/share/X11/fonts</dir> <dir>/usr/local/share/fonts</dir>
	<dir>~/.fonts</dir>

<!--
  Accept deprecated 'mono' alias, replacing it with 'monospace'
-->
	<match target="pattern">
		<test qual="any" name="family">
			<string>mono</string>
		</test>
		<edit name="family" mode="assign">
			<string>monospace</string>
		</edit>
	</match>

<!--
  Accept alternate 'sans serif' spelling, replacing it with 'sans-serif'
-->
	<match target="pattern">
		<test qual="any" name="family">
			<string>sans serif</string>
		</test>
		<edit name="family" mode="assign">
			<string>sans-serif</string>
		</edit>
	</match>

<!--
  Accept deprecated 'sans' alias, replacing it with 'sans-serif'
-->
	<match target="pattern">
		<test qual="any" name="family">
			<string>sans</string>
		</test>
		<edit name="family" mode="assign">
			<string>sans-serif</string>
		</edit>
	</match>

<!--
  Mark common families with their generics so we'll get
  something reasonable
-->

<!--
  Serif faces
 -->
	<alias>
		<family>Bitstream Vera Serif</family>
		<family>Times New Roman</family>
		<family>Thorndale AMT</family>
		<family>Times</family>
		<family>Nimbus Roman No9 L</family>
		<family>Luxi Serif</family>
		<family>SimSun GB</family>
		<family>MingLiu Big5</family>
		<family>FreeSerif</family>
		<family>MgOpen Canonica</family>
		<default><family>serif</family></default>
	</alias>
<!--
  Sans-serif faces
 -->
	<alias>
		<family>Bitstream Vera Sans</family>
		<family>Helvetica</family>
		<family>Arial</family>
		<family>Verdana</family>
		<family>Albany AMT</family>
		<family>Nimbus Sans L</family>
		<family>Luxi Sans</family>
		<family>SimSun GB</family>
		<family>MingLiu Big5</family>
		<family>SimSun</family>
		<family>FreeSans</family>
		<family>MgOpen Moderna</family>
		<default><family>sans-serif</family></default>
	</alias>
<!--
  Monospace faces
 -->
 	<alias>
		<family>Bitstream Vera Sans Mono</family>
		<family>Courier</family>
		<family>Courier New</family>
		<family>Andale Mono</family>
		<family>Luxi Mono</family>
		<family>Cumberland AMT</family>
		<family>Nimbus Mono L</family>
		<family>NSimSun</family>
		<family>FreeMono</family>
		<default><family>monospace</family></default>
	</alias>
<!--
  If the font still has no generic name, add sans-serif
 -->
	<match target="pattern">
		<test qual="all" name="family" compare="not_eq">
			<string>sans-serif</string>
		</test>
		<test qual="all" name="family" compare="not_eq">
			<string>serif</string>
		</test>
		<test qual="all" name="family" compare="not_eq">
			<string>monospace</string>
		</test>
		<edit name="family" mode="append_last">
			<string>sans-serif</string>
		</edit>
	</match>

<!--
 AMT provides metric and shape compatible fonts for these three web font
 families.
 -->
 	<alias>
		<family>Times New Roman</family>
		<accept><family>Thorndale AMT</family></accept>
	</alias>
 	<alias>
		<family>Arial</family>
		<accept><family>Albany AMT</family></accept>
	</alias>
 	<alias>
		<family>Courier New</family>
		<accept><family>Cumberland AMT</family></accept>
	</alias>
 
<!--
  Some Asian fonts misadvertise themselves as monospaced when
  in fact they are dual-spaced (half and full).  This makes
  FreeType very confused as it forces all widths to match.
  Undo this magic by disabling the width forcing code -->
	<match target="font">
		<test name="family"><string>GulimChe</string></test>
		<edit name="globaladvance"><bool>false</bool></edit>
	</match>

	<match target="font">
		<test name="family"><string>DotumChe</string></test>
		<edit name="globaladvance"><bool>false</bool></edit>
	</match>

	<match target="font">
		<test name="family"><string>BatangChe</string></test>
		<edit name="globaladvance"><bool>false</bool></edit>
	</match>

	<match target="font">
		<test name="family"><string>GungsuhChe</string></test>
		<edit name="globaladvance"><bool>false</bool></edit>
	</match>

<!-- 
	The Bitstream Vera fonts have GASP entries suggesting that hinting be
	disabled below 8 ppem, but FreeType ignores those, preferring to use
	the data found in the instructed hints.  The initial Vera release
	didn't include the right instructions in the 'prep' table. Fix this
	by disabling hinting manually at smaller sizes (< 8ppem)
 -->

	<match target="font">
		<test name="family">
			<string>Bitstream Vera Sans</string>
		</test>
		<test name="pixelsize" compare="less">
			<double>7.5</double>
		</test>
		<edit name="hinting">
			<bool>false</bool>
		</edit>
	</match>

	<match target="font">
		<test name="family">
			<string>Bitstream Vera Serif</string>
		</test>
		<test name="pixelsize" compare="less">
			<double>7.5</double>
		</test>
		<edit name="hinting">
			<bool>false</bool>
		</edit>
	</match>

	<match target="font">
		<test name="family">
			<string>Bitstream Vera Sans Mono</string>
		</test>
		<test name="pixelsize" compare="less">
			<double>7.5</double>
		</test>
		<edit name="hinting">
			<bool>false</bool>
		</edit>
	</match>

<!--
  Load per-user customization file
-->
	<include ignore_missing="yes">~/.fonts.conf</include>

<!--
  Load local system customization file
-->
	<include ignore_missing="yes">conf.d</include>
	<include ignore_missing="yes">local.conf</include>

<!--
  Provide required aliases for standard names
-->
	<alias>
		<family>serif</family>
		<prefer>
			<family>Bitstream Vera Serif</family>
			<family>Times New Roman</family>
			<family>Thorndale AMT</family>
			<family>Luxi Serif</family>
			<family>Nimbus Roman No9 L</family>
			<family>Times</family>
			<family>Frank Ruehl</family>
			<family>FreeSerif</family>
			<family>MgOpen Canonica</family>
			<family>SimSun GB</family>
			<family>MingLiu Big5</family>
		</prefer>
	</alias>
	<alias>
		<family>sans-serif</family>
		<prefer>
			<family>Bitstream Vera Sans</family>
			<family>Verdana</family>
			<family>Arial</family>
			<family>Albany AMT</family>
			<family>Luxi Sans</family>
			<family>Nimbus Sans L</family>
			<family>Helvetica</family>
			<family>Nachlieli</family>
			<family>FreeSans</family>
			<family>MgOpen Moderna</family>
			<family>SimSun GB</family>
			<family>MingLiu Big5</family>
			<family>SimSun</family>
		</prefer>
	</alias>
	<alias>
		<family>monospace</family>
		<prefer>
			<family>Bitstream Vera Sans Mono</family>
			<family>Andale Mono</family>
			<family>Courier New</family>
			<family>Cumberland AMT</family>
			<family>Luxi Mono</family>
			<family>Nimbus Mono L</family>
			<family>Courier</family>
			<family>Miriam Mono</family>
			<family>FreeMono</family>
			<family>SimSun GB</family>
		</prefer>
	</alias>

<!-- 
 Artificial oblique for fonts without an italic or oblique version
 -->
 
	<match target="font">
		<!-- check to see if the font is roman -->
		<test name="slant">
			<const>roman</const>
		</test>
		<!-- check to see if the pattern requested non-roman -->
		<test target="pattern" name="slant" compare="not_eq">
			<const>roman</const>
		</test>
		<!-- multiply the matrix to slant the font -->
		<edit name="matrix" mode="assign">
			<times>
				<name>matrix</name>
				<matrix><double>1</double><double>0.2</double>
					<double>0</double><double>1</double>
				</matrix>
			</times>
		</edit>
		<!-- pretend the font is oblique now -->
		<edit name="slant" mode="assign">
			<const>oblique</const>
		</edit>
	</match>

<!--
 Synthetic emboldening for fonts that do not have bold face available
 -->

	<match target="font">
		<!-- check to see if the font is just regular -->
		<test name="weight" compare="less_eq">
			<int>100</int>
		</test>
		<!-- check to see if the pattern requests bold -->
		<test target="pattern" name="weight" compare="more_eq">
			<int>200</int>
		</test>
		<!-- set the embolden flag -->
		<edit name="embolden" mode="assign">
			<bool>true</bool>
		</edit>
	</match>


	<config>
<!--
  These are the default Unicode chars that are expected to be blank
  in fonts.  All other blank chars are assumed to be broken and
  won't appear in the resulting charsets
 -->
		<blank>
			<int>0x0020</int>	<!-- SPACE -->
			<int>0x00A0</int>	<!-- NO-BREAK SPACE -->
			<int>0x00AD</int>	<!-- SOFT HYPHEN -->
			<int>0x034F</int>	<!-- COMBINING GRAPHEME JOINER -->
			<int>0x0600</int>	<!-- ARABIC NUMBER SIGN -->
			<int>0x0601</int>	<!-- ARABIC SIGN SANAH -->
			<int>0x0602</int>	<!-- ARABIC FOOTNOTE MARKER -->
			<int>0x0603</int>	<!-- ARABIC SIGN SAFHA -->
			<int>0x06DD</int>	<!-- ARABIC END OF AYAH -->
			<int>0x070F</int>	<!-- SYRIAC ABBREVIATION MARK -->
			<int>0x115F</int>	<!-- HANGUL CHOSEONG FILLER -->
			<int>0x1160</int>	<!-- HANGUL JUNGSEONG FILLER -->
			<int>0x1680</int>	<!-- OGHAM SPACE MARK -->
			<int>0x17B4</int>	<!-- KHMER VOWEL INHERENT AQ -->
			<int>0x17B5</int>	<!-- KHMER VOWEL INHERENT AA -->
			<int>0x180E</int>	<!-- MONGOLIAN VOWEL SEPARATOR -->
			<int>0x2000</int>	<!-- EN QUAD -->
			<int>0x2001</int>	<!-- EM QUAD -->
			<int>0x2002</int>	<!-- EN SPACE -->
			<int>0x2003</int>	<!-- EM SPACE -->
			<int>0x2004</int>	<!-- THREE-PER-EM SPACE -->
			<int>0x2005</int>	<!-- FOUR-PER-EM SPACE -->
			<int>0x2006</int>	<!-- SIX-PER-EM SPACE -->
			<int>0x2007</int>	<!-- FIGURE SPACE -->
			<int>0x2008</int>	<!-- PUNCTUATION SPACE -->
			<int>0x2009</int>	<!-- THIN SPACE -->
			<int>0x200A</int>	<!-- HAIR SPACE -->
			<int>0x200B</int>	<!-- ZERO WIDTH SPACE -->
			<int>0x200C</int>	<!-- ZERO WIDTH NON-JOINER -->
			<int>0x200D</int>	<!-- ZERO WIDTH JOINER -->
			<int>0x200E</int>	<!-- LEFT-TO-RIGHT MARK -->
			<int>0x200F</int>	<!-- RIGHT-TO-LEFT MARK -->
			<int>0x2028</int>	<!-- LINE SEPARATOR -->
			<int>0x2029</int>	<!-- PARAGRAPH SEPARATOR -->
			<int>0x202A</int>	<!-- LEFT-TO-RIGHT EMBEDDING -->
			<int>0x202B</int>	<!-- RIGHT-TO-LEFT EMBEDDING -->
			<int>0x202C</int>	<!-- POP DIRECTIONAL FORMATTING -->
			<int>0x202D</int>	<!-- LEFT-TO-RIGHT OVERRIDE -->
			<int>0x202E</int>	<!-- RIGHT-TO-LEFT OVERRIDE -->
			<int>0x202F</int>	<!-- NARROW NO-BREAK SPACE -->
			<int>0x205F</int>	<!-- MEDIUM MATHEMATICAL SPACE -->
			<int>0x2060</int>	<!-- WORD JOINER -->
			<int>0x2061</int>	<!-- FUNCTION APPLICATION -->
			<int>0x2062</int>	<!-- INVISIBLE TIMES -->
			<int>0x2063</int>	<!-- INVISIBLE SEPARATOR -->
			<int>0x206A</int>	<!-- INHIBIT SYMMETRIC SWAPPING -->
			<int>0x206B</int>	<!-- ACTIVATE SYMMETRIC SWAPPING -->
			<int>0x206C</int>	<!-- INHIBIT ARABIC FORM SHAPING -->
			<int>0x206D</int>	<!-- ACTIVATE ARABIC FORM SHAPING -->
			<int>0x206E</int>	<!-- NATIONAL DIGIT SHAPES -->
			<int>0x206F</int>	<!-- NOMINAL DIGIT SHAPES -->
			<int>0x3000</int>	<!-- IDEOGRAPHIC SPACE -->
			<int>0x3164</int>	<!-- HANGUL FILLER -->
			<int>0xFEFF</int>	<!-- ZERO WIDTH NO-BREAK SPACE -->
			<int>0xFFA0</int>	<!-- HALFWIDTH HANGUL FILLER -->
			<int>0xFFF9</int>	<!-- INTERLINEAR ANNOTATION ANCHOR -->
			<int>0xFFFA</int>	<!-- INTERLINEAR ANNOTATION SEPARATOR -->
			<int>0xFFFB</int>	<!-- INTERLINEAR ANNOTATION TERMINATOR -->
		</blank>
<!--
  Rescan configuration every 30 seconds when FcFontSetList is called
 -->
		<rescan>
			<int>30</int>
		</rescan>
	</config>

</fontconfig>

图片
本院寺老纳
帖子: 106
注册时间: 2005-08-08 3:25
联系:

#5

帖子 本院寺老纳 » 2005-10-26 9:45

装输入法,我用的是Fcitx,

代码: 全选

sudo apt-get install fcitx
sudo sh -c " echo 'export XMODIFIERS=@im=fcitx ; export GTK_IM_MODULE="fcitx" ; fcitx ' > /etc/X11/Xsession.d/95xinput "
sudo chmod +755 /etc/X11/Xsession.d/95xinput
这个也要重新起动KDE才能有效的。

给 Gaim 加个QQ插件,到 sourceforge 下载一个
http://prdownloads.sourceforge.net/open ... m?download

由于下载的包是rpm的,所以我们现在需要装一个Alien

代码: 全选

sudo apt-get install alien
sudo alien gaim-openq-0.3.2-1.2.0.rh9.i386.rpm
dpkg -i gaim-openq_0.3.2-2.2_i386.deb
再次打开Gaim,就有QQ可以用了 :mrgreen: :mrgreen: :mrgreen:

安装totem电影播放器,这个比Real效果好,但是CPU占用也高
sudo apt-get install totem-xine

安装一系列解码器:
先增加源:

代码: 全选

sudo gedit /etc/apt/sources.list

直接在你目前的源后面添加

## mirror provided thanks to OVH http://ovh.com
deb http://antesis.freecontrib.org/mirrors/ubuntu/plf/ breezy free non-free
deb-src http://antesis.freecontrib.org/mirrors/ubuntu/plf/ breezy free non-free

保存

sudo apt-get update
sudo apt-get install libdvdcss2 w32codecs sun-j2re1.5
安装RealPlayer,虽说源里面有,可是版本太老,自己安装,到real主页下载Linux的Bin文件

代码: 全选

sudo apt-get install libstdc++5 

然后 

chmod a+x RealPlayer10GOLD.bin 
sudo ./RealPlayer10GOLD.bin
未完待续……
图片
本院寺老纳
帖子: 106
注册时间: 2005-08-08 3:25
联系:

#6

帖子 本院寺老纳 » 2005-10-26 9:45

安装及配置Opera,

到Opera网站上下载最新的包(稳定版,非测试),然后

sudo dpkg -i opera_8.50-20050916.6-shared-qt_en_etch_i386.deb
sudo gedit /usr/share/applications/opera.desktop

加入

代码: 全选

[Desktop Entry] 
Encoding=UTF-8 
Name=Opera Web Browser 
GenericName=Web Browser 
Comment=Surf the Internet in a safer, faster, and easier way 
Exec=opera %u 
Terminal=false 
MultipleArgs=true 
Type=Application 
Icon=/usr/X11R6/include/X11/bitmaps/opera.xpm 
Categories=Application;Network 
MimeType=text/html;image/gif;image/jpeg;image/png
保存,然后

保存,然后
mkdir ~/.opera
gedit ~/.opera/filehandler.ini

写入

代码: 全选

Opera Preferences version 2.0 
; Do not edit this file while Opera is running 
; This file is stored in UTF-8 encoding 
[Settings] 
Default File Handler=gnome-open exec,1 
Default Directory Handler=gnome-open exec,1
完成,开始菜单中就有了Opera在互联网里面了

最后一个搞定的:Skype,这个是在Skype的论坛上面搞定的……
到Skype网站下载最新的包

Download the deb package. Check the error message with an ordinary install
and if the only thing it is complaining about is libqt3c102-mt then the
following command will make it install:

sudo dpkg --ignore-depends=libqt3c102-mt -i skype_1.2.0.17-1_i386.deb

这样就不会出现我的libqt高于Skype的要求,却说找不到的尴尬局面了。

搞定,睡觉!!
图片
本院寺老纳
帖子: 106
注册时间: 2005-08-08 3:25
联系:

#7

帖子 本院寺老纳 » 2005-10-26 9:46

有一点大家要千万注意,没事儿干的时候不要老是手痒痒去试其他的桌面环境比如Gnome或者Xfce,我每次安装多桌面了以后都会出问题,不论是Ubuntu下面装了KDE或者是Kubuntu下面装了Xfce,只要一装,一切换,下次肯定进不去X了,为此我已经重装了N次了……………………
图片
头像
DarkEyes
帖子: 549
注册时间: 2005-07-01 13:09
来自: 广西南宁

#8

帖子 DarkEyes » 2005-10-26 10:29

兄弟不错。赞:)
最新座驾:帕萨特1.8T御尊版
头像
freeflying
帖子: 521
注册时间: 2005-03-26 9:38

#9

帖子 freeflying » 2005-10-26 15:06

kde的桌面里居然用了这么多的gtk程序?
yongyi
帖子: 3025
注册时间: 2005-05-07 23:57
联系:

#10

帖子 yongyi » 2005-10-26 18:21

感觉换过来,装gnome然后拉些KDE程序还好:)
还有,安装多桌面或窗口管理器,与进不了X关系不大。
独自看一看大海
总想起身边走在路上的朋友
Lenovo E290-420[Celeron-M420/256M/60G/Intel GMA950]
本院寺老纳
帖子: 106
注册时间: 2005-08-08 3:25
联系:

#11

帖子 本院寺老纳 » 2005-10-26 18:42

freeflying 写了:kde的桌面里居然用了这么多的gtk程序?
呵呵,本人的水平连Linux菜鸟都达不到,也是昨天才搞清楚GTK和QT的区别,不过偏爱蓝颜色,所以选择KDE用。很多程序都是习惯性使用的,也不想改了,就这样吧

:D :D :D
图片
本院寺老纳
帖子: 106
注册时间: 2005-08-08 3:25
联系:

#12

帖子 本院寺老纳 » 2005-10-26 18:48

yongyi 写了:感觉换过来,装gnome然后拉些KDE程序还好:)
还有,安装多桌面或窗口管理器,与进不了X关系不大。
我也不知道有没有关系,反正每次崩溃都是装别的桌面闹得 :shock: :shock: :shock:
图片
三翻领
帖子: 310
注册时间: 2005-10-15 18:20
联系:

#13

帖子 三翻领 » 2005-10-30 19:48

楼主,顶。firefox上的就不顶了
pluskid
帖子: 142
注册时间: 2005-11-05 23:18

#14

帖子 pluskid » 2005-11-10 20:11

我经常切换KDE和Gnome倒是没有出什么问题。
头像
ahtian928
帖子: 68
注册时间: 2005-10-01 11:56

#15

帖子 ahtian928 » 2005-11-13 13:31

要拷贝大段大段的代码 唉...
回复