当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 19 篇帖子 ]  前往页数 1, 2  下一页
作者 内容
1 楼 
 文章标题 : [原创]我的安装配置
帖子发表于 : 2008-04-21 19:36 

注册: 2007-04-06 21:52
帖子: 34
送出感谢: 0 次
接收感谢: 0 次
我的ubuntu~~


最后由 xuxin 编辑于 2008-04-28 19:56,总共编辑了 8 次

页首
 用户资料  
 
2 楼 
 文章标题 : 通过livecd安装系统
帖子发表于 : 2008-04-21 19:39 

注册: 2007-04-06 21:52
帖子: 34
送出感谢: 0 次
接收感谢: 0 次
光盘安装:next to the end


硬盘安装

引用:
1.首先下载必要的Ubuntu 8.04 ISO文件,存放在C盘的根目录下;

2.下载GrubForDos,将grldr和grub.exe放入C盘根目录;

3.在C盘根目录新建一个 menu.lst文件,写入如下内容:

title Install Ubuntu
find --set-root /Ubuntu-8.04-desktop-i386.iso
kernel /vmlinuz boot=casper find_iso=/Ubuntu-8.04-desktop-i386.iso noapic
initrd /initrd.gz

注意那个noapic,因为AMD CPU的原因,加入noapic,否则会有kernel panic.

3.使用虚拟光驱类软件,复制 Casper和 .disk两个目录到C盘根目录;

4.复制Ubuntu 8.04 ISO里Casper目录中的vmlinuz和initrd.gz文件到C盘根目录;

5.修改C盘根目录下的boot.ini文件,在文件末尾加入下面代码:

C:\grldr="Install"

6.重新启动,在启动菜单处,选择Grub,然后再选择Install Ubuntu就可以开始安装了。


最后由 xuxin 编辑于 2008-04-28 20:04,总共编辑了 3 次

页首
 用户资料  
 
3 楼 
 文章标题 : 安装常用软件
帖子发表于 : 2008-04-21 19:46 

注册: 2007-04-06 21:52
帖子: 34
送出感谢: 0 次
接收感谢: 0 次
引用:
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
sudo gedit /etc/apt/sources.list
sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list
sudo apt-get install medibuntu-keyring
wget -q https://dl-ssl.google.com/linux/linux_signing_key.pub -O- | sudo apt-key add -
sudo apt-get update -y
sudo apt-get dist-upgrade -y
sudo apt-get install flashplugin-nonfree -y
sudo apt-get remove totem-gstreamer -y
sudo apt-get install totem totem-xine totem-mozilla totem-plugins-extra -y
sudo apt-get install libxine1-ffmpeg libxine1-all-plugins libxine1-plugins w32codecs gcc-3.3-base libstdc++5
sudo apt-get install gstreamer0.10-ffmpeg gstreamer0.10-pitfdll gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse gstreamer0.10-esd
sudo apt-get install libdvdnav4 libdvdread3 libdvdcss2
sudo apt-get install mplayer mplayer-fonts mozilla-mplayer -y
sudo apt-get install smplayer smplayer-themes -y
sudo apt-get install gstreamer0.10-fluendo-mpegdemux gstreamer0.10-gnonlin
sudo apt-get install xpdf-chinese-simplified xpdf-chinese-traditional poppler-data
sudo apt-get install audacious -y
sudo apt-get install audacious-plugins audacious-plugins-extra -y
sudo apt-get install sun-java6-jre -y
sudo apt-get install sun-java6-plugin -y
sudo apt-get install rar unrar p7zip-full cabextract -y
sudo apt-get install google-desktop-linux -y
sudo apt-get install stardict -y
sudo apt-get install ipod -y
sudo apt-get install nautilus-open-terminal
sudo apt-get install nautilus-gksu -y
sudo apt-get install build-essential autoconf automake1.9 cvs subversion
sudo apt-get install ubuntu-tweak
sudo apt-get update
sudo apt-get upgrade
sudo apt-get autoclean
sudo apt-get autoremove



其中sources.list内容


引用:
deb http://ubuntu.cn99.com/ubuntu/ hardy main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ hardy-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ hardy-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ hardy-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ hardy main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ hardy-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ hardy-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ hardy-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ hardy-backports main restricted universe multiverse

#ubuntu-tweak
deb http://ppa.launchpad.net/tualatrix/ubuntu hardy main
deb-src http://ppa.launchpad.net/tualatrix/ubuntu hardy main
#awn-testing&extra
deb http://ppa.launchpad.net/awn-testing/ubuntu hardy main
deb-src http://ppa.launchpad.net/awn-testing/ubuntu hardy main
deb http://ppa.launchpad.net/awn-extras/ubuntu hardy main
deb-src http://ppa.launchpad.net/awn-extras/ubuntu hardy main

#google
deb http://dl.google.com/linux/deb/ stable non-free

deb http://tw.archive.ubuntu.com/ubuntu hardy main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu hardy-security main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu hardy-updates main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu hardy-backports main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu hardy-proposed main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu hardy main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu hardy-security main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu hardy-updates main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu hardy-backports main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu hardy-proposed main restricted universe multiverse



安装升级完成查看ubuntu版本:
引用:
cat /etc/issue
或者:
sudo lsb_release -a


最后由 xuxin 编辑于 2008-05-13 10:40,总共编辑了 9 次

页首
 用户资料  
 
4 楼 
 文章标题 : 安装显卡驱动
帖子发表于 : 2008-04-21 19:55 

注册: 2007-04-06 21:52
帖子: 34
送出感谢: 0 次
接收感谢: 0 次
重新启动系统

安装ati驱动

引用:
sudo sh ati-driver-installer-8-4-x86.x86_64.run

sudo aticonfig --initial

sudo reboot



重启电脑

测试驱动是否安装
引用:


fglrxinfo
fgl_glxgears
glxinfo |grep -e 'direct' -e 'OpenGL'
glxinfo |grep render
glxinfo |head
Xorg -version


最后由 xuxin 编辑于 2008-04-29 7:51,总共编辑了 2 次

页首
 用户资料  
 
5 楼 
 文章标题 : 中文环境及输入法
帖子发表于 : 2008-04-21 20:02 

注册: 2007-04-06 21:52
帖子: 34
送出感谢: 0 次
接收感谢: 0 次
安装中文语言支持

引用:
# 打开“语言支持”对话框(见右图)。单击主菜单中的“系统(System) --> 系统管理(Administration) --> 语言支持(language support)”。
# 在“支持的语言”列表中找到“汉语(Chinese)”,在右端打上勾。同时将默认语言修改为“汉语(Chinese)”并勾选“启用复杂字符输入支持(Enable support to enter complex characters)”,点击确定按钮。

Ubuntu 这时会下载并安装语言包。安装完毕之後,当你注销後重新登录,界面就变成中文的了。


安装fcitx

引用:
sudo apt-get install im-switch fcitx
sudo im-switch -s fcitx -z default
im-switch -s fcitx -z default



设置fcitx
引用:
cd ~/.fcitx
sudo gedit config

显示字体(中)=WenQuanYi Zen Hei
显示字体(英)=Courier New
显示字体大小=12
主窗口字体大小=8
字体区域=zh_CN.UTF-8
是否使用AA字体=1
是否使用粗体=1

[输出]
数字後跟半角符号=1
Enter键行为=2
分号键行为=2
大写字母输入英文=1
转换英文中的标点=1
联想方式禁止翻页=1

[界面]
候选词个数=10
主窗口是否使用3D界面=0
输入条使用3D界面=0
主窗口隐藏模式=0
显示虚拟键盘=0
是否自动隐藏输入条=1
输入条是否居中=0
首次显示输入条=1
#输入条固定宽度(仅适用于码表输入法),0表示不固定宽度
输入条固定宽度=0
输入条偏移量X=0
输入条偏移量Y=12
序号後加点=1
显示打字速度=1
显示版本=0
光标色=102 159 66
主窗口背景色=255 255 255
主窗口线条色=203 202 186
主窗口输入法名称色=153 153 153 102 159 66 56 134 230
输入窗背景色=255 255 255
输入窗提示色=2 89 196
输入窗用户输入色=255 0 132
输入窗序号色=0 66 200
输入窗第一个候选字色=0 99 200
#该颜色值只用于拼音中的用户自造词
输入窗用户词组色=0 99 200
输入窗提示编码色=255 0 132
#五笔、拼音的单字/系统词组均使用该颜色
输入窗其它文本色=56 134 230
输入窗线条色=203 202 186
输入窗箭头色=193 227 151
虚拟键盘窗背景色=220 220 220
虚拟键盘窗字母色=80 0 0
虚拟键盘窗符号色=0 0 0
#除了“中英文快速切换键”外,其它的热键均可设置为两个,中间用空格分隔
[热键]
打开/关闭输入法=CTRL_SPACE
#中英文快速切换键 可以设置为L_CTRL R_CTRL L_SHIFT R_SHIFT
中英文快速切换键=L_SHIFT
双击中英文切换=0
击键时间间隔=250
光标跟随=CTRL_K
GBK支持=CTRL_M
GBK繁体切换键=CTRL_ALT_F
联想支持=CTRL_L
反查拼音=CTRL_ALT_E
全半角=SHIFT_SPACE
中文标点=ALT_SPACE
上一页=- ,
下一页== .
第二三候选词选择键=SHIFT

[输入法]
使用拼音=1
使用双拼=0
默认双拼方案=自然码
使用区位=0
使用码表=0
提示词库中的词组=1

[拼音]
使用全拼=0
拼音自动组词=1
保存自动组词=0
增加拼音常用字=CTRL_8
删除拼音常用字=CTRL_7
删除拼音用户词组=CTRL_DELETE
#拼音以词定字键,等号後面紧接键,不要有空格
拼音以词定字键=[]
#重码调整方式说明:0-->不调整 1-->快速调整 2-->按频率调整
拼音单字重码调整方式=2
拼音词组重码调整方式=1
拼音常用词重码调整方式=0
是否模糊an和ang=0
是否模糊en和eng=0
是否模糊ian和iang=0
是否模糊in和ing=0
是否模糊ou和u=0
是否模糊uan和uang=0
是否模糊c和ch=0
是否模糊f和h=0
是否模糊l和n=0
是否模糊s和sh=0
是否模糊z和zh=0



