您的位置:首页 > 其它

新手加油站(四)—-ubuntu系统基本设置

2011-01-19 00:00 337 查看
上一期http://bentutu.com/?p=48中,我们介绍了Ubuntu如何联网。今天我们着重介绍如何对Ubuntu系统进行基本设置,包括以下几个方面的内容:
1.升级源设定
2.显卡驱动升级,安装Compiz,制作特效
3.中文输入法安装
4.主题美化
—-安装主题,化身Mac
—-Conky配置

1.升级源设定
软件经常更新,我们也需要安装更新,这样才能保证系统新鲜和安全。但并不是所有的更新都有利于你对系统的体验,大部分还是好的。比如,系统版本的升级,你可得小心一些了,半路出个差错,就得挂掉。你想要安装新版系统,我建议您还是全新安装最畅快,时间也花不了多少,系统是全新的,用起来也爽,半新不新,依我看,不咋样,只是个人体验,也可以自己尝试一下,这最重要。好,升级源必须针对你所使用的版本设定相应的源,否则,更新不了,后果难以预料,反正我没有试过,哈哈。言归正传,步骤:
No.1选择源,你可以到网络搜搜。这里我以Ubuntu10.10源设定为例,给大家讲解。源有台湾的、教育网的、163的、搜狐的、欧洲官方源、成都市电子科技大学的、上海交大的等等。如下:
Archive.ubuntu.com更新服务器(欧洲,此为官方源,电信网通用户使用):
debhttp://archive.ubuntu.com/ubuntu/maverickmainrestricteduniversemultiversedebhttp://archive.ubuntu.com/ubuntu/maverick-securitymainrestricteduniversemultiversedebhttp://archive.ubuntu.com/ubuntu/maverick-updatesmainrestricteduniversemultiversedebhttp://archive.ubuntu.com/ubuntu/maverick-proposedmainrestricteduniversemultiversedebhttp://archive.ubuntu.com/ubuntu/maverick-backportsmainrestricteduniversemultiversedeb-srchttp://archive.ubuntu.com/ubuntu/maverickmainrestricteduniversemultiversedeb-srchttp://archive.ubuntu.com/ubuntu/maverick-securitymainrestricteduniversemultiversedeb-srchttp://archive.ubuntu.com/ubuntu/maverick-updatesmainrestricteduniversemultiversedeb-srchttp://archive.ubuntu.com/ubuntu/maverick-proposedmainrestricteduniversemultiversedeb-srchttp://archive.ubuntu.com/ubuntu/maverick-backportsmainrestricteduniversemultiverse
骨头兄亲自搭建并维护这个Ubuntu源(该源位于浙江杭州百兆共享宽带的电信机房):
debhttp://ubuntu.srt.cn/ubuntu/maverickmainrestricteduniversemultiversedebhttp://ubuntu.srt.cn/ubuntu/maverick-securitymainrestricteduniversemultiversedebhttp://ubuntu.srt.cn/ubuntu/maverick-updatesmainrestricteduniversemultiversedebhttp://ubuntu.srt.cn/ubuntu/maverick-proposedmainrestricteduniversemultiversedebhttp://ubuntu.srt.cn/ubuntu/maverick-backportsmainrestricteduniversemultiversedeb-srchttp://ubuntu.srt.cn/ubuntu/maverickmainrestricteduniversemultiversedeb-srchttp://ubuntu.srt.cn/ubuntu/maverick-securitymainrestricteduniversemultiversedeb-srchttp://ubuntu.srt.cn/ubuntu/maverick-updatesmainrestricteduniversemultiversedeb-srchttp://ubuntu.srt.cn/ubuntu/maverick-proposedmainrestricteduniversemultiversedeb-srchttp://ubuntu.srt.cn/ubuntu/maverick-backportsmainrestricteduniversemultiverse
网易163更新服务器:
debhttp://mirrors.163.com/ubuntu/maverickmainrestricteduniversemultiversedebhttp://mirrors.163.com/ubuntu/maverick-securitymainrestricteduniversemultiversedebhttp://mirrors.163.com/ubuntu/maverick-updatesmainrestricteduniversemultiversedebhttp://mirrors.163.com/ubuntu/maverick-proposedmainrestricteduniversemultiversedebhttp://mirrors.163.com/ubuntu/maverick-backportsmainrestricteduniversemultiversedeb-srchttp://mirrors.163.com/ubuntu/maverickmainrestricteduniversemultiversedeb-srchttp://mirrors.163.com/ubuntu/maverick-securitymainrestricteduniversemultiversedeb-srchttp://mirrors.163.com/ubuntu/maverick-updatesmainrestricteduniversemultiversedeb-srchttp://mirrors.163.com/ubuntu/maverick-proposedmainrestricteduniversemultiversedeb-srchttp://mirrors.163.com/ubuntu/maverick-backportsmainrestricteduniversemultiverse
中国台湾台湾大学更新服务器(推荐网通用户使用,电信PING平均响应速度41MS。强烈推荐此源,比较完整,较少出现同步问题):
debhttp://ubuntu.csie.ntu.edu.tw/ubuntu/maverickmainrestricteduniversemultiversedeb-srchttp://ubuntu.csie.ntu.edu.tw/ubuntu/maverickmainrestricteduniversemultiversedebhttp://ubuntu.csie.ntu.edu.tw/ubuntu/maverick-updatesmainrestricteduniversemultiversedeb-srchttp://ubuntu.csie.ntu.edu.tw/ubuntu/maverick-updatesmainrestricteduniversemultiversedebhttp://ubuntu.csie.ntu.edu.tw/ubuntu/maverick-backportsmainrestricteduniversemultiversedeb-srchttp://ubuntu.csie.ntu.edu.tw/ubuntu/maverick-backportsmainrestricteduniversemultiversedebhttp://ubuntu.csie.ntu.edu.tw/ubuntu/maverick-securitymainrestricteduniversemultiversedeb-srchttp://ubuntu.csie.ntu.edu.tw/ubuntu/maverick-securitymainrestricteduniversemultiversedebhttp://ubuntu.csie.ntu.edu.tw/ubuntu/maverick-proposedmainmultiverserestricteduniversedeb-srchttp://ubuntu.csie.ntu.edu.tw/ubuntu/maverick-proposedmainrestricteduniversemultiverse
等等,在此不一一列举了。
No.2备份源列表
sudocp/etc/apt/sources.list/etc/apt/sources.list_backup
No.3用编辑器vim或gedit打开源列表
sudogedit/etc/apt/sources.list
用上述所选定的源代替你在该文件里看到的所有东东,一定不要害怕啊!!我杀~~~
替换完毕,Ctrl+S保存或点击“保存”即可,退出文件编辑。
No.4升级源列表
sudoapt-getupdate
好,我们第一个任务完成,恭喜~~~自己给自己一个微笑吧,或者大笑,哈哈~很简单吧,我们开始第二个任务,加油~

2.显卡驱动升级,安装Compiz,制作特效
不用费很大力气,升级显卡驱动并不是一件很难的事情!
打开面板“系统—-系统管理—附加驱动”,之后出现以下界面:



等待片刻,出现



我们选择推荐的选项,然后“激活“即可。注意,需要重启,系统会提示你的~
重启之后,我们开始配置特效了。这是很多同学期待的效果,比如神灯特效,爆炸特效,燃烧特效,纸飞机特效,水滴效果,下雪效果……这些特效都是Windows难以企及的。这些特效,对我来说皆浮云,其实华丽的是外表,在华丽的深处是广大LInux人的努力,开放、协作、自由精神的驱动,使得Linux的发展蒸蒸日上~
步骤:
1.其实升级显卡就已经为我们制造特效作为先前的工作。右键—-更改桌面背景—视觉效果,选择扩展,这样是不是有什么感觉了?很有感,这只是初步~~



2.安装compizconfig-settings-manager(以下简称ccsm),咱们以后的特效设置就全靠它啦~~
打开终端,命令安装:

sudoapt-getinstallcompizconfig-settings-manager

或在Ubuntu软件中心,搜索compiz,得好几个结果,安装Compiz,高级桌面效果设置(ccsm),CompizFusionIcon,SimpleCompizConfigSettingsManager.这几个都安装上就行。