某些情況下可能,在安裝了fcitx輸入法以後可能會出現和SCIM並存的問題,解決方法如下:

引用:
sudo gedit /usr/lib/gtk-2.0/2.10.0/immodule-files.d/scim-gtk2-immodule.immodules

將內容改為如下:

# automatically generated by dh_gtkmodules, do not edit
“/usr/lib/gtk-2.0/2.10.0/immodules/im-scim.so”
“scim” “SCIM Input Method” “scim” “/usr/share/locale” “ja:ko”

#就是將最後一行中的"ja:ko:zh"修改為"ja:ko",這樣修改以後,scim在中文環境下將不被啟動


最后由 xuxin 编辑于 2008-04-29 7:54,总共编辑了 1 次

页首
 用户资料  
 
6 楼 
 文章标题 : 如何使用XP字体进行中文美化
帖子发表于 : 2008-04-21 20:05 

注册: 2007-04-06 21:52
帖子: 34
送出感谢: 0 次
接收感谢: 0 次
拷贝3个字体文件(simsun.ttc tahoma.ttf tahomabd.ttf)到/usr/share/fonts/zh_CN/TrueType

目录, 命令:

引用:
sudo mkdir -p /usr/share/fonts/zh_CN/TrueType/
sudo cp /media/hda1/windows/fonts/simsun.ttc /usr/share/fonts/zh_CN/TrueType/
sudo cp /media/hda1/windows/fonts/tahoma.ttf /usr/share/fonts/zh_CN/TrueType/
sudo cp /media/hda1/windows/fonts/tahomabd.ttf /usr/share/fonts/zh_CN/TrueType/
sudo chmod 644 /usr/share/fonts/zh_CN/TrueType/*
cd /usr/share/fonts/zh_CN/TrueType/
sudo mkfontscale
sudo mkfontdir


更新linux字体列表,命令:

引用:
sudo fc-cache /usr/share/fonts/zh_CN/TrueType/


通过替换/etc/fonts/language-selector.conf来配置字体,只有这么配置後,才能达到美化的效果,不要更改/etc/fonts/fonts.conf。
引用:
gksu gedit /etc/fonts/language-selector.conf


最后由 xuxin 编辑于 2008-04-29 8:07,总共编辑了 2 次

页首
 用户资料  
 
7 楼 
 文章标题 : 安装雅黑字体
帖子发表于 : 2008-04-21 20:08 

注册: 2007-04-06 21:52
帖子: 34
送出感谢: 0 次
接收感谢: 0 次
1.下载后将字体放到 /usr/share/fonts/vista/(怎么下载字体和怎么放到vista目录中不用我教了吧)
2.建立字体缓存信息
代码:
sudo mkfontscale
sudo mkfontdir
sudo fc-cache -fv
3.将附件解压并拷贝配置文件到 /etc/fonts/ 下
4.覆盖local.conf文件
代码:
cd /etc/fonts/conf.avail
sudo cp ../local.conf 51-local.conf #覆盖51-local.conf
5.修改配置文件
代码:
cd /etc/fonts/conf.avail
sudo gedit 69-language-selector-zh-cn.conf
分别在
<string>Bitstream Vera Serif</string>
<string>Bitstream Vera Sans</string>
<string>Bitstream Vera Sans Mono</string>
下添加
代码:
<string>Microsoft YaHei</string>
<string>Segoe UI</string>
6.重启X(ctrl+alt+backspace)


local.conf
引用:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">

<!-- /etc/fonts/local.conf file to configure system-wide font access -->
<fontconfig>
<!--
Target dots per inch.
Uncomment following block and change 96 to your LCD or CRT actual dpi
-->
<match target="pattern" >
<edit name="dpi" mode="assign" >
<double>90</double>
</edit>
</match>

<!--
Enable LCD sub-pixel rendering.

Pay attention, subpixel rendering is exploited only on LCD not CRT.
Enable it will add some color fringing on the edge of font.It is not
always a bad thing,please sit away from your screen further enough
untill you can't observe the fringing.

Some people's LCD subpixel layout that is not rgb order will get
opposite result,there are four patterns horizontal rgb/bgr and
vertical rgb/bgr, but horizontal rgb is the most common.
Change rgb -> yours.

If you are using CRT, you may benefit from it.

If it disturb you or you prefer to the normal grayscale antialiasing,
change rgb -> none and you should also disable it for each place it
appear.

If you are using LCD, i recommand you enable it, or you can't enjoy ClearType-like
looking.
-->
<match target="font" >
<edit name="rgba" mode="assign" >
<const>rgb</const>
</edit>
</match>

<!--
Default Fonts setting for those free fonts that probably have been existed
in your system, e.g. ttf-bitstream-vera and ttf-dejavu etc.
MS Vista fonts will not use this setting.
-->
<match target="font" >
<edit name="antialias" mode="assign" >
<bool>true</bool>
</edit>
<edit name="autohint" mode="assign" >
<bool>true</bool>
</edit>
<edit name="hinting" mode="assign" >
<bool>false</bool>
</edit>
<edit name="hintstyle" mode="assign" >
<const>hintslight</const>
</edit>
</match>

<!--
Mark common families with their generics so we'll get
something reasonable
-->
<!--
Sans-serif faces
-->
<alias>
<family>Segoe UI</family>
<family>Calibri</family>
<family>Candara</family>
<family>Corbel</family>

<!-- vista new Simplified Chinese font -->
<family>Microsoft YaHei</family>
<family>微软雅黑</family>

<!-- vista new Tranditonal Chinese font -->
<family>Microsoft JhengHei</family>
<family>微軟正黑體</family>

<!-- vista new Japanese font -->
<family>Meiryo</family>

<!-- vista new Korean font -->
<family>Malgun Gothic</family>
</alias>

<!--
Serif faces
-->
<alias>
<family>Cambria</family>
<family>Constantina</family>

<family>SimSunNew</family>
<family>宋体New</family>
<family>PMingLiUNew</family>
<family>新細明體New</family>
<default>
<family>serif</family>
</default>
</alias>

<!--
Monospace faces
-->
<alias>
<family>Consolas</family>
<family>Courier New</family>
<default>
<family>monospace</family>
</default>
</alias>

<!--
Provide required aliases for standard names
-->
<alias>
<family>sans-serif</family>
<prefer>
<family>Segoe UI</family>
<family>Calibri</family>
<family>Candara</family>
<family>Corbel</family>
<family>Microsoft YaHei</family>
<family>微软雅黑</family>
<family>Microsoft JhengHei</family>
<family>微軟正黑體</family>
<family>Meiryo</family>
<family>Malgun Gothic</family>
<family>NSimSunNew</family>
<family>宋体New</family>
<family>PMingLiUNew</family>
<family>新細明體New</family>
</prefer>
</alias>
<alias>
<family>serif</family>
<prefer>
<family>Cambria</family>
<family>Constantia</family>
<family>Microsoft YaHei</family>
<family>微软雅黑</family>
<family>Microsoft JhengHei</family>
<family>微軟正黑體</family>
<family>Meiryo</family>
<family>Malgun Gothic</family>
<family>NSimSunNew</family>
<family>宋体New</family>
<family>PMingLiUNew</family>
<family>新細明體New</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Consolas</family>
<family>Microsoft YaHei</family>
<family>微软雅黑</family>
<family>Microsoft JhengHei</family>
<family>微軟正黑體</family>
<family>Courier New</family>
<family>NSimSunNew</family>
<family>宋体New</family>
<family>PMingLiUNew</family>
<family>新細明體New</family>
</prefer>
</alias>

<!--
Load MS core fonts customization file
-->
<include ignore_missing="yes">./ms_vista_english.conf</include>

<!--
Load CJK Asian fonts customization file
-->
<include ignore_missing="yes">./ms_vista_cjk.conf</include>

<!--
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">
<const>medium</const>
</test>
<!-- check to see if the pattern requests bold -->
<test target="pattern" name="weight" compare="more">
<const>medium</const>
</test>
<!--
set the embolden flag
needed for applications using cairo, e.g. gucharmap, gedit, ...
-->
<edit name="embolden" mode="assign" >
<bool>true</bool>
</edit>
<!--
set weight to bold
needed for applications using Xft directly, e.g. Firefox, ...
-->
<edit name="weight" mode="assign">
<const>bold</const>
</edit>
</match>
</fontconfig>



ms_vista_cjk.conf

引用:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">

<!-- /etc/fonts/ms_vista_cjk.conf file to configure Vista CJK font access -->
<fontconfig>

<!--
The dual-width Asian fonts (spacing=dual) are not rendered correctly,
apparently FreeType forces all widths to match. Trying to disable the
width forcing code by setting globaladvance=false alone doesn't help.
As a brute force workaround, also set spacing=proportional, i.e. handle
them as proportional fonts:
-->
<match target="font" >
<test target="pattern" name="lang" compare="contains" >
<string>zh</string>
<string>ja</string>
<string>ko</string>
</test>
<test name="spacing" compare="eq" >
<const>dual</const>
</test>
<edit name="spacing" mode="assign" >
<const>proportional</const>
</edit>
<edit name="globaladvance" mode="assign" >
<bool>false</bool>
</edit>
</match>

<!--
There is a similar problem with dual width bitmap fonts. They don't
have spacing=dual, therefore they are not handled by the above rule
and still display as charcell fonts. For example "Efont Biwidth"
has spacing=mono and "Misc Fixed Wide" has spacing=charcell.
Force handling of these fonts as proportional fonts as well:
-->
<match target="font">
<test name="lang" compare="contains" >
<string>zh</string>
<string>ja</string>
<string>ko</string>
</test>
<test name="outline" compare="eq" >
<bool>false</bool>
</test>
<test name="spacing" compare="eq" >
<const>mono</const>
<const>charcell</const>
</test>
<edit name="spacing">
<const>proportional</const>
</edit>
<edit name="globaladvance" binding="strong" >
<bool>false</bool>
</edit>
</match>

<!--
Vista CJK fonts setting
-->
<!--
Vista new Simplified Chinese font
-->
<match target="font" >
<test qual="any" name="family" compare="eq" >
<string>Microsoft YaHei</string>
<string>微软雅黑</string>
</test>
<edit name="rgba" mode="assign">
<const>rgb</const>
</edit>
<edit name="antialias" mode="assign" >
<bool>true</bool>
</edit>
<edit name="autohint" mode="assign" >
<bool>false</bool>
</edit>
<edit name="hinting" mode="assign" >
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign" >
<const>hintslight</const>
</edit>
</match>

<!--
Vista new Traditional Chinese font
-->
<match target="font" >
<test qual="any" name="family" compare="eq" >
<string>Microsoft JhengHei</string>
<string>微軟正黑體</string>
</test>
<edit name="rgba" mode="assign">
<const>rgb</const>
</edit>
<edit name="antialias" mode="assign" >
<bool>true</bool>
</edit>
<edit name="autohint" mode="assign" >
<bool>false</bool>
</edit>
<edit name="hinting" mode="assign" >
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign" >
<const>hintslight</const>
</edit>
</match>

<!--
Vista new Japanese font
-->
<match target="font" >
<test name="family" compare="eq" >
<string>Meiryo</string>
</test>
<edit name="rgba" mode="assign">
<const>rgb</const>
</edit>
<edit name="antialias" mode="assign" >
<bool>true</bool>
</edit>
<edit name="autohint" mode="assign" >
<bool>false</bool>
</edit>
<edit name="hinting" mode="assign" >
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign" >
<const>hintslight</const>
</edit>
</match>

<!--
Vista new Korean font
-->
<match target="font" >
<test name="family" compare="eq" >
<string>Malgun Gothic</string>
</test>
<edit name="rgba" mode="assign">
<const>rgb</const>
</edit>
<edit name="antialias" mode="assign" >
<bool>true</bool>
</edit>
<edit name="autohint" mode="assign" >
<bool>false</bool>
</edit>
<edit name="hinting" mode="assign" >
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign" >
<const>hintslight</const>
</edit>
</match>

<!--
Terminal font setting
In my opinion, Courier New + simsun/pmingliu is still an ideal combination
-->
<alias>
<family>Courier New</family>
<accept>
<family>SimSunNew</family>
<family>PMingLiUNew</family>
</accept>
</alias>

<!--
Courier New setting
-->
<!--
Courier New Regular
-->
<match target="font" >
<test name="family" >
<string>Courier New</string>
</test>
<test name="weight" compare="eq">
<const>regular</const>
</test>
<test name="slant" compare="eq" >
<const>roman</const>
</test>
<test name="size" compare="more_eq" >
<double>7</double>
</test>
<test name="size" compare="less_eq" >
<double>27</double>
</test>
<edit name="antialias" mode="assign" >
<bool>false</bool>
</edit>
<edit name="autohint" mode="assign" >
<bool>false</bool>
</edit>
<edit name="hinting" mode="assign" >
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign" >
<const>hintslight</const>
</edit>
</match>
<!--
Courier New Bold
-->
<match target="font" >
<test name="family" >
<string>Courier New</string>
</test>
<test name="weight" compare="eq">
<const>bold</const>
</test>
<test name="slant" compare="eq" >
<const>roman</const>
</test>
<test name="size" compare="more_eq" >
<double>7</double>
</test>
<test name="size" compare="less_eq" >
<double>11</double>
</test>
<edit name="antialias" mode="assign" >
<bool>false</bool>
</edit>
<edit name="autohint" mode="assign" >
<bool>false</bool>
</edit>
<edit name="hinting" mode="assign" >
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign" >
<const>hintslight</const>
</edit>
</match>
<!--
Courier New Italic
-->
<match target="font" >
<test name="family" >
<string>Courier New</string>
</test>
<test name="weight" compare="eq">
<const>regular</const>
</test>
<test name="slant" compare="eq" >
<const>italic</const>
</test>
<test name="size" compare="more_eq" >
<double>7</double>
</test>
<test name="size" compare="less_eq" >
<double>27</double>
</test>
<edit name="antialias" mode="assign" >
<bool>false</bool>
</edit>
<edit name="autohint" mode="assign" >
<bool>false</bool>
</edit>
<edit name="hinting" mode="assign" >
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign" >
<const>hintslight</const>
</edit>
</match>
<!--
Courier New Bold Italic
-->
<match target="font" >
<test name="family" >
<string>Courier New</string>
</test>
<test name="weight" compare="eq">
<const>bold</const>
</test>
<test name="slant" compare="eq" >
<const>italic</const>
</test>
<test name="size" compare="more_eq" >
<double>7</double>
</test>
<test name="size" compare="less_eq" >
<double>12</double>
</test>
<edit name="antialias" mode="assign" >
<bool>false</bool>
</edit>
<edit name="autohint" mode="assign" >
<bool>false</bool>
</edit>
<edit name="hinting" mode="assign" >
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign" >
<const>hintslight</const>
</edit>
</match>

<!--
SimSunNew global setting.
-->
<match target="font" >
<test qual="any" name="family" compare="eq" >
<string>SimSunNew</string>
<string>宋体New</string>
</test>
<edit name="rgba" mode="assign" >
<const>rgb</const>
</edit>
<edit name="antialias" mode="assign" >
<bool>true</bool>
</edit>
<edit name="autohint" mode="assign" >
<bool>false</bool>
</edit>
<edit name="hinting" mode="assign" >
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign" >
<const>hintslight</const>
</edit>
</match>

<!--
PMingLiUNew global setting.
-->
<match target="font" >
<test qual="any" name="family" compare="eq" >
<string>PMingLiUNew</string>
<string>新細明體New</string>
</test>
<edit name="rgba" mode="assign" >
<const>rgb</const>
</edit>
<edit name="antialias" mode="assign" >
<bool>true</bool>
</edit>
<edit name="autohint" mode="assign" >
<bool>false</bool>
</edit>
<edit name="hinting" mode="assign" >
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign" >
<const>hintslight</const>
</edit>
</match>

<!--
Enable chinese embedded bitmap fonts.
-->
<!--
SimSunNew embedded bitmap fonts, ppem = 12px, 13px, 14px, 15px, 16px, 18px.
choose as your need
-->
<match target="font" >
<test qual="any" name="family" compare="eq" >
<string>SimSunNew</string>
<string>宋体New</string>
</test>
<test name="pixelsize" compare="more" >
<double>11.5</double>
</test>
<test name="pixelsize" compare="less" >
<double>18.5</double>
</test>
<edit name="antialias" mode="assign" >
<bool>false</bool>
</edit>
</match>
<match target="font" >
<test qual="any" name="family" compare="eq" >
<string>SimSunNew</string>
<string>宋体New</string>
</test>
<test name="pixelsize" compare="more" >
<double>16.5</double>
</test>
<test name="pixelsize" compare="less" >
<double>17.5</double>
</test>
<edit name="antialias" mode="assign" >
<bool>true</bool>
</edit>
</match>

<!--
PMingLiUNew embeded bitmap fonts, ppem = 11px, 12px, 13px, 15px, 16px, 20px
choose as your need
-->
<match target="font" >
<test qual="any" name="family" compare="eq" >
<string>PMingLiUNew</string>
<string>新細明體New</string>
</test>
<test name="pixelsize" compare="more" >
<double>10.5</double>
</test>
<test name="pixelsize" compare="less" >
<double>16.5</double>
</test>
<edit name="antialias" mode="assign" >
<bool>false</bool>
</edit>
</match>
<match target="font" >
<test qual="any" name="family" compare="eq" >
<string>PMingLiUNew</string>
<string>新細明體New</string>
</test>
<test name="pixelsize" compare="more" >
<double>13.5</double>
</test>
<test name="pixelsize" compare="less" >
<double>14.5</double>
</test>
<edit name="antialias" mode="assign" >
<bool>true</bool>
</edit>
</match>
<match target="font" >
<test qual="any" name="family" compare="eq" >
<string>PMingLiUNew</string>
<string>新細明體New</string>
</test>
<test name="pixelsize" compare="more" >
<double>19.5</double>
</test>
<test name="pixelsize" compare="less" >
<double>20.5</double>
</test>
<edit name="antialias" mode="assign" >
<bool>false</bool>
</edit>
</match>
</fontconfig>



ms_vista_english.conf

引用:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">

<!-- /etc/fonts/ms_vista_english.conf file to configure Vista english font access -->
<fontconfig>

<!--
Alias three well known Adobe font names to MS Vista fonts.
These substitute TrueType faces for similar Type1 faces to improve
screen appearance.
-->
<alias>
<family>Helvetica</family>
<prefer>
<family>Segoe UI</family>
</prefer>
<default>
<family>sans-serif</family>
</default>
</alias>
<alias>
<family>Times</family>
<prefer>
<family>Cambria</family>
</prefer>
<default>
<family>serif</family>
</default>
</alias>
<alias>
<family>Courier</family>
<prefer>
<family>Consolas</family>
</prefer>
<default>
<family>monospace</family>
</default>
</alias>

<!--
Do the same trick to three well known web font names.
They are MS core fonts.
-->
<alias>
<family>Arial</family>
<prefer>
<family>Segoe UI</family>
</prefer>
<default>
<family>sans-serif</family>
</default>
</alias>
<alias>
<family>Times New Roman</family>
<prefer>
<family>Cambria</family>
</prefer>
<default>
<family>serif</family>
</default>
</alias>
<alias>
<family>Courier New</family>
<prefer>
<family>Consolas</family>
</prefer>
<default>
<family>monospace</family>
</default>
</alias>

<!--
Vista new english fonts
-->
<!--
Sans-Serif
-->
<match target="font" >
<test name="family" compare="eq" >
<string>Segoe UI</string>
</test>
<edit name="rgba" mode="assign">
<const>rgb</const>
</edit>
<edit name="antialias" mode="assign" >
<bool>true</bool>
</edit>
<edit name="autohint" mode="assign" >
<bool>false</bool>
</edit>
<edit name="hinting" mode="assign" >
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign" >
<const>hintslight</const>
</edit>
</match>
<match target="font" >
<test name="family" compare="eq" >
<string>Calibri</string>
</test>
<edit name="rgba" mode="assign">
<const>rgb</const>
</edit>
<edit name="antialias" mode="assign" >
<bool>true</bool>
</edit>
<edit name="autohint" mode="assign" >
<bool>false</bool>
</edit>
<edit name="hinting" mode="assign" >
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign" >
<const>hintslight</const>
</edit>
</match>
<match target="font" >
<test name="family" compare="eq" >
<string>Candara</string>
</test>
<edit name="rgba" mode="assign">
<const>rgb</const>
</edit>
<edit name="antialias" mode="assign" >
<bool>true</bool>
</edit>
<edit name="autohint" mode="assign" >
<bool>false</bool>
</edit>
<edit name="hinting" mode="assign" >
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign" >
<const>hintslight</const>
</edit>
</match>
<match target="font" >
<test name="family" compare="eq" >
<string>Corbel</string>
</test>
<edit name="rgba" mode="assign">
<const>rgb</const>
</edit>
<edit name="antialias" mode="assign" >
<bool>true</bool>
</edit>
<edit name="autohint" mode="assign" >
<bool>false</bool>
</edit>
<edit name="hinting" mode="assign" >
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign" >
<const>hintslight</const>
</edit>
</match>

<!--
Serif
-->
<match target="font" >
<test name="family" compare="eq" >
<string>Cambria</string>
</test>
<edit name="rgba" mode="assign">
<const>rgb</const>
</edit>
<edit name="antialias" mode="assign" >
<bool>true</bool>
</edit>
<edit name="autohint" mode="assign" >
<bool>false</bool>
</edit>
<edit name="hinting" mode="assign" >
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign" >
<const>hintslight</const>
</edit>
</match>
<match target="font" >
<test qual="any" name="family" compare="eq" >
<string>Constantia</string>
</test>
<edit name="rgba" mode="assign">
<const>rgb</const>
</edit>
<edit name="antialias" mode="assign" >
<bool>true</bool>
</edit>
<edit name="autohint" mode="assign" >
<bool>false</bool>
</edit>
<edit name="hinting" mode="assign" >
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign" >
<const>hintslight</const>
</edit>
</match>

<!--
Monospace
-->
<match target="font" >
<test qual="any" name="family" compare="eq" >
<string>Consolas</string>
</test>
<edit name="rgba" mode="assign">
<const>rgb</const>
</edit>
<edit name="antialias" mode="assign" >
<bool>true</bool>
</edit>
<edit name="autohint" mode="assign" >
<bool>false</bool>
</edit>
<edit name="hinting" mode="assign" >
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign" >
<const>hintslight</const>
</edit>
</match>
</fontconfig>



最后由 xuxin 编辑于 2008-04-29 8:23,总共编辑了 1 次

页首
 用户资料  
 
8 楼 
 文章标题 : 3D界面
帖子发表于 : 2008-04-21 20:08 

注册: 2007-04-06 21:52
帖子: 34
送出感谢: 0 次
接收感谢: 0 次
引用:
sudo apt-get install avant-window-navigator awn-manager -y
sudo apt-get install compiz compiz-bcop compizconfig-settings-manager compiz-core compiz-fusion-plugins-main compiz-fusion-plugins-extra compiz-gnome compiz-plugins libcompizconfig0 libdecoration0 python-compizconfig emerald -y
sudo apt-get install screenlets


Compiz Config 备份
引用:


[ezoom]
as_zoom_in = <Super>Button4
as_zoom_in_key = Disabled
as_zoom_out = <Super>Button5
as_zoom_out_key = Disabled
as_center_mouse = <Super>c
as_zoom_specific_1 = <Super>1
as_zoom_spec1 = 1.000000
as_zoom_specific_2 = <Super>2
as_zoom_spec2 = 0.500000
as_zoom_specific_3 = <Super>3
as_zoom_spec3 = 0.200000
as_spec_target_focus = true
as_lock_zoom = <Super>l
as_pan_left = Disabled
as_pan_right = Disabled
as_pan_up = Disabled
as_pan_down = Disabled
as_fit_to_zoom = <Super>v
as_fit_to_window = <Super>r
s0_zoom_factor = 1.150000
s0_sync_mouse = true
s0_scale_mouse = false
s0_hide_original_mouse = false
s0_restrain_mouse = false
s0_mouse_pan = false
s0_restrain_margin = 5
s0_mouse_poll_interval = 10
s0_pan_factor = 0.100000
s0_follow_focus = true
s0_focus_fit_window = false
s0_always_focus_fit_window = false
s0_follow_focus_delay = 1
s0_speed = 25.000000
s0_timestep = 1.200000
s0_filter_linear = true

[resize]
as_initiate_normal_key = Disabled
as_initiate_outline_key = Disabled
as_initiate_rectangle_key = Disabled
as_initiate_stretch_key = Disabled
as_initiate_button = <Alt>Button2
as_initiate_key = <Alt>F8
as_mode = 2
as_border_color = #2f2f4f9f
as_fill_color = #2f2f4f4f
as_normal_match =
as_outline_match =
as_rectangle_match =
as_stretch_match =

[screenshot]
as_initiate_button = <Super>Button1
as_directory = Desktop
as_launch_app =

[loginout]
s0_in_match = (iclass=^ksplash)
s0_in_time = 1.000000
s0_in_saturation = 0.000000
s0_in_brightness = 100.000000
s0_in_opacity = 100.000000
s0_out_match = (class=Ksmserver & (role=logoutdialog | role=logouteffect)) | (class=Libssui-tool & type=Dialog)
s0_out_time = 1.000000
s0_out_saturation = 0.000000
s0_out_brightness = 100.000000
s0_out_opacity = 100.000000

[opacify]
as_toggle_key = <Super>o
as_toggle_reset = true
as_timeout = 700
as_init_toggle = true
s0_only_if_block = false
s0_focus_instant = false
s0_no_delay_change = false
s0_window_match = Normal | Dialog | ModalDialog | Utility | Toolbar | Fullscreen
s0_active_opacity = 100
s0_passive_opacity = 10

[animation]
s0_close_effects = 12;9;9;
s0_close_durations = 200;150;150;
s0_close_matches = ((type=Normal | Unknown) | name=sun-awt-X11-XFramePeer | name=sun-awt-X11-XDialogPeer) & !(role=toolTipTip | role=qtooltip_label) & !(type=Normal & override_redirect=1) & !(name=gnome-screensaver);(type=Menu | PopupMenu | DropdownMenu | Dialog | ModalDialog | Normal);(type=Tooltip | Notification | Utility);
s0_close_options = ;;;
s0_close_random_effects = 0;1;2;3;4;5;6;7;8;9;10;11;12;13;14;15;16;17;18;19;
s0_open_effects = 11;9;9;
s0_open_durations = 200;150;150;
s0_open_matches = ((type=Normal | Unknown) | name=sun-awt-X11-XFramePeer | name=sun-awt-X11-XDialogPeer) & !(role=toolTipTip | role=qtooltip_label) & !(type=Normal & override_redirect=1) & !(name=gnome-screensaver);(type=Menu | PopupMenu | DropdownMenu | Dialog | ModalDialog | Normal);(type=Tooltip | Notification | Utility);
s0_open_options = ;;;
s0_open_random_effects = 0;1;2;3;4;5;6;7;8;9;10;11;12;13;14;15;16;17;18;19;
s0_minimize_effects = 19;
s0_minimize_durations = 300;
s0_minimize_matches = (type=Normal | Dialog | ModalDialog | Unknown);
s0_minimize_options = ;
s0_minimize_random_effects = 0;1;2;3;4;5;6;7;8;9;10;11;12;13;14;15;16;17;
s0_shade_effects = 4;
s0_shade_durations = 300;
s0_shade_matches = (type=Normal | Dialog | ModalDialog | Utility | Unknown);
s0_shade_options = ;
s0_shade_random_effects = 0;1;2;
s0_focus_effects = 2;
s0_focus_durations = 150;
s0_focus_matches = (type=Normal | Dialog | ModalDialog | Utility | Unknown);
s0_focus_options = ;
s0_airplane_path_length = 1.000000
s0_airplane_fly_to_taskbar = true
s0_fire_particles = 1000
s0_fire_size = 5.000000
s0_fire_slowdown = 0.500000
s0_fire_life = 0.700000
s0_fire_color = #ff3305ff
s0_fire_direction = 0
s0_fire_constant_speed = false
s0_fire_smoke = false
s0_fire_mystical = false
s0_beam_size = 8.000000
s0_beam_spacing = 5
s0_beam_color = #7f7f7fff
s0_beam_slowdown = 1.000000
s0_beam_life = 0.700000
s0_glide1_away_position = 1.000000
s0_glide1_away_angle = 0.000000
s0_glide1_thickness = 0.000000
s0_glide1_zoom_to_taskbar = false
s0_glide2_away_position = -0.400000
s0_glide2_away_angle = -45.000000
s0_glide2_thickness = 0.000000
s0_glide2_zoom_to_taskbar = true
s0_zoom_from_center = 0
s0_zoom_springiness = 0.000000
s0_rollup_fixed_interior = false
s0_sidekick_num_rotations = 0.500000
s0_sidekick_springiness = 0.000000
s0_sidekick_zoom_from_center = 0
s0_dodge_gap_ratio = 0.500000
s0_dream_zoom_to_taskbar = true
s0_wave_width = 0.700000
s0_wave_amp = 0.030000
s0_magic_lamp_moving_end = true
s0_magic_lamp_grid_res = 100
s0_magic_lamp_max_waves = 3
s0_magic_lamp_amp_min = 200.000000
s0_magic_lamp_amp_max = 300.000000
s0_magic_lamp_open_start_width = 30
s0_vacuum_moving_end = true
s0_vacuum_grid_res = 100
s0_vacuum_open_start_width = 30
s0_curved_fold_amp = 0.150000
s0_curved_fold_zoom_to_taskbar = true
s0_horizontal_folds_amp = 0.070000
s0_horizontal_folds_num_folds = 3
s0_horizontal_folds_zoom_to_taskbar = true
s0_domino_direction = 5
s0_razr_direction = 5
s0_explode_gridx = 13
s0_explode_gridy = 10
s0_explode_thickness = 15.000000
s0_explode_tessellation = 0
s0_fold_gridx = 3
s0_fold_gridy = 3
s0_fold_dir = 1
s0_skewer_direction = 8
s0_skewer_tessellation = 0
s0_skewer_gridx = 6
s0_skewer_gridy = 4
s0_skewer_thickness = 1.000000
s0_skewer_rotation = 0
s0_all_random = false
s0_time_step = 10
s0_time_step_intense = 30

[imgjpeg]
as_quality = 80

[cubecaps]
as_top_next_key = space
as_top_next_button = Disabled
as_top_prev_key = Disabled
as_top_prev_button = Disabled
as_bottom_next_key = Disabled
as_bottom_next_button = Disabled
as_bottom_prev_key = Disabled
as_bottom_prev_button = Disabled
s0_draw_top = true
s0_draw_bottom = true
s0_adjust_top = false
s0_adjust_bottom = false
s0_scale_top_image = false
s0_scale_bottom_image = false
s0_clamp_top_to_border = true
s0_clamp_bottom_to_border = true
s0_top_color = #ffffffff
s0_bottom_color = #ffffffff
s0_top_images = fusioncap.png;
s0_bottom_images = compizcap.png;

[rotate]
as_initiate_button = <Control><Alt>Button1
as_rotate_left_key = <Control><Alt>Left
as_rotate_left_button = Disabled
as_rotate_right_key = <Control><Alt>Right
as_rotate_right_button = Disabled
as_rotate_left_window_key = <Shift><Control><Alt>Left
as_rotate_left_window_button = Disabled
as_rotate_right_window_key = <Shift><Control><Alt>Right
as_rotate_right_window_button = Disabled
as_edge_flip_pointer = false
as_edge_flip_window = true
as_edge_flip_dnd = true
as_flip_time = 350
as_rotate_to_1_key = Disabled
as_rotate_to_2_key = Disabled
as_rotate_to_3_key = Disabled
as_rotate_to_4_key = Disabled
as_rotate_to_5_key = Disabled
as_rotate_to_6_key = Disabled
as_rotate_to_7_key = Disabled
as_rotate_to_8_key = Disabled
as_rotate_to_9_key = Disabled
as_rotate_to_10_key = Disabled
as_rotate_to_11_key = Disabled
as_rotate_to_12_key = Disabled
as_rotate_to_1_window_key = Disabled
as_rotate_to_2_window_key = Disabled
as_rotate_to_3_window_key = Disabled
as_rotate_to_4_window_key = Disabled
as_rotate_to_5_window_key = Disabled
as_rotate_to_6_window_key = Disabled
as_rotate_to_7_window_key = Disabled
as_rotate_to_8_window_key = Disabled
as_rotate_to_9_window_key = Disabled
as_rotate_to_10_window_key = Disabled
as_rotate_to_11_window_key = Disabled
as_rotate_to_12_window_key = Disabled
as_rotate_to_key = Disabled
as_rotate_window_key = Disabled
as_rotate_flip_left_edge = Left
as_rotate_flip_right_edge = Right
as_raise_on_rotate = false
s0_invert_y = false
s0_sensitivity = 1.000000
s0_acceleration = 4.600000
s0_snap_top = false
s0_snap_bottom = false
s0_speed = 1.400000
s0_timestep = 1.000000
s0_zoom = 0.160000

[widget]
as_toggle_key = F9
as_toggle_button = Disabled
as_toggle_edge =
s0_match =
s0_end_on_click = true
s0_fade_time = 0.500000
s0_bg_brightness = 50
s0_bg_saturation = 100

[shelf]
as_trigger_key = <Super>l
as_reset_key = Disabled
as_triggerscreen_key = <Super>p
as_dec_button = <Alt><Super>Button4
as_inc_button = <Alt><Super>Button5
as_animtime = 150
as_interval = 0.900000

[scale]
as_initiate_edge =
as_initiate_key = <Shift><Alt>Up
as_initiate_button = Disabled
as_initiate_all_edge =
as_initiate_all_button = Disabled
as_initiate_all_key = Disabled
as_initiate_group_edge =
as_initiate_group_button = Disabled
as_initiate_group_key = Disabled
as_initiate_output_edge =
as_initiate_output_button = Disabled
as_initiate_output_key = Disabled
as_show_desktop = true
s0_spacing = 10
s0_speed = 1.500000
s0_timestep = 1.200000
s0_window_match = Toolbar | Utility | Dialog | Normal | Unknown
s0_darken_back = true
s0_opacity = 75
s0_overlay_icon = 1
s0_hover_time = 750
s0_multioutput_mode = 0

[workarounds]
as_legacy_fullscreen = true
as_firefox_menu_fix = true
as_ooo_menu_fix = true
as_notification_daemon_fix = true
as_java_fix = true
as_qt_fix = true
as_aiglx_fragment_fix = true
as_fglrx_xgl_fix = false
as_sticky_alldesktops = false
as_alldesktop_sticky_match = any

[crashhandler]
as_enabled = true
as_directory = /tmp
as_start_wm = false
as_wm_cmd =

[blur]
as_pulse = false
s0_blur_speed = 3.500000
s0_focus_blur_match = toolbar | menu | utility | normal | dialog | modaldialog
s0_focus_blur = false
s0_alpha_blur_match =
s0_alpha_blur = true
s0_filter = 0
s0_gaussian_radius = 3
s0_gaussian_strength = 1.000000
s0_mipmap_lod = 2.500000
s0_saturation = 100
s0_occlusion = true
s0_independent_tex = false

[fadedesktop]
s0_fadetime = 500
s0_window_match = Toolbar | Utility | Dialog | Normal | Unknown

[scalefilter]
s0_timeout = 0
s0_filter_case_insensitive = false
s0_filter_display = true
s0_font_bold = true
s0_font_size = 24
s0_border_size = 5
s0_font_color = #ffffffff
s0_back_color = #00000099

[switcher]
as_next_button = Disabled
as_next_key = <Alt>Tab
as_prev_button = Disabled
as_prev_key = <Shift><Alt>Tab
as_next_all_button = Disabled
as_next_all_key = <Control><Alt>Tab
as_prev_all_button = Disabled
as_prev_all_key = <Shift><Control><Alt>Tab
as_next_no_popup_button = Disabled
as_next_no_popup_key = Disabled
as_prev_no_popup_button = Disabled
as_prev_no_popup_key = Disabled
s0_speed = 1.500000
s0_timestep = 1.200000
s0_window_match = Toolbar | Utility | Dialog | Normal | Unknown
s0_mipmap = true
s0_saturation = 100
s0_brightness = 65
s0_opacity = 95
s0_bring_to_front = true
s0_zoom = 0.000000
s0_icon = true
s0_minimized = true
s0_auto_rotate = false

[minimize]
s0_speed = 1.500000
s0_timestep = 0.500000
s0_window_match = toolbar | utility | dialog | normal
s0_shade_resistance = 75

[maximumize]
as_ignore_sticky = true
as_ignore_overlapping = false
as_trigger_key = <Super>m

[thumbnail]
s0_thumb_size = 200
s0_show_delay = 100
s0_border = 16
s0_thumb_color = #0000007f
s0_fade_speed = 0.500000
s0_current_viewport = true
s0_always_on_top = true
s0_window_like = true
s0_mipmap = false
s0_title_enabled = true
s0_font_bold = true
s0_font_size = 12
s0_font_color = #000000ff

[put]
as_put_viewport_1_key = Disabled
as_put_viewport_2_key = Disabled
as_put_viewport_3_key = Disabled
as_put_viewport_4_key = Disabled
as_put_viewport_5_key = Disabled
as_put_viewport_6_key = Disabled
as_put_viewport_7_key = Disabled
as_put_viewport_8_key = Disabled
as_put_viewport_9_key = Disabled
as_put_viewport_10_key = Disabled
as_put_viewport_11_key = Disabled
as_put_viewport_12_key = Disabled
as_put_viewport_left_key = Disabled
as_put_viewport_right_key = Disabled
as_put_viewport_up_key = Disabled
as_put_viewport_down_key = Disabled
as_put_center_key = <Super>KP_Begin
as_put_center_button = Disabled
as_put_left_key = <Super>KP_Left
as_put_left_button = Disabled
as_put_right_key = <Super>KP_Right
as_put_right_button = Disabled
as_put_top_key = <Super>KP_Up
as_put_top_button = Disabled
as_put_bottom_key = <Super>KP_Down
as_put_bottom_button = Disabled
as_put_topleft_key = <Super>KP_Home
as_put_topleft_button = Disabled
as_put_topright_key = <Super>KP_Prior
as_put_topright_button = Disabled
as_put_bottomleft_key = <Super>KP_End
as_put_bottomleft_button = Disabled
as_put_bottomright_key = <Super>KP_Next
as_put_bottomright_button = Disabled
as_put_restore_key = <Super>KP_Insert
as_put_restore_button = Disabled
as_put_pointer_key = <Super>z
as_put_pointer_button = Disabled
s0_pad_left = 0
s0_pad_right = 0
s0_pad_top = 0
s0_pad_bottom = 0
s0_unfocus_window = false
s0_window_center = false
s0_avoid_offscreen = false
s0_speed = 2.500000
s0_timestep = 0.500000

[notification]
as_timeout = -1
as_max_log_level = 1

[splash]
as_initiate_key = <Control>F11
as_firststart = true
as_background = splash_background.png
as_logo = splash_logo.png
as_fade_time = 1.000000
as_display_time = 2.000000
as_saturation = 50.000000
as_brightness = 50.000000

[cubereflex]
s0_ground_color1 = #b3b3b3cc
s0_ground_color2 = #b3b3b300
s0_ground_size = 0.500000
s0_intensity = 0.400000
s0_auto_zoom = true
s0_zoom_manual_only = true
s0_mode = 0

[showdesktop]
s0_speed = 1.200000
s0_timestep = 0.100000
s0_direction = 6
s0_window_match = type=toolbar | type=utility | type=dialog | type=normal
s0_window_opacity = 0.300000
s0_window_part_size = 20

[place]
s0_workarounds = true
s0_mode = 2
s0_position_matches =
s0_position_x_values =
s0_position_y_values =
s0_viewport_matches =
s0_viewport_x_values =
s0_viewport_y_values =

[mblur]
as_initiate_key = <Control>F12
s0_mode = 0
s0_strength = 20.000000
s0_on_transformed_screen = false

[annotate]
as_initiate_button = <Alt><Super>Button1
as_erase_button = <Alt><Super>Button3
as_clear_key = <Alt><Super>k
as_clear_button = Disabled
as_fill_color = #ff0000ff
as_stroke_color = #00ff00ff
as_line_width = 3.000000
as_stroke_width = 1.000000

[colorfilter]
as_toggle_window_key = <Super>f
as_toggle_screen_key = <Super>d
as_switch_filter_key = <Control><Super>s
s0_filters = negative;negative-green;blueish-filter;sepia;grayscale;
s0_filter_decorations = false
s0_filter_match = any
s0_exclude_match = type=Desktop

[decoration]
as_shadow_radius = 9.000000
as_shadow_opacity = 0.500000
as_shadow_color = #00000000
as_shadow_x_offset = 1
as_shadow_y_offset = 1
as_command = /usr/bin/compiz-decorator
as_mipmap = false
as_decoration_match = any
as_shadow_match = any

[extrawm]
as_toggle_redirect_key = Disabled
as_toggle_fullscreen_key = Disabled
as_toggle_always_on_top_key = Disabled
as_toggle_sticky_key = Disabled

[resizeinfo]
as_fade_time = 500
as_always_show = false
as_text_color = #000000ff
as_gradient_1 = #cccce6cc
as_gradient_2 = #f3f3f3cc
as_gradient_3 = #d9d9d9cc

[video]
as_yv12 = true

[wall]
as_show_switcher = true
as_miniscreen = false
as_preview_timeout = 0.400000
as_edge_radius = 5
as_outline_color = #333333d9
as_background_gradient_base_color = #cccce6d9
as_background_gradient_highlight_color = #f3f3ffd9
as_background_gradient_shadow_color = #f3f3ffd9
as_thumb_gradient_base_color = #33333359
as_thumb_gradient_highlight_color = #3f3f3f3f
as_thumb_highlight_gradient_base_color = #fffffff3
as_thumb_highlight_gradient_shadow_color = #dfdfdfa6
as_arrow_base_color = #e6e6e6d9
as_arrow_shadow_color = #dcdcdcd9
as_allow_wraparound = false
as_slide_duration = 0.300000
as_left_key = <Control><Alt>Left
as_left_button = Disabled
as_right_key = <Control><Alt>Right
as_right_button = Disabled
as_up_key = <Control><Alt>Up
as_up_button = Disabled
as_down_key = <Control><Alt>Down
as_down_button = Disabled
as_next_key = Disabled
as_next_button = Disabled
as_prev_key = Disabled
as_prev_button = Disabled
as_left_window_key = <Shift><Control><Alt>Left
as_right_window_key = <Shift><Control><Alt>Right
as_up_window_key = <Shift><Control><Alt>Up
as_down_window_key = <Shift><Control><Alt>Down
as_flip_left_edge = Left
as_flip_right_edge = Right
as_flip_up_edge = Top
as_flip_down_edge = Bottom
s0_mmmode = 0
s0_edgeflip_pointer = false
s0_edgeflip_move = true
s0_edgeflip_dnd = false

[scaleaddon]
as_close_key = Disabled
as_close_button = Button2
as_zoom_key = Disabled
as_zoom_button = Button3
s0_window_title = 1
s0_title_bold = false
s0_title_size = 10
s0_border_size = 3
s0_font_color = #ffffffff
s0_back_color = #00000099
s0_window_highlight = false
s0_highlight_color = #ffffff96
s0_layout_mode = 0

[mousepoll]
as_mouse_poll_interval = 10

[winrules]
s0_skiptaskbar_match =
s0_skippager_match =
s0_above_match =
s0_below_match =
s0_sticky_match =
s0_fullscreen_match =
s0_no_argb_match =
s0_no_move_match =
s0_no_resize_match =
s0_no_minimize_match =
s0_no_maximize_match =
s0_no_close_match =
s0_no_focus_match =
s0_size_matches =
s0_size_width_values =
s0_size_height_values =

[shift]
as_initiate_key = <Shift><Super>s
as_initiate_button = Disabled
as_initiate_edge =
as_initiate_all_key = Disabled
as_initiate_all_button = Disabled
as_initiate_all_edge = BottomLeft
as_terminate_button = Button3
as_next_key = <Super>Tab
as_next_button = Disabled
as_prev_key = <Shift><Super>Tab
as_prev_button = Disabled
as_next_all_key = <Alt><Super>Tab
as_next_all_button = Disabled
as_prev_all_key = <Shift><Alt><Super>Tab
as_prev_all_button = Disabled
as_next_group_key = Disabled
as_next_group_button = Disabled
as_prev_group_key = Disabled
as_prev_group_button = Disabled
s0_speed = 1.500000
s0_shift_speed = 1.000000
s0_timestep = 1.200000
s0_window_match = Normal | Dialog | ModalDialog | Utility | Unknown
s0_minimized = true
s0_mouse_speed = 10.000000
s0_click_duration = 500
s0_mode = 1
s0_size = 50
s0_background_intensity = 0.500000
s0_hide_all = false
s0_reflection = true
s0_ground_color1 = #b3b3b3cc
s0_ground_color2 = #b3b3b300
s0_ground_size = 0.500000
s0_intensity = 0.400000
s0_flip_rotation = 30
s0_cover_offset = 0.000000
s0_overlay_icon = 1
s0_mipmaps = false
s0_multioutput_mode = 0
s0_window_title = true
s0_title_font_bold = false
s0_title_font_size = 16
s0_title_back_color = #00000099
s0_title_font_color = #ffffffff
s0_title_text_placement = 2

[water]
as_initiate_key = <Control><Super>
as_toggle_rain_key = <Shift>F9
as_toggle_wiper_key = <Shift>F8
as_offset_scale = 1.000000
as_rain_delay = 250
as_title_wave = false

[3d]
s0_window_match = Toolbar | Utility | Dialog | Normal | Unknown
s0_min_cube_size = 60
s0_max_window_space = 10
s0_speed = 0.200000
s0_manual_only = true
s0_width = 0.300000
s0_bevel = 0
s0_width_color = #333333ff
s0_width_color_inactive = #333333ff
s0_bevel_topleft = true
s0_bevel_topright = true
s0_bevel_bottomleft = false
s0_bevel_bottomright = false

[plane]
as_plane_left_key = <Control><Alt>Left
as_plane_right_key = <Control><Alt>Right
as_plane_down_key = <Control><Alt>Down
as_plane_up_key = <Control><Alt>Up
as_plane_to_1_key = Disabled
as_plane_to_2_key = Disabled
as_plane_to_3_key = Disabled
as_plane_to_4_key = Disabled
as_plane_to_5_key = Disabled
as_plane_to_6_key = Disabled
as_plane_to_7_key = Disabled
as_plane_to_8_key = Disabled
as_plane_to_9_key = Disabled
as_plane_to_10_key = Disabled
as_plane_to_11_key = Disabled
as_plane_to_12_key = Disabled

[session]
as_save_legacy = false

[wobbly]
as_snap_key = <Shift>
as_snap_inverted = true
as_shiver = false
s0_friction = 4.000000
s0_spring_k = 10.000000
s0_grid_resolution = 8
s0_min_grid_size = 8
s0_map_effect = 0
s0_focus_effect = 0
s0_map_window_match = Splash | DropdownMenu | PopupMenu | Tooltip | Notification | Combo | Dnd | Unknown
s0_focus_window_match =
s0_grab_window_match =
s0_move_window_match = Toolbar | Menu | Utility | Dialog | Normal | Unknown
s0_maximize_effect = true

[fs]
as_mount_point = compiz

[firepaint]
as_initiate_key = Disabled
as_initiate_button = <Shift><Super>Button1
as_clear_key = <Shift><Super>c
as_clear_button = Disabled
s0_num_particles = 3000
s0_fire_size = 15.000000
s0_fire_slowdown = 0.500000
s0_fire_life = 0.700000
s0_fire_color = #ff3305ff
s0_fire_mystical = false
s0_bg_brightness = 50

[bench]
as_initiate_key = <Super>F12
as_disable_limiter = true
as_output_screen = true
as_position_x = 0
as_position_y = 0
as_output_console = false
as_console_update_time = 5

[reflex]
s0_file = reflection.png
s0_match = any
s0_window = false
s0_decoration = true
s0_threshold = 1
s0_moving = true

[zoom]
as_initiate_button = <Super>Button3
as_zoom_in_button = <Super>Button4
as_zoom_out_button = <Super>Button5
as_zoom_pan_button = <Super>Button2
s0_speed = 1.500000
s0_timestep = 1.200000
s0_zoom_factor = 2.000000
s0_filter_linear = false

[clone]
as_initiate_button = <Shift><Super>Button1

[vpswitch]
as_begin_key = Disabled
as_switch_to_1_key = Disabled
as_switch_to_2_key = Disabled
as_switch_to_3_key = Disabled
as_switch_to_4_key = Disabled
as_switch_to_5_key = Disabled
as_switch_to_6_key = Disabled
as_switch_to_7_key = Disabled
as_switch_to_8_key = Disabled
as_switch_to_9_key = Disabled
as_switch_to_10_key = Disabled
as_switch_to_11_key = Disabled
as_switch_to_12_key = Disabled
as_left_button = Disabled
as_right_button = Disabled
as_up_button = Disabled
as_down_button = Disabled
as_next_button = Button5
as_prev_button = Button4
as_initiate_button = Button2
as_init_plugin = rotate
as_init_action = initiate_button

[showmouse]
as_initiate = <Super>k
s0_num_particles = 500
s0_size = 10.000000
s0_slowdown = 1.000000
s0_life = 0.700000
s0_darken = 0.900000
s0_blend = true
s0_color = #ffdf3fff
s0_random = false
s0_rotation_speed = 0.500000
s0_radius = 100
s0_emiters = 3

[move]
as_initiate_button = <Alt>Button1
as_initiate_key = <Alt>F7
as_opacity = 100
as_constrain_y = true
as_snapoff_maximized = true
as_lazy_positioning = true

[neg]
as_window_toggle_key = <Super>n
as_screen_toggle_key = <Super>m
s0_neg_match = any
s0_exclude_match = type=Desktop

[core]
as_active_plugins = resize;imgjpeg;text;workarounds;png;place;extrawm;resizeinfo;video;mousepoll;dbus;shift;session;svg;vpswitch;move;neg;core;regex;ring;decoration;snap;animation;fade;cube;cubecaps;rotate;scale;scalefilter;cubereflex;scaleaddon;showmouse;expo;ezoom;switcher;
as_texture_filter = 1
as_click_to_focus = true
as_autoraise = false
as_autoraise_delay = 500
as_edge_delay = 0
as_close_window_key = <Alt>F4
as_close_window_button = Disabled
as_main_menu_key = <Alt>F1
as_run_key = <Alt>F2
as_command0 =
as_command1 =
as_command2 =
as_command3 =
as_command4 =
as_command5 =
as_command6 =
as_command7 =
as_command8 =
as_command9 =
as_command10 =
as_command11 =
as_run_command0_key = Disabled
as_run_command1_key = Disabled
as_run_command2_key = Disabled
as_run_command3_key = Disabled
as_run_command4_key = Disabled
as_run_command5_key = Disabled
as_run_command6_key = Disabled
as_run_command7_key = Disabled
as_run_command8_key = Disabled
as_run_command9_key = Disabled
as_run_command10_key = Disabled
as_run_command11_key = Disabled
as_slow_animations_key = Disabled
as_raise_window_key = Disabled
as_raise_window_button = <Control>Button6
as_lower_window_key = Disabled
as_lower_window_button = <Alt>Button6
as_unmaximize_window_key = <Alt>F5
as_minimize_window_key = <Alt>F9
as_minimize_window_button = Disabled
as_maximize_window_key = <Alt>F10
as_maximize_window_horizontally_key = Disabled
as_maximize_window_vertically_key = Disabled
as_opacity_increase_button = <Alt>Button4
as_opacity_decrease_button = <Alt>Button5
as_command_screenshot = gnome-screenshot
as_run_command_screenshot_key = Print
as_command_window_screenshot = gnome-screenshot --window
as_run_command_window_screenshot_key = <Alt>Print
as_window_menu_button = <Alt>Button3
as_window_menu_key = <Alt>space
as_show_desktop_key = <Control><Alt>d
as_show_desktop_edge =
as_raise_on_click = true
as_audible_bell = true
as_toggle_window_maximized_key = Disabled
as_toggle_window_maximized_button = Disabled
as_toggle_window_maximized_horizontally_key = Disabled
as_toggle_window_maximized_vertically_key = Disabled
as_hide_skip_taskbar_windows = true
as_toggle_window_shaded_key = Disabled
as_ignore_hints_when_maximized = true
as_command_terminal = gnome-terminal
as_run_command_terminal_key = Disabled
as_cursor_theme = Human
as_cursor_size = 18
as_ping_delay = 5000
s0_detect_refresh_rate = true
s0_lighting = true
s0_refresh_rate = 50
s0_hsize = 4
s0_vsize = 1
s0_opacity_step = 10
s0_unredirect_fullscreen_windows = true
s0_default_icon = icon
s0_sync_to_vblank = false
s0_number_of_desktops = 1
s0_detect_outputs = true
s0_outputs = 640x480+0+0;
s0_overlapping_outputs = 0
s0_focus_prevention_level = 1
s0_focus_prevention_match = any
s0_opacity_matches = dropdownMenu;popupMenu;
s0_opacity_values = 85;85;
s0_texture_compression = true

[fade]
s0_fade_speed = 5.000000
s0_window_match = any
s0_visual_bell = false
s0_fullscreen_visual_bell = true
s0_minimize_open_close = true

[mag]
as_initiate = <Super>m
as_zoom_in_button = <Shift><Super>Button4
as_zoom_out_button = <Shift><Super>Button5
s0_mode = 0
s0_zoom_factor = 2.000000
s0_speed = 1.500000
s0_timestep = 1.200000
s0_keep_screen = true
s0_box_width = 300
s0_box_height = 200
s0_border = 2
s0_box_color = #000000ff
s0_overlay = Gnome/overlay.png
s0_mask = Gnome/mask.png
s0_x_offset = 155
s0_y_offset = 155
s0_radius = 200

[bs]
as_saturation_increase_key = Disabled
as_saturation_increase_button = <Control><Alt>Button4
as_saturation_decrease_key = Disabled
as_saturation_decrease_button = <Control><Alt>Button5
as_brightness_increase_key = Disabled
as_brightness_increase_button = <Shift><Alt>Button4
as_brightness_decrease_key = Disabled
as_brightness_decrease_button = <Shift><Alt>Button5
s0_brightness_step = 5
s0_saturation_step = 5
s0_saturation_matches =
s0_saturation_values =
s0_brightness_matches =
s0_brightness_values =

[addhelper]
as_toggle_key = <Super>p
as_window_types = Toolbar | Utility | Dialog | ModalDialog | Fullscreen | Normal
as_brightness = 30
as_saturation = 50
as_opacity = 100

[cube]
as_unfold_key = <Control><Alt>Down
as_next_slide_key = space
as_prev_slide_key = Disabled
s0_color = #cdbe70ff
s0_in = false
s0_scale_image = false
s0_images =
s0_skydome = false
s0_skydome_image =
s0_skydome_animated = false
s0_skydome_gradient_start_color = #0db1fdff
s0_skydome_gradient_end_color = #feffc7ff
s0_acceleration = 4.000000
s0_speed = 1.500000
s0_timestep = 1.200000
s0_mipmap = true
s0_backgrounds =
s0_adjust_image = false
s0_active_opacity = 50.000000
s0_inactive_opacity = 100.000000
s0_transparent_manual_only = true
s0_multioutput_mode = 0

[group]
as_select_button = Disabled
as_select_single_key = <Super>s
as_group_key = <Super>g
as_ungroup_key = <Super>u
as_remove_key = <Super>r
as_close_key = <Super>c
as_ignore_key = <Super>x
as_tabmode_key = <Super>t
as_change_tab_left_key = <Super>Left
as_change_tab_right_key = <Super>Right
as_change_color_key = Disabled
s0_move_all = true
s0_resize_all = false
s0_raise_all = true
s0_maximize_unmaximize_all = false
s0_minimize_all = true
s0_shade_all = false
s0_auto_group = false
s0_auto_ungroup = true
s0_window_match = Toolbar | Utility | Dialog | Normal | Unknown
s0_select_opacity = 80
s0_select_saturation = 20
s0_select_brightness = 70
s0_select_precision = 25
s0_fill_color = #00000055
s0_line_color = #000000ab
s0_mipmaps = false
s0_untab_on_close = false
s0_autotab_create = false
s0_tabbar_show_delay = 0.400000
s0_tabbing_speed = 1.200000
s0_tabbing_timestep = 1.500000
s0_fade_time = 0.200000
s0_pulse_time = 0.600000
s0_reflex_time = 0.500000
s0_fade_text_time = 0.250000
s0_visibility_time = 0.500000
s0_change_animation_time = 0.500000
s0_bar_animations = true
s0_thumb_size = 96
s0_thumb_space = 5
s0_border_radius = 10
s0_border_width = 1
s0_tab_base_color = #00000099
s0_tab_border_color = #000000ab
s0_tab_highlight_color = #ffffff99
s0_tab_style = 0
s0_tabbar_font_size = 12
s0_tabbar_font_color = #ffffffff
s0_dnd_ungroup_window = true
s0_drag_hover_time = 0.500000
s0_drag_spring_k = 8.000000
s0_drag_friction = 35.000000
s0_drag_y_distance = 400
s0_drag_speed_limit = 800
s0_glow = true
s0_glow_size = 64
s0_glow_type = 0

[trailfocus]
s0_window_match = (type=toolbar | type=utility | type=dialog | type=normal) & !(state=skiptaskbar | state=skippager)
s0_windows_count = 5
s0_windows_start = 2
s0_max_opacity = 100
s0_min_opacity = 70
s0_max_brightness = 100
s0_min_brightness = 100
s0_max_saturation = 100
s0_min_saturation = 100

[ring]
as_next_key = <Super>Tab
as_next_button = Disabled
as_prev_key = <Shift><Super>Tab
as_prev_button = Disabled
as_next_all_key = <Super>w
as_next_all_button = Disabled
as_prev_all_key = Disabled
as_prev_all_button = Disabled
as_next_group_key = Disabled
as_next_group_button = Disabled
as_prev_group_key = Disabled
as_prev_group_button = Disabled
s0_speed = 1.500000
s0_timestep = 1.200000
s0_inactive_opacity = 100
s0_window_match = Normal | Dialog | ModalDialog | Utility | Unknown
s0_overlay_icon = 1
s0_darken_back = true
s0_minimized = true
s0_select_with_mouse = false
s0_ring_clockwise = false
s0_ring_width = 70
s0_ring_height = 60
s0_thumb_width = 350
s0_thumb_height = 250
s0_min_brightness = 0.500000
s0_min_scale = 0.400000
s0_window_title = true
s0_title_font_bold = false
s0_title_font_size = 16
s0_title_back_color = #00000099
s0_title_font_color = #ffffffff
s0_title_text_placement = 0

[snap]
as_avoid_snap = 0;
s0_snap_type = 0;
s0_edges_categories = 0;1;
s0_resistance_distance = 30
s0_attraction_distance = 20

[expo]
as_expo_key = <Super>e
as_expo_button = Disabled
as_expo_edge = TopLeft
as_double_click_time = 500
as_dnd_button = Button1
as_exit_button = Button3
as_next_vp_button = Button5
as_prev_vp_button = Button4
as_zoom_time = 0.500000
as_expo_immediate_move = false
as_expo_animation = 0
as_deform = 1
as_distance = 0.000000
as_vp_distance = 0.100000
as_aspect_ratio = 1.000000
as_curve = 0.500000
as_hide_docks = true
as_mipmaps = false
as_multioutput_mode = 0
as_vp_brightness = 75.000000
as_vp_saturation = 100.000000
as_reflection = true
as_ground_color1 = #b3b3b3cc
as_ground_color2 = #b3b3b300
as_ground_size = 0.500000
as_scale_factor = 0.750000


最后由 xuxin 编辑于 2008-04-29 8:29,总共编辑了 2 次

页首
 用户资料  
 
9 楼 
 文章标题 : 重装XP后,导致ubuntu不能启动,恢复grub
帖子发表于 : 2008-04-21 20:20 

注册: 2007-04-06 21:52
帖子: 34
送出感谢: 0 次
接收感谢: 0 次
这部分参考wiki
http://wiki.ubuntu.org.cn/RecoveringUbu ... ingWindows
重裝windows後無法進入ubuntu?看这里。
http://forum.ubuntu.org.cn/viewtopic.ph ... highlight=

引用:
在命令行下键入:
dd if=/dev/hda of=/media/hda5/bootsect.lnx bs=512 count=1(将MBR记录备份到D盘,最好拷贝到U盘或软盘找个地方存放起来)。
然后将bootsect.lnx文件拷到C盘根目录,编辑boot.ini文件,在最后加入一行:
c:\bootsect.lnx="ubuntu".



引用:
最简单的方法,我正在用
1、复制一个grldr到C盘
2、在boot.ini里添加C:\grldr=ubuntu
3、把原来ubuntu里的menu.lst也复制过来。可以用live cd进去弄出来,或者提前备份一个。
OK了。



引用:
1. Pop in the Live CD, boot from it until you reach the desktop.
2. Open a terminal window or switch to a tty.
3. Type "grub"
4. Type "root (hd0,6)", or whatever your harddisk + boot partition numbers are (my /boot is at /dev/sda7, which translates to hd0,6 for grub).
5. Type "setup (hd0)", ot whatever your harddisk nr is.
6. Quit grub by typing "quit".
7. Reboot.


最后由 xuxin 编辑于 2008-04-21 21:00,总共编辑了 1 次

页首
 用户资料  
 
10 楼 
 文章标题 : 备份系统
帖子发表于 : 2008-04-21 20:33 

注册: 2007-04-06 21:52
帖子: 34
送出感谢: 0 次
接收感谢: 0 次
系统备份/恢复
###为了避免整体备份过程中到误差,建议逐个文件夹备份/恢复###

http://wiki.ubuntu.org.cn/BackupYourSystem

整体备份
[高压缩比使用 tar cvpjf backup.tar.bz2]
引用:
sudo su
cd /
tar cvpzf backup.tgz / --exclude=/proc --exclude=/lost+found --exclude=/backup.tgz --exclude=/mnt --exclude=/sys --exclude=/media

整体恢复
引用:
tar xvpfz backup.tgz -C /

mkdir /proc /lost+found /mnt /sys /media


如果你使用 bz2:
tar xvpfj backup.tar.bz2 -C /
警告:这会把你分区里所有文件替换成压缩文档里的文件!
确保在你做其他任何事情之前,重新创建你剔除的目录:
引用:
mkdir proc
mkdir lost+found
mkdir mnt
mkdir sys
mkdir media

重启……


页首
 用户资料  
 
11 楼 
 文章标题 : 安装wine
帖子发表于 : 2008-04-21 22:01 

注册: 2007-04-06 21:52
帖子: 34
送出感谢: 0 次
接收感谢: 0 次
安装 wine
引用:
wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -

sudo wget http://wine.budgetdedicated.com/apt/sou ... hardy.list -O /etc/apt/sources.list.d/winehq.list

sudo apt-get update

sudo apt-get install wine



初始设置
由于 X locale 的问题, 默认 wine 会轮询 x core fonts ,使得 wine 很慢,请先执行::

引用:
sudo sed -i -e '/GBK/,/^}/d' /usr/share/X11/locale/zh_CN.UTF-8/XLC_LOCALE



修改 wine 外观

默认的 wine 字体、主题、颜色等不太合适,可以用这 [Hiweed] 的 wine 配置 新建一个文本文件 hiweed_green_color.reg 写入::
引用:
REGEDIT4
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Hardware Profiles\Current\Software\Fonts]
"FIXEDFON.FON"=""
"FONTS.FON"=""
"LogPixels"=dword:00000060
"OEMFONT.FON"=""
[HKEY_CURRENT_USER\Software\\Wine\\Fonts\\Replacements]
@="AR PL ShanHeiSun Uni"
"Arial"="AR PL ShanHeiSun Uni"
"Fixedsys"="AR PL ShanHeiSun Uni"
"Microsoft Sans Serif"="AR PL ShanHeiSun Uni"
"MingLiU"="AR PL ShanHeiSun Uni"
"MS UI Gothic"="AR PL ShanHeiSun Uni"
"PMingLiU"="AR PL ShanHeiSun Uni"
"Simsun"="AR PL ShanHeiSun Uni"
"Songti"="AR PL ShanHeiSun Uni"
"System"="AR PL ShanHeiSun Uni"
"Tahoma"="AR PL ShanHeiSun Uni"
"Terminal"="AR PL ShanHeiSun Uni"
"宋体"="文鼎PL细上海宋Uni"
[HKEY_CURRENT_USER\Software\\Wine\\X11 Driver]
"ClientSideAntiAliasWithRender"="N"
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]
"MS Shell Dlg"="文鼎PL细上海宋Uni"
"MS Shell Dlg 2"="文鼎PL细上海宋Uni"
"System"="AR PL ShanHeiSun Uni"
[HKEY_CURRENT_USER\Control Panel\\Colors]
"ActiveBorder"="239 235 230"
"ActiveTitle"="0 153 11"
"AppWorkspace"="128 128 128"
"Background"="58 110 165"
"ButtonAlternateFace"="180 180 180"
"ButtonDkShadow"="64 64 64"
"ButtonFace"="232 227 221"
"ButtonHilight"="255 255 255"
"ButtonLight"="239 235 230"
"ButtonShadow"="128 128 128"
"ButtonText"="0 0 0"
"GradientActiveTitle"="166 202 240"
"GradientInactiveTitle"="192 192 192"
"GrayText"="128 128 128"
"Hilight"="0 153 11"
"HilightText"="255 255 255"
"HotTrackingColor"="0 0 255"
"InactiveBorder"="192 192 192"
"InactiveTitle"="232 227 221"
"InactiveTitleText"="0 0 0"
"InfoText"="0 0 0"
"InfoWindow"="255 255 225"
"Menu"="232 227 221"
"MenuBar"="232 227 221"
"MenuHilight"="0 0 0"
"MenuText"="0 0 0"
"Scrollbar"="239 235 230"
"TitleText"="255 255 255"
"Window"="255 255 255"
"WindowFrame"="0 0 0"
"WindowText"="0 0 0"


再用 regedit 导入这个 reg , 执行::

引用:
regedit hiweed_green_color.reg


页首
 用户资料  
 
12 楼 
 文章标题 :
帖子发表于 : 2008-04-21 22:35 

注册: 2007-12-31 11:31
帖子: 42
送出感谢: 0 次
接收感谢: 0 次
支持lz分享
smplayer比较好用~


页首
 用户资料  
 
13 楼 
 文章标题 : mldonky安装
帖子发表于 : 2008-04-23 11:59 

注册: 2007-04-06 21:52
帖子: 34
送出感谢: 0 次
接收感谢: 0 次
安装
引用:
sudo apt-get install mldonkey-server mldonkey-gui


设置:这里以网页界面为例。
引用:
ED2K-force_client_high_id:true。
ED2K-max_connected_servers:50(这个随便了,虽然最后只会稳定在几个而已)。
ED2K-port:不一定非要设置,但有些路由器需要端口映射,那么就需要修改这个了。
client_name:也许你想设置成[CHN][VeryCD]xxx之类的,虽然我从没觉得有用过。
max_hard_download_rate:按你的带宽修改,单位是KB/s。
max_hard_upload_rate:20应该够了吧。
max_indirect_connections:这个范围是30-70,如果你想要更多的连接,可以修改高一点。
max_opened_connections:这个最大可以到924,理由同上。
temp_directory:放临时文件的地方,比如/media/disk/downloads/temp。下面的方法也可以改。
allowed_ips 127.0.0.1
allow_local_network true


修改下载路径:
引用:
修改~/.mldonkey/downloads.ini,找到“section: path”,然后修改成如:
引用:
{ dirname = "/media/disk/downloads"
strategy = incoming_files
priority = 0
};
请改成你要的下载路径。


引用:
修改downloads.ini:找到web_infos,把server.met换成你要的,比如 http://www.emule.org.cn/server.met,删除 guarding.p2p", 96, "http://www.bluetack.co.uk/config/level1.gz,这个东西会封掉很多有用的尤其是国内的serve
r。

安装firefox扩展,以关联ed2k、bt等(目前不兼容)。
解压后的mldoneky-distrib-xxx/ed2k_mozilla/文件夹下有个mldonkey_protocol_handler-xx.xpi,把它拖到fx窗口选择安装。重启后就可以双击MLdonkey Protocal Handler这个扩展设置关联了。
引用:
用浏览器管理mldonkey,地址是 http://localhost:4080/



下载sancho-0.9.4-58-linux-gtk-java.sh
引用:
sudo sh sancho-0.9.4-58-linux-gtk-java.sh
设置中文:工具-首选项-一般-本地


页首
 用户资料  
 
14 楼 
 文章标题 : 缺少公钥问题的解决方法
帖子发表于 : 2008-04-25 8:15 

注册: 2007-04-06 21:52
帖子: 34
送出感谢: 0 次
接收感谢: 0 次
症状:
代码:
sudo apt-get update
W: GPG error: http://apt.tt-solutions.com dapper Release: 由于没有公钥,下列签名无法进行验证: NO_PUBKEY 06EA41DE4F6C1E86



解决方法:
代码:
gpg --keyserver subkeys.pgp.net --recv 4F6C1E86
gpg --export --armor 4F6C1E86 | sudo apt-key add -



说明:
若缺少其他公钥,则将命令中两处4F6C1E86改为NO_PUBKEY 06EA41DE4F6C1E86中最后8位即可!


页首
 用户资料  
 
15 楼 
 文章标题 :
帖子发表于 : 2008-04-26 9:10 
头像

注册: 2008-03-15 13:44
帖子: 58
地址: 西安外国语大学
送出感谢: 0 次
接收感谢: 0 次
请问楼主,我下载 了 firefox-3.0b5.tar.bz2 不会安装。请教安装过程。。。


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 19 篇帖子 ]  前往页数 1, 2  下一页

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 1 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译