安上之后,设置开机启动

打开“系统–首选项—启动应用程序”,出现下面的窗口,





点击添加,如图所示添加选项即可。这样compiz就开机启动,特效也就启动了。
就绪后,打开“系统–首选项—CompizConfig设置管理器”,如下图,可看好了,特效均在此完成哟~~



各位同学,哥们姐们呀,特效不胜数,还是自己摆弄摆弄吧。我不愿意剥夺你的想象力和创造力。先自己搞搞,实在弄不出了,谷歌一下就行了。其实,作为老手,很多东东不应该全部和盘托出,这对哥们姐们的动手能力实在是一大危害,好心不经意间办成坏事,您说是不是这个理?自己给力,才是真的给力~~我只是引导一下,具体操作恕鄙人~~~
3.中文输入法安装
Linux中文输入法不像搜狗那般很流畅,不过设置好了,将就一伙。

对了,这里提醒大家,可能上网之后,就下载QQ.exe,搜狗输入法exe进行安装,这是不可以的。Ubuntu下软件包格式是.deb,不是.exe。

这里给出输入法的总结(参考ubuntuwiki,感谢):
Ubuntu上的输入法有Fcitx、ibus(中文环境默认输入法),以及被淘汰的scim(和衍生品scim-python)、旧版本sunpinyin(可以作为ibus模块,也支持OSX)。其中SCIM、IBus是输入法框架,都是世界开发者共同维护的————起步都是中国开发者。
不甚流行的firefox输入法扩展fireinput火输。
还有非主流的非自由开源软件,比如智能ABC(仅授权特定国内Linux厂商使用)、搜狗云输入法、QQ云输入法等。
Ubuntuwiki写的很好,总结的也很全,鄙人就不在此班门弄斧,啊哈哈~~见笑了:)
大家参考上述资料即可!!

4.主题美化
—-安装主题,化身Mac
—-Conky配置
(1).安装主题,化身Mac



效果如何?呵呵~~(窃喜:>)
这个过程只需几行命令即可,别急~
项目主页下载http://sourceforge.net/projects/macbuntu/
下载,解压,切换到文件目录,运行命令:

sudo./install.sh

提示:
很简单吧,注意一个问题,安装该主题后,可能冒号不太好使,乱码.
还有,安装时选有一个语言选项
1*latin
2Chinese
千万别选2,选2的话悲剧了(默认选1即可),不要不相信,自己非得尝试啊~~
如何,哈哈,恭喜恭喜恭喜~~~~
还有更爽的,看图,



哥们,咋样?哈哈~



嗯,有点啧啧称赞了~呀,看步骤安装:
这是NautilusElementary,现已更新。咱们可以在Ubuntu10.10添加PPA中安装NautilusElementary:

sudoadd-apt-repositoryppa:am-monkeyd/nautilus-elementary-ppa
sudoapt-getupdate
sudoapt-getupgrade

F7打开终端,F4激活[b]ClutterView。试试吧~~不可错过!![/b]
[b](2)—-Conky配置[/b]
见过有的桌面右边侧栏显示计算机信息的东东嘛?看起来很酷,现在咱们也能。它的名字叫做Conky,我查了查这个词,中文意思是“大鼻子,大鼻子的人”,看起来很好看吗,和东东不太符合。不过没关系,看图吧,



上图是前几天我翻译的一个帖子中的http://bentutu.com/?p=448,还有主题自己下载安装。
打开终端,命令:

sudoapt-getinstallconky

安装之后,如不进行美化,很丑陋啊,看图



我们开始进行配置:
No.1Conky安装后不会为当前用户创建配置文件,而是使用系统级默认配置文件,这时候需要使用下列命令手动生成当前用户的配置文件:

zcat/usr/share/doc/conky/examples/conkyrc.sample.gz>~/.conkyrc

No.2编辑.conkyrc文件,在主目录下Ctrl+h显示隐藏文件,找到该文件打开编辑,或者命令行下

gedit~/.conkyrc

现在可以把在网络上搜索的conky配置复制进去了,比如

backgroundyes
use_xftyes
xftfontZecton:size=8
xftalpha0.5
update_interval1.0
total_run_times0
double_bufferyes
no_buffersno
own_windowyes
own_window_transparentyes
own_window_typeoverride
own_window_hintsundecorate,sticky,skip_taskbar,skip_pager
minimum_size5005
maximum_width200
draw_shadesyes
draw_outlineno
draw_bordersno
default_colorlightgrey
alignmenttop_right
gap_x15
gap_y50
uppercaseno
override_utf8_localeyes
TEXT
${colorwhite}${fontPizzaDudeBullets:size=16}V${font:size=10}Date&Time$hr$font$color
${goto1000}${time%l:%M}${font}${time%p}
${time%A,%e%B%Y}
${colorwhite}${fontOpenLogos:size=18}I${font:size=10}SYSTEM$hr$font
$color$font$sysname:${alignr}$kernel($machine)
$colorBattery:${alignr}$battery_time
${colorwhite}${fontStyleBats:size=16}V${font:size=10}CPU$hr$font$color
$color${font}CPU@${freq}MHz:${cpucpu1}%${alignr}${cpubarcpu18,60}
$color${topname1}$alignr${topcpu1}%
$color${topname2}$alignr${topcpu2}%
${colorwhite}${fontStyleBats:size=16}E${font:size=10}MEMORY$hr$font$color
${color}${font}RAM:$mem/$memmax$alignr$memperc%
$color${membar}
${color}${font}Swap:$swap/$swapmax$alignr$swapperc%
$color${swapbar}
$color${top_memname1}$alignr${top_memmem1}%
$color${top_memname2}$alignr${top_memmem2}%
${colorwhite}${fontPizzaDudeBullets:size=16}K${font:size=10}HDD$hr$font$color
$colorroot:${fs_used/}/${fs_size/}$alignr${fs_free_perc/}%
$color${fs_bar/}
$colorhome:${fs_used/home}/${fs_size/home}$alignr${fs_free_perc/home}%
$color${fs_bar/home}
$colorwindows:${fs_used/media/sda1}/${fs_size/media/sda1}$alignr${fs_free_perc/media/sda1}%
$color${fs_bar/home}
$colorstuff:${fs_used/media/sda5}/${fs_size/media/sda5}$alignr${fs_free_perc/media/sda5}%
$color${fs_bar/home}
${colorwhite}${fontPizzaDudeBullets:size=16}@${font:size=10}NETWORK$hr$font$color
$colorLocalIP:$alignr${addrwlan0}
$colorPublicIP:$alignr${execi1~/.conky/ip.sh}
$colorDownload:${downspeedfwlan0}KB/s$alignr${totaldownwlan0}
$colorUpload:${upspeedfwlan0}KB/s$alignr${totalupwlan0}

复制进去,保存,按住Alt+F2键,输入conky,显示结果咋样?:-)
你还可以设置天气,邮件,RSS阅读,等等。麻雀虽小,功能嘎嘎的~更多功能,更多精彩,自己来~
——————————————————————————————
wow~~终于完成这一美化专题了,各位看了感觉怎样,若不痛快淋漓,那就自己探索,我不可能也不愿意把所有的东东都说给各位,那样我很累得,各位自己也没什么好奇心了,是吧?
————————————————————————————————————————————————

下一期,我们专题着重给大家推荐常用软件和常见问题解决方案,敬请期待~~

————————————————————————————————————————————————
本文由Bentutu.com倾情编辑,转载注明出处'target='_blank'>http://bentutu.com/?p=465深夜了,洗洗睡吧~~(*^__^*)嘻嘻……

在此感谢Bentutu.com的各位编辑同学们的大力协助和辛勤努力,我相信本期的专题会对Ubuntu新手有很大的帮助,各位顶起来~~~~
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